I found a problem with osgconv when the last argument was a filename and not
an option. A linefeed was included with the file extension so that
OpenSceneGraph couldn't load the corresponding plugin dll when running in
debug mode. The linefeed was included as the 6th last character,
before "d.dll".

To fix the problem, I replaced the linefeed (if present) with '\0' during
initialization of the ArgumentParser. The new ArgumentParser.cpp file is
attached.

My development platform: Visual Studio 2010, x64.

Regards
John Ivar Haugland

Attachment: ArgumentParser.cpp
Description: Binary data

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

Reply via email to