A few minutes ago, I checked out the latest SFML from github using TortoiseGit, I downloaded and installed cmake-3.0.2-win32-x86.exe from
http://www.cmake.org/download/, and I downloaded and installed MinGW Builds from
http://sourceforge.net/projects/mingwbuilds/. After I gave CMake source and build paths, and told it to use CodeBlocks - MinGW Makefiles (or just plain MinGW Makefiles), it fails with the following error:
CMake Error at cmake/Config.cmake:16 (message):
Unsupported architecture
Call Stack (most recent call first):
CMakeLists.txt:20 (include)
I'm currently running a Dell Latitude 3540 with Windows 7 Professional 64-bit. Inspecting the cmake/Config.cmake implies that CMake and/or MinGW is under the impression that my architecture is neither 32-bit nor 64-bit. I don't have the slightest idea how that could be possible unless one or the other is simply broken (since I've had no trouble with CMake in the past, and I've never ever gotten MinGW to work before, I'm highly inclined to assume the latter is broken somehow).
Note that I also installed CodeBlocks earlier so its version of MinGW may be interfering somehow. I was going to try specifying native compilers myself in CMake but I can't seem to find where either set of actual compilers was installed (I really hate it when software feels the need to hide itself...)
Searching this forum got me one or two hits that appeared to be completely different problems, and the workaround described in one didn't come close to working so I don't think those are relevant.
Any ideas?
Edit: Found the MinGW binaries that came with CodeBlocks. Specifying them in CMake did not change the error, so maybe these are the broken ones. But I still can't find the MinGW Builds binaries so I can't test those.
Edit: The MinGW Builds installer emits an error dialogue containing the text "ERROR res", and then proceeds to finish and claim it installed successfully (hence I forgot about this earlier). Googling this error got me nothing.