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