[xsde-users] Tons of Linker Errors (LIBCMT/___CxxFrameHandler3 etc.)

Boris Kolpackov boris at codesynthesis.com
Fri Apr 16 10:24:39 EDT 2010


Hi Marvin,

Marvin M. <xsde-users at groenndemon.de> writes:

> But when I try to compile my simple console application under Visual
> Studio 2008 (empty Win32 console project), I get tons of linker errors.
> I don't know much about the linker and depending on what I choose for
> /NODEFAULTLIB, /Zl, code-generation options (/MTd, /GS-, runtime library
> and whatnot) I get between 9 and over 400 linker errors.

You need to make sure your application and xsde.lib use the same
C/C++ runtime. To do this, open the Project Properties dialog
for your application, go to C/C++ -> Code Generation and check
which option is used for the "Runtime Library" setting. It will
be one of /M* options. Then open config/config.nmake and add this
option to the CFLAGS and CXXFLAGS. Then rebuild xsde.lib:

nmake /f nmakefile clean
nmake /f nmakefile

Boris



More information about the xsde-users mailing list