Just recently, I have downloaded the source of Box2D, and tried to generate MSYS makefiles for Box2D.
However, I recieve some very strange errors, when I try to configure it. Here is the total output:
The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/cmake/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test
It fails with the following output:
Change Dir: C:/Box2D/Build/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/make.exe -f CMakeFiles/cmTryCompileExec.dir/build.make
make.exe: Entering directory `C:/Box2D/Build/CMakeFiles/CMakeTmp'
/C/cmake/bin/cmake.exe -E cmake_progress_report
process_begin: CreateProcess(NULL, /C/cmake/bin/cmake.exe -E
cmake_progress_report /C/Box2D/Build/CMakeFiles/CMakeTmp/CMakeFiles 1, ...)
make (e=2): The system cannot find the file specified.
make.exe: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj]
make.exe: Leaving directory `C:/Box2D/Build/CMakeFiles/CMakeTmp'
make.exe: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
Configuring incomplete, errors occurred!
I am using MinGW on Windows 7 64 bit, with GCC 4.5.0.
Any help would be appreciated!