I'm finally starting to compile (or trying to) my plugins in VisualStudio, in Windows.
I started with the simplest one and I'm getting lots of errors when building it.
Errors like:
Error LNK2001 unresolved external symbol "public: static struct maxon::StringInterface::MTable maxon::StringInterface::MTable::_instance" ([email protected]@[email protected]@@[email protected]) cmyk C:\Program Files\MAXON\Cinema 4D R20\sdk\plugins\cmyk\project\main.obj 1
Error LNK2019 unresolved external symbol "void __cdecl GePrint(class maxon::String const &)" ([email protected]@[email protected]@@@Z) referenced in function "bool __cdecl PluginStart(void)" ([email protected]@YA_NXZ) cmyk C:\Program Files\MAXON\Cinema 4D R20\sdk\plugins\cmyk\project\main.obj 1
Error LNK2019 unresolved external symbol "class Filename const __cdecl GeGetPluginPath(void)" ([email protected]@[email protected]@XZ) referenced in function "bool __cdecl PluginStart(void)" ([email protected]@YA_NXZ) cmyk C:\Program Files\MAXON\Cinema 4D R20\sdk\plugins\cmyk\project\main.obj 1
Error LNK2001 unresolved external symbol "class GeResource g_resource" ([email protected]@[email protected]@A) cmyk C:\Program Files\MAXON\Cinema 4D R20\sdk\plugins\cmyk\project\main.obj 1
The cinema4dsdk compiled just fine. What can be going wrong?