Hi there,

I am using osg statically in a little personal project and am having 
some troubles with plug-ins.

Basically every time I load a .osg file using the 
osgDB::ReaderWriter::readNode() function it seems to fail with an error 
reading the file. I have followed it through and it seems to get to 
ReaderWriterOSG::readNode() but then it won't load any of the nodes in  
Registry::readObject(). However if I use a .ive file, it works.

I am using the macro USE_OSGPLUGIN(...) to get the linker to include the 
plug-ins. Am I missing anything?

Sorry if this question has been asked before. But any help is very much 
appreciated!

On another note, I had to add /D OSG_LIBRARY_STATIC ect. in cmake to get 
it to make the build files as static in the first place. Is this 
something I could contribute/help with? (Haven't really done it before)

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

Reply via email to