Hi, > ok for a debug (/0d /MD) project the cmake generated solutions compiles > with the following settings: > > cl /Od > <some include paths here> > /D "WIN32" /D "_WINDOWS" /D "_WIN32_WINNT=0x0400" /D "WINVER=0x0400" > /D "OSG_DEBUG" /D "BOOST_ALL_DYN_LINK" /D "CMAKE_INTDIR=\"Debug\"" > /D "SMC_COMPILESMCSTRUCTURELIB" /D "_WINDLL" /D"_MBCS" /FD /EHsc > /MD /Fo"SMCStructure.dir\Debug" > /Fd"P:/user/gerrit/Projects/foobar.build/bin/Debug/SMCStructure.pdb" > /W1 /c /Zi /TP /Zm1000 > > The one's I don't see in your command line are > > BOOST_ALL_DYN_LINK and the definition of the minimum Windows version.
I never link dynamically to boost, I always link it statically. Which reminds me, I should also remove that define from my OSG2 compile otherwise I would need the boost DLLs. The windows version is defined in a header, that's why it is not on the command line. > Additionally you have _CRT_SECURE_NO_WARNINGS, which should not be > a problem and GLEW_STATIC which might be problematic, depending which > runtime settings (should be /MD too) were used to compile this lib. Glew is, as some other libs are too, a project in my solution so that it is also covered by the dependency check. The compiler settings match. Additionally, the application worked with OpenSG 1.8 so other libs cannot be the problem. Aloha, Andi ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
