I'm trying to compile the base game before editing, and getting the following linker errors:
I've searched the forums for linker errors and have found many posts but none with these errors.
I'm using Visual Studio 2013 on Windows 7, I've downloaded the latest source and followed the wiki instructions. I'm using the pre-made project.
Since all the unresolved externals are members of a 'Platform' class, I assume whatever library includes this class is missing? I have downloaded the required libraries linked in the wiki article, and run generator.py before building.
What library is missing? A full list of all dependencies would also help, so I can check if something's not there.
That fixed it, thanks. Still getting another error, though:
1>ElementClasses.obj : error LNK2019: unresolved external symbol "public: __thiscall Element_CRMC::Element_CRMC(void)" (??0Element_CRMC@@QAE@XZ) referenced in function "class std::vector<class Element,class std::allocator<class Element> > __cdecl GetElements(void)" (?GetElements@@YA?AV?$vector@VElement@@V?$allocator@VElement@@@std@@@std@@XZ)
1>ElementClasses.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall Element_CRMC::~Element_CRMC(void)" (??1Element_CRMC@@UAE@XZ) referenced in function "class std::vector<class Element,class std::allocator<class Element> > __cdecl GetElements(void)" (?GetElements@@YA?AV?$vector@VElement@@V?$allocator@VElement@@@std@@@std@@XZ)
CRMC doesn't seem to exist as an element, but it is referenced in Simulation.cpp and BREC.cpp (BREL element).
Ah, missing element :/
Oddly enough, generator.py had found CRMC somehow and added it to the ElementClasses files.
It's compiled now. Thanks!