Same happened to me (linking), looking at the task manager it happened when
I run out of physical memory (seems it builds the .lib in memory, and when
there was no more left, crashed). It seemed that mem-file that found "disk
full", and not your HD.

But I solved it somehow. I remember something about a not-well-documented
linker parameter, where I specified that memfile size request, up to 2GB for
linking some osgXXX.libs. But I can't remember that option name, and google
hasn't helped me.

But as some users prefer static linking, maybe different project
architecture should be used just for that linkage. Having several projects
leading to several DLLs is useful for dynamic linkage, but it leads to
thousands of linker warnings when building OSG (same symbols found in many
libs) because the libs uses each other, and that also increases the size of
the libs (the biggest debug libs reached 900MB in my last static build).

Has anybody tried building a single project including osg, osgGA, osgDB...,
all the core projects? Maybe the namespaces used avoid conflicts with names,
and a complete OSG.lib can be built, much smaller than the separate libs and
without the problem of symbols repetition of those separate libs.

I know it probably doesn't suit the CMake generation of projects, but just
to know if it's possible or is a complete madness trying something like
that.

Ignacio Garcia

-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Marco Jez
Enviado el: jueves, 16 de noviembre de 2006 23:12
Para: osg users
Asunto: Re: [osg-users] Wiki page on binary file versioning

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. :-/

Cheers,
Marco

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

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

Reply via email to