for your problem of compilation you can use default environnement variables like this in your .profile or .bashrc (system depends) file
#for gcc
export C_INCLUDE_PATH=$HOME/localwin32/include
#for g++
export CPLUS_INCLUDE_PATH=$C_INCLUDE_PATH
#for link
#WARNING => LIBRARY_PATH is not understand by ld/mingw
export LIBRARY_PATH=$HOME/localwin32/lib:./
#for execution
#WARNING => LD_LIBRARY_PATH is not understand by msys, you must use PATH
export LD_LIBRARY_PATH=$LIBRARY_PATH
export PATH=$HOME/localwin32/dll:$PATH
On 10/14/06, Andreas Goebel <
[EMAIL PROTECTED]> wrote:
Antoine Hue schrieb:
> Andreas Goebel wrote:
>> Hi,
>>
>> when I make the recent CVS version of osg with MinGW,
>> /usr/local/include is not used for includefiles (with version 1.1,
>> this directory was used, because either Producer or OpenThreads was
>> installed directly in /usr/local, I don“t remember exactly).
>>
>> My jpeglib is installed in /usr/local/include.
>>
> In my latest build of the OSG 1.2 package, OpenThreads is in
> /usr/local => OPENTHREADS_INC_DIR=/usr/local/include and
> OPENTHREADS_LIB_DIR=... made it correct for include and link
>
>
> Actually, I am wondering why on MingW OSG, OT and Producer are not
> directly within /usr/local?
>
> Antoine
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
>
>
Thanks,
you brought me right back on the right track. I used a different
include-dir, because I wanted a different place for osg than usual.
I gave that up later on, so I can use the openthreads-inc-dir you said.
So my problem is solved, but the original question is not: Can I pass an
additional include-dir to the osg-makefile, if, for instance, third
party libraries are installed in strange places?
Thanks,
Andreas
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
