Skip to main content

Thread: Freeglut3: where are the lib files?


hello everybody,

i'm trying use program using opengl. think makefile can find freeglut opengl header files, not library files. whatever think, here errors prints out when tell make. appreciated!

code:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | file jjviewer generated. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gcc -o jjviewer object/array.o object/default.o object/display.o object/init.o object/keyboard.o object/main.o object/memory.o object/mouse.o object/read.o object/write.o -lm -l/usr/lib -l/usr/local/lib -lglut -lglu -lgl -ltiff /usr/bin/ld: cannot find -lglu /usr/bin/ld: cannot find -lgl collect2: ld returned 1 exit status make: *** [jjviewer] error 1
i think these problem lines in makefile:

code:
cflags          = -o -i$(incpath) -i$(srcpath) -i/usr/include -i/usr/include/gl -i/usr/local/include -dlinux lflags          = -lm -l/usr/lib -l/usr/local/lib -lglut -lglu -lgl -ltiff



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [xubuntu] Freeglut3: where are the lib files?


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account