building x11 app with opengl
building x11 app with opengl
- Subject: building x11 app with opengl
- From: "Wesley Smith" <email@hidden>
- Date: Sat, 25 Mar 2006 11:46:58 -0800
Hi,
I'm trying to build the demo apps for Open Dynamics Engine using X11
and the opengl libs on osx 10.4.5. Here's the compile command
g++ -g -o dstest -L/usr/X11R6/lib -L../../drawstuff/src
dstest-dstest.o -ldrawstuff -lstdc++ -lm -lpthread -lGLU -lGL
/usr/bin/ld: Undefined symbols:
_glBegin
_glBindTexture
_glBlendFunc
_glCallList
_glClear
_glClearColor
_glColor3f
_glCullFace
The list of undefined symbols goes on quite a ways. In any case, I'm
explicity added the path to the libraries with -L/usr/X11R6/lib, but
the compiler still doesn't manage to find it. Has anyone else
experience trouble with X and Opengl on osx? How do I get the
compiler to find the libraries properly? This is how they're called
in the code:
#include <GL/gl.h>
thanks,
wes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden