Uh, sorry, how could this end up as a reply ? Please ignore, I'll repost.
Cheers, PP
On 10/12/2011 9:41 AM, Chris 'Xenon' Hanson wrote:
On 10/12/2011 8:31 AM, Joshua Cook wrote:
To make a long story short COIN was failing in a bad way but the
standard notify message at the INFO level is:
DynamicLibrary::failed loading "osgPlugins-3.0.0/osgdb_ivd.dll"
Warning: Could not find plugin to read objects from file
"../../some_file.iv".
So, I know that COIN's failure is not an OSG problem but I do
believe there may be room for a more useful debug output when a dll
has problems that don't revolve around not existing.
Are you 100% sure the DLL _is_ actually loading but the IV file
fails to load?
How have you verified this? You can set breakpoints in the DLL, or
use something like
SysInternals' ProcessMonitor to snoop on successful (and
unsuccessful) DLL loads.
Assuming the error message is correct and the plugin isn't being found...
osgWorks has an app to find plugins. I don't have the .iv plugin, but
here's an example of using it to find the .flt plugin:
>osgwwhich -p flt
Using plugin name: "osgPlugins-3.0.1/osgdb_openflight.dll".
C:\Program Files\OpenSceneGraph\bin\osgPlugins-3.0.1\osgdb_openflight.dll
You can also set OSG_NOTIFY_LEVEL=DEBUG_FP to have OSG print each path
that it searches to try to find the plugin.
Hopefully these two tricks will help you figure out why OSG is
claiming it can't load the plugin.
-Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org