[freespace2] error compiling

zakk zakk at timedoctor.org
Thu Jul 25 20:16:42 EDT 2002


On Thu, 2002-07-25 at 20:11, daniel wrote:
> Hello
> 
> Please forgive this newbie question.
> 
> I got the freespace2 source code. I got a machine using Nvidia Geforce3 
> with nvidia drivers all of it in DEBIAN (sid).
> 
> Though for the compiling it asks for gl.h so I installed xlibmesa-dev 
> which has it.
> 
> After a while compiling I get this error after many other warnings like 
> the last one:
> 
> /home/daniel/downloads/freespace2/src/graphics/gropengl.cpp:2938: 
> undefined reference to `glPixelStorei'
> /home/daniel/downloads/freespace2/src/graphics/gropengl.cpp:2950: 
> undefined reference to `glFlush'
> collect2: ld returned 1 exit status
> make: *** [freespace2] Error 1
> 
> Am I using the wrong libs?
> 
> Please help

Nvidia includes GL headers if I recall correctly, you just have to copy
them over your current-installed headers.

Look in /usr/doc/NVIDIA_GLX or something.
-- 
-zakk
zakk at timedoctor.org




More information about the freespace2 mailing list