Sorry to keep asking for help here but I really don't know what to do. I just restarted with a fresh dfhack directory (plus modified dfliquids), fresh cmake, and fresh MinGW. Some errors are gone now, others remain.
C:\...\Desktop\dfhack\build>mkdir build-real
C:\...\Desktop\dfhack\build>cd build-real
C:\...\Desktop\dfhack\build\build-real>cmake ..\.. -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE:string=Release
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: g++.exe
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-g++.cmake:1 (INCLUDE):
include could not find load file:
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-gcc.cmake
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeCXXInformation.cmake:57 (INCLUDE)
CMakeLists.txt:2 (PROJECT)
CMake Error: your CXX compiler: "g++.exe" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: g++.exe -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
The C++ compiler "g++.exe" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (PROJECT)
CMake Error: your CXX compiler: "g++.exe" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
C:\...\Desktop\dfhack\build\build-real>mingw32-make 2>log.txt
C:\...\Desktop\dfhack\build\build-real>pause
Press any key to continue . . .
So now it seems to say that it's missing these files:
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-g++.cmake
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-gcc.cmake
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeCXXInformation.cmake
The only one of those that's actually missing though is Windows-gcc.cmake.
Where can I find where to set CMAKE_CXX_COMPILER? Is it in Cmakelists or do I need to do it through the CMake gui?
I'd add the windows-gcc.cmake file to the cmake directory, but everything you've said here and in the documentation suggests that I shouldn't have to. I really wish I knew why this is not working out of the box when everything I read seems to say it should. I added the recommended path variables and got errors. I add more path variables and those errors go away. I've now got path variables to every directory that's been referenced so far, and that well seems to have run dry.