[ODE] ode-0.6-rc2 can't find GL/gl.h

f.l. texlexsex at gmail.com
Tue May 30 19:30:37 MST 2006


its Debian Linux with GCC-3.3.5.

currently workaround is to make a symbol link to /usr/include/GL as
/usr/include/X11.
and  add one line to configure script to help find libGL.so
  9448a9449,9450
  > LDFLAGS="$LD_FLAGS $X_LIBS"
  >

the gcc on the machine cant find the library libGL.so, although the
file is right there /usr/X11R6/lib/libGL.so, and /etc/ld.so.conf
contains /usr/X11R6/lib. dont know why,  maybe a ld problem or gcc
problem or even Debian specific.

it maybe autoconf's responsibility to find the right place where GL
headers resides on,
but it didn't, just assume it is in default include path, and gcc
never found that headers.

currently it do the trick for me.

On 5/31/06, Jason Perkins <starkos at gmail.com> wrote:
> On 5/30/06, f.l. <texlexsex at gmail.com> wrote:
> > ode refuse to compile and complain it cant find GL/gl.h
> > and the file is there `/usr/X11R6/include/GL/gl.h'
>
> What platform are running on?
>
> Jason
>


More information about the ODE mailing list