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!
i think these problem lines in makefile: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
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
closed, duplicate here: http://ubuntuforums.org/showthread.php?t=1907561
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [xubuntu] Freeglut3: where are the lib files?
Ubuntu
Comments
Post a Comment