Hi Scott
I've been searching the forums and web and can't figure out how to statically 
link OSG with my code.

I've managed to build OSG statically but not OpenThreads.  There is no 
DYNAMIC_OPENTHREADS option as mentioned in several places.
In the CMake simply uncheck DYNAMIC_OPENSCENEGRAPH and DYNAMIC_OPENTHREADS... I've just checked for the 3.4.0 and those options are there. I don't quite recall, but in order to link the plugins you'll have to put the USE_OSGPLUGIN(%pluginname%) in the code. And IIRC the USE_DOTOSGWRAPPER_LIBRARY is for serializing into the old .osg format.


I can't find documentation on the various USE_* macros for enabling static 
linked libraries either.

What I have so far complains a lot about undefined references to 
osg::ComputeBoundsVisitor, osg::Billboard, osgText, and about 450 other things.

Could someone please help?  I'm using Linux.  Thanks.
Cheers
Sebastian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66293#66293





_______________________________________________
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

Reply via email to