On Jan 8, 2012, at 4:14 PM, Terry Welsh wrote:

>> Could you get the OSG_LIBRARY_PATH env variable and append it to . and then 
>> set Registry::instance()->setLibraryFilePathList( wholeLibraryPath );  ?
>> 
>> Doug
>> 
> I think I tried the equivalent to that.  I may have worded my original
> question poorly.  As far as I know, OSG_LIBRARY_PATH starts out empty,
> so there is nothing to get.  If you set it to . then the . will be
> appended to /usr/lib/:/usr/lib64/:/usr/local/lib/:/usr/local/lib64/
> and you will end up with
> /usr/lib/:/usr/lib64/:/usr/local/lib/:/usr/local/lib64/:.
> 
> I really want my app to only search in . by default, but I would like
> to keep the ability to modify that search using OSG_LIBRARY_PATH.  I
> don't see a way to do this yet because calling
> setLibraryFilePathList() renders OSG_LIBRARY_PATH ineffective.

Yeah, I see the issue now.Good question....

Doug

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to