diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index 386fcacc0..6579240af 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -570,13 +570,19 @@ void Registry::readCommandLine(osg::ArgumentParser& arguments) std::string value; while(arguments.read("-l",value)) { - loadLibrary(value); + if (loadLibrary(value)!=NOT_LOADED) + { + OSG_NOTICE<<"Unable to load library : "<