[ODE] ODE 0.6: configure script

Rodrigo Hernandez kwizatz at aeongames.com
Thu Jul 20 07:37:45 MST 2006


Julien Lollivier wrote:
>> if you already installed it then adding /usr/X11R6/lib to the 
>> LIBRARY_PATH environment variable might help.
>>     
> Thanks, you're right, it works.
>
> Why do I need to set the LIBRARY_PATH for ODE ? I've compiled a lot of apps and libs that were using GLU without this. Is there a reason ?
>
> Another question (not related to ODE itself): the file include/ode/config.h defines the symbol HAVE_STDLIB_H (with value 1) so it collides with libjpeg jconfig.h header file, and generate a warning. Is there a way to avoid this ?
>
>   
Its likely that your Linux distribution doesn't add the path 
/usr/X11R6/lib to your /etc/ld.so.conf file or the global library paths 
by default, the other apps and libs you mention probably take measures 
to add the -L/usr/X11R6/lib flag in order to include it durring link 
time. Fedora doesn't present this problem, I think (but I am not sure) 
Debian doesn't either, so you must be using some other distro. :)

Regarding HAVE_STDLIB_H, you are probably getting an "already defined" 
warning right? if so, you can manually change

#define HAVE_STDLIB_H 1

to

#ifndef HAVE_STDLIB_H
#define HAVE_STDLIB_H 1
#endif

On both headers to avoid the collision.

Cheers!


More information about the ODE mailing list