[osg-users] Build Error on Windows

Robert Osfield robert.osfield at gmail.com
Tue Mar 24 01:55:52 PDT 2009


Hi Philip,

You do recall the fact the OSG versions it's dll/.so and plugins directory,
and as you're hypothetical usage model totally ignores this fact it's pretty
hard for me to take it too seriously.

Robert.

2009/3/24 Philip Lowman <philip at yhbt.com>

> is is kinda dangerous too.  What happens if:
>
> 1. User installs OSG 2.6 to /usr/local/OSG
> 2. User is happy
> 3. One day user decides to download OSG 2.8
> 4. User decides to move /usr/local/OSG => /usr/local/OSG-2.6
> 5. User compiles OSG 2.8 and installs to /usr/local/OSG again
> 6. User is happy but if they go to run their old OSG 2.6 build what
> happens?  My guess is that OSG 2.8 libraries are found.
>
> What is ${LIB_POSTFIX} above.  Is this supposed to be to facilitate debug
> builds?
>
> Is it possible to somehow find the location of "osgDB.dll" or "libosgDB.so"
> within code as a way to solve the plugin loading problem.  Then you could
> simply append "path_to_libosgDB.so + ../lib${LIB_POSTFIX}/${OSG_PLUGINS}" to
> the search path.  I know you can do this with the binary that's being run
> (if osgviewer is used for example).  This wouldn't work for people running
> an OSG app in a different path that uses libosgDB however.
>
> --
> Philip Lowman
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090324/eaafce37/attachment-0003.htm>


More information about the osg-users mailing list