[osg-users] Build Error on Windows

Mark Sciabica msciabica at itracs.com
Mon Mar 23 14:47:41 PDT 2009

Hi Robert,

Sorry, I thought it would have been clear from my first e-mail. I'll try 

FileUtils.cpp in osgDB has this code.

static void appendInstallationLibraryFilePaths(osgDB::FilePathList& 

    // Append the install prefix path to the library search path if 

osgDB's CMakeLists.txt has this line:


This means that the install path configured at build time will be 
searched for plugins. This does not make sense for prebuilt  binaries 
because the install location will likely be different on different 
machines. I propose removing the function 
appendInstallationLibraryFilePaths, and also the line in CMakeLists 
since it is only this function that makes use of it.


Robert Osfield wrote:
> On Mon, Mar 23, 2009 at 7:37 PM, Mark Sciabica <msciabica at itracs.com 
> <mailto:msciabica at itracs.com>> wrote:
>     Thanks for the reply. I'll be upgrade CMake for my next build of
>     OSG. But do you have any comment on the final paragraph of my
>     e-mail? Embedding the install path configured when OSG is built
>     only makes sense if OSG is not distributed in binary form.
> You'll need to be far more specific about what you are talking about 
> for me to comment.
> Robert.
> ------------------------------------------------------------------------
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list