Re: Unresolved external symbols when building on Windows


Forums > Dev > Unresolved external symbols when building on Windows
March 19, 2013 | 1:02 am

Hi Ádám,

First, I’d like to mention that the new Max 6.1.1 SDK provides example projects in VS2010/VS2012 format.

To state the obvious, it looks like your errors are some kind of linking problem with C++ code. I’m not sure, but it looks like some of these mangled C++ names might be using the stdcall calling convention, whereas Max externs use the cdecl calling convention (see http://en.wikipedia.org/wiki/X86_calling_conventions for details). So maybe that explains why the symbols it is looking for cannot be found.

You could also try to make sure that the C++ standard library is correctly set in the target settings, though I think it should usually give you something half-workable by default.

Hope this helps!