OpenGL packages

Jan C. Meyer janchris at stud.ntnu.no
Sun May 1 13:29:22 PDT 2005


Hello, Jose.

> I want to do OpenGL programming under my FreeBSD 5.4-RC3 system, but i
> am not able to find what packages i must have installed.
> Any kind of help, please?.

If you have X11 in place, everything is probably already there, you just need 
to link to the right libraries.

I compile my OpenGL stuff thusly:
gcc -I/usr/X11R6/include -L/usr/X11R6/lib -lglut -lGL -lpthread -lm \
-o glprogram glprogram.c

Should work for you too.

Cheers,
 -Jan Christian


More information about the freebsd-questions mailing list