Robert Osfield schrieb:
Hi Andreas,

On Mon, Dec 8, 2008 at 4:50 PM, Andreas Goebel <[EMAIL PROTECTED]> wrote:
Is there an up-to-date howto about static linking the osg, and how to use
those macros?

The only guide right now is the osgstaticviewer example.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Hi Robert,

I tried the static build, and it failed. I think I know why it failed:

I don´t see the sense in trying a static build with a dynamic linked msvcrt. So I changed the settings in CMake from Multithreaded dynamic (/MD) to multithreaded static (/MT).

Now when I build (at last) the osgstaticviewerexample I get tons of errors of multiply defined functions that are both defined in msvcrt.dll and in the static version. This means, that something (a 3rd party for sure) still links to the dynamic msvcrt.

What do you think, shouldn´t the static build use a static runtime library? Or am I missing something here?

Regards,

Andreas
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to