Results 1 to 1 of 1
I am new to linux and openGL programming. i copied an example program and tried compiling it. But there's an error whle linking... Can anyone please help?
Code:
[narayana@localhost OpenGL]$ ...
- 07-09-2005 #1Just Joined!
- Join Date
- Apr 2005
- Location
- India
- Posts
- 11
openGL glut problem
I am new to linux and openGL programming. i copied an example program and tried compiling it. But there's an error whle linking... Can anyone please help?
Here're the contents of ld.so.conf:Code:[narayana@localhost OpenGL]$ make quad g++ -lpthread -lglut -lGLU -lGL -lm -lXi -lX11 -lXmu -lXext quad.cc -o quad /usr/bin/ld: cannot find -lglut collect2: ld returned 1 exit status make: *** [quad] Error 1
I find the following files in /usr/X11R6/libCode:[narayana@localhost OpenGL]$ cat /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/X11R6/lib /usr/lib/qt3/lib /usr/lib/wine /usr/i486-linux-libc5/lib
and /usr/X11R6/include/GL contains glut.hCode:[narayana@localhost lib]$ ls /usr/X11R6/lib/libglut* /usr/X11R6/lib/libglut.la* /usr/X11R6/lib/libglut.so.3@ /usr/X11R6/lib/libglut.so@ /usr/X11R6/lib/libglut.so.3.7.1*
I'm using Mandriva LE 2005 and i installed glut etc from the CDs.
Please help.
-_-


Reply With Quote
