Hello everyone!
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:
Code:
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
program.
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
CMakeFiles/cmTryCompileExec.dir/build
make.exe[1]: Entering directory `C:/Box2D/Build/CMakeFiles/CMakeTmp'
/C/cmake/bin/cmake.exe -E cmake_progress_report
/C/Box2D/Build/CMakeFiles/CMakeTmp/CMakeFiles 1
process_begin: CreateProcess(NULL, /C/cmake/bin/cmake.exe -E
cmake_progress_report /C/Box2D/Build/CMakeFiles/CMakeTmp/CMakeFiles 1, ...)
failed.
make (e=2): The system cannot find the file specified.
make.exe[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj]
Error 2
make.exe[1]: 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):
CMakeLists.txt:3 (project)
Configuring incomplete, errors occurred!
I am using MinGW on Windows 7 64 bit, with GCC 4.5.0.
Any help would be appreciated!