For some time now, I've been unable to load the Debug JPEG plugin
osgdb_jpegd.dll. The Release build works just fine. Because I'm on Windows,
I had assumed this was some runtime library / PATH issue
 
Today, this finally bugged me enough to investigate it.
 
I looked at osgdb_jpegd.dll the old depends.exe (from VC6 days) and it
doesn't indicate any problems. And indeed it turns out it's not a DLL issue,
apparently.
 
It seems to be a problem with the 3rdparty binary libjpegD.lib. If I have
the CMake variable JPEG_LIBRARY_DEBUG set to libjpegD.lib, then the
resulting Debug JPEG plugin refuses to load. On the other hand, with
JPEG_LIBRARY_DEBUG set to libjpeg.lib, the Debug JPEG plugin loads and runs
just fine.
 
As luck would have it, Mike Weiblen and I are having breakfast tomorrow, so
I'll ask him if he knows anything about why this would be happening.
 
Just wanted to post this here in case others are encountering the same
issue.
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to