Hi Andreas, On Mon, Dec 8, 2008 at 8:42 PM, Andreas Goebel <[EMAIL PROTECTED]> wrote: > 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?
I'm afraid I have no expertise with VisualStudio linking requirements, so I have to defer to others with that expertise for moulding our CMake build system and any 3rd party binaries for windows. I presume Lilinx has come across these same issue and resolve them somehow, so perhaps he might be able to provide some guidance/fixes to the CMake build/dependencies to get this working. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org