i've been looking solutions, , i'm stuck.
i'm trying install box2d, can see file paths.
anyway, prompt appears several times before following:
the cxx compiler identification unknown check working cxx compiler: c:/mingw/bin/g++.exe check working cxx compiler: c:/mingw/bin/g++.exe -- broken cmake error @ c:/program files/cmake/share/cmake-3.6/modules/cmaketestcxxcompiler.cmake:54 (message): c++ compiler "c:/mingw/bin/g++.exe" not able compile simple test program. fails following output: change dir: c:/users/alexm/documents/box2d/build/cmakefiles/cmaketmp run build command:"c:/mingw/bin/mingw32-make.exe" "cmtc_31089/fast" c:/mingw/bin/mingw32-make.exe -f cmakefiles\cmtc_31089.dir\build.make cmakefiles/cmtc_31089.dir/build mingw32-make.exe[1]: entering directory 'c:/users/alexm/documents/box2d/build/cmakefiles/cmaketmp' building cxx object cmakefiles/cmtc_31089.dir/testcxxcompiler.cxx.obj c:\mingw\bin\g++.exe -o cmakefiles\cmtc_31089.dir\testcxxcompiler.cxx.obj -c c:\users\alexm\documents\box2d\build\cmakefiles\cmaketmp\testcxxcompiler.cxx cmakefiles\cmtc_31089.dir\build.make:64: recipe target 'cmakefiles/cmtc_31089.dir/testcxxcompiler.cxx.obj' failed mingw32-make.exe[1]: *** [cmakefiles/cmtc_31089.dir/testcxxcompiler.cxx.obj] error 1 mingw32-make.exe[1]: leaving directory 'c:/users/alexm/documents/box2d/build/cmakefiles/cmaketmp' makefile:125: recipe target 'cmtc_31089/fast' failed mingw32-make.exe: *** [cmtc_31089/fast] error 2 cmake not able correctly generate project. call stack (most recent call first): cmakelists.txt:3 (project) configuring incomplete, errors occurred! see "c:/users/alexm/documents/box2d/build/cmakefiles/cmakeoutput.log". see "c:/users/alexm/documents/box2d/build/cmakefiles/cmakeerror.log".
so, there's error. i'm trying install on code::blocks mingw, i've got 2 copies of mingw installed, 1 that's located in code::blocks folder , other in root drive, installed mingw seperately fix problem.
this first time using cmake, i'm trying work sfml project on code::blocks in c++.
apologies if missed anything, if spot information you'd need don't hesitate comment!
go system variables , add
c:\program files (x86)\codeblocks\mingw\bin
to path
Comments
Post a Comment