After another failed attempt with C::B, I gave MinGW another go. It turns out I neglected to compile from within MSYS. Derp…
Also, the CDDA-deps link was working, so I dropped those into my MinGW installation as instructed. The only file I already had was IIRC zlib1.dll or thereabouts. I chose not to overwrite it. Even if I should overwrite it, I’m not yet to the point where linker errors might occur, so meh.
Current MinGW issues:
I’m not sure which to run from MSYS: make or mingw32-make. Each has its own set of errors and neither recognizes the -std=c++11 flag (nor -std=c++0x, for what it’s worth). I should have the correct version for mingw32-gcc (“4.8.1 (GCC)”), though gcc returns “3.4.4 (msys special)”. If I comment that flag out, here are the results for each compiler:
make NATIVE=win32 RELEASE=1 TILES=1 SOUND=1 LOCALIZE=0 LUA=0 USE_HOME_DIR=0 DYNAMIC_LINKING=1
This yields a host of errors. I don’t know how to pipe the error log to a file, so I can’t display it properly here. I’m getting stuff along the lines of (copying by hand here:
src/json.h:7:25: unordered_set: No such file or directory
src/skill.h:8:20: stdint.h: No such file or directory
src/options.h:6:25: unordered_map: No such file or directory
src/name.h:24: error: 'uint32_t' has not been declared
src/name.h:24: error: ISO C++ forbids declaration of 'flags' with no type
src/catacharset.h: In constructor 'utf8_wrapper::utf8_wrapper(const char*)':
src/catacharset.h:52: error: type 'class utf8_wrapper' is not a direct base of 'utf8_wrapper'
mingw32-make NATIVE=win32 RELEASE=1 TILES=1 SOUND=1 LOCALIZE=0 LUA=0 USE_HOME_DIR=0 DYNAMIC_LINKING=1
The results here are mostly the same as above, with some additions along these lines:
src/overmap.cpp:632: error: 'ACTIVE_WORLD_OPTIONS' undeclared (first use this function)
It looks like I’m mostly missing some standard library includes, so there’s a bad path somewhere. I’m not sure how, given I installed MinGW as per the instructions.
I also don’t understand the ACTIVE_WORLD_OPTIONS error, except possibly as a result of the failure to parse/compile options.h correctly due to missing includes.
Is something wrong with my MinGW installation? Am I using the wrong make options (e.g. TILES=1)? Should I just go try Code::Blocks again? I opted to download the source from GitHub as a zip instead of using their application to clone it. Is there some reason their Cataclysm-DDA-master.zip would be missing files?