Are you running out of memory, and starting to use virtual memory?

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DC Fennell
Sent: Monday, May 05, 2008 12:33 PM
To: Public OpenSceneGraph Users discussion list.
Subject: [osg-users] OSG Static Libraries

Hello,

I've built OSG core and plug-in libraries statically. The performance I get is 
quite a bit slower than using DLLs. It would seem that the performance should 
be equal, if not better using the static libraries. I followed the instructions 
from the link below.

http://www.openscenegraph.org/projects/osg/wiki/Community/Tasks/Win32StaticLink

Besides the OSG_LIBRARY_STATIC preprocessor command added using CMAKE, I had to 
add OPENTHREADS_EXPORTS to the core and plug-in libraries to avoid compile 
warnings/errors in the main application.

Has anyone else gone the static library route? If so, was there any noticeable 
differences in performance? Any ideas on what I am doing wrong to get such poor 
performance. I'm talking about less than half the performance as with the DLLs.

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

Reply via email to