Selon Marco Jez :

> Hi Chris,
>
> > Static Linking, Baby! ;)
>
> I have always problems building the static version of OSG libraries. I get
> strange "disk full" errors while I have 200 GB free, and the large size of
> the resulting .lib files (osgViewer_s.lib was reaching 600 MB when it
> stopped linking with the above error) makes the link phase a real pain. I
> never managed to get a complete set of statically-linked OSG libraries. :-/

The problem with static libs in Visual Studio is that dependencies implies
inclusion of all symbols and code from the requisite libs into the built lib.
You end up with duplicated symbols and librairies getting larger and larger (
osg included in osdDB, osgDB with osg inside, included in osgSim, etc... ).

Unfortunately, dependencies are not configuration dependent, and can't be
removed because of the DLL build.

The other thing I don't get yet, is how osgDB behaves when it wants to load a
plugin.

-Fred

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to