Jump to content

Compiling with CodeBlocks + MinGW + CMake


Andrey_Nevacode

Recommended Posts

Got this error on Win 7 with CodeBlocks and MinGW. I need advice from experts.

 

Running command: S:/dev/CodeBlocks/MinGW/bin/mingw32-make.exe -f "S:/dev/Torque3D-development/WindowsBuild/Makefile"  VERBOSE=1 all
S:\.dev\cmake-3.1.0-rc2-win32-x86\bin\cmake.exe -HS:\dev\Torque3D-development -BS:\dev\Torque3D-development\WindowsBuild --check-build-system CMakeFiles\Makefile.cmake 0
S:\.dev\cmake-3.1.0-rc2-win32-x86\bin\cmake.exe -E cmake_progress_start S:\dev\Torque3D-development\WindowsBuild\CMakeFiles S:\dev\Torque3D-development\WindowsBuild\CMakeFiles\progress.marks
S:/dev/CodeBlocks/MinGW/bin/mingw32-make.exe -f CMakeFiles\Makefile2 all
mingw32-make.exe[1]: Entering directory `S:/dev/Torque3D-development/WindowsBuild'
S:/dev/CodeBlocks/MinGW/bin/mingw32-make.exe -f Tools\CMake\CMakeFiles\collada.dir\build.make Tools/CMake/CMakeFiles/collada.dir/depend
mingw32-make.exe[2]: Entering directory `S:/dev/Torque3D-development/WindowsBuild'
S:\.dev\cmake-3.1.0-rc2-win32-x86\bin\cmake.exe -E cmake_depends "MinGW Makefiles" S:\dev\Torque3D-development S:\dev\Torque3D-development\Tools\CMake S:\dev\Torque3D-development\WindowsBuild S:\dev\Torque3D-development\WindowsBuild\Tools\CMake S:\dev\Torque3D-development\WindowsBuild\Tools\CMake\CMakeFiles\collada.dir\DependInfo.cmake --color=
mingw32-make.exe[2]: Leaving directory `S:/dev/Torque3D-development/WindowsBuild'
S:/dev/CodeBlocks/MinGW/bin/mingw32-make.exe -f Tools\CMake\CMakeFiles\collada.dir\build.make Tools/CMake/CMakeFiles/collada.dir/build
mingw32-make.exe[2]: Entering directory `S:/dev/Torque3D-development/WindowsBuild'
S:\.dev\cmake-3.1.0-rc2-win32-x86\bin\cmake.exe -E cmake_progress_report S:\dev\Torque3D-development\WindowsBuild\CMakeFiles 
[  0%] 
Building CXX object Tools/CMake/CMakeFiles/collada.dir/__/__/Engine/lib/collada/src/1.4/dom/domAccessor.cpp.obj
cd /d S:\dev\Torque3D-development\WindowsBuild\Tools\CMake && S:\dev\CodeBlocks\MinGW\bin\g++.exe   -DDOM_INCLUDE_TINYXML -DPCRE_STATIC -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_WARNINGS /MP /O2 /Ob2 /Oi /Ot /Oy /GT /Zi /W4 /nologo /GF /EHsc /GS- /Gy- /Qpar- /fp:fast /fp:except- /GR /Zc:wchar_t- /arch:SSE2 -wd4800 -wd4018 -wd4244 -g /EHsc @CMakeFiles/collada.dir/includes_CXX.rsp   /W0 -o CMakeFiles\collada.dir\__\__\Engine\lib\collada\src\1.4\dom\domAccessor.cpp.obj -c S:\dev\Torque3D-development\Engine\lib\collada\src\1.4\dom\domAccessor.cpp
g++.exe: error: /MP: No such file or directory
g++.exe: error: /O2: No such file or directory
g++.exe: error: /Ob2: No such file or directory
g++.exe: error: /Oi: No such file or directory
g++.exe: error: /Ot: No such file or directory
g++.exe: error: /Oy: No such file or directory
g++.exe: error: /GT: No such file or directory
g++.exe: error: /Zi: No such file or directory
g++.exe: error: /W4: No such file or directory
g++.exe: error: /nologo: No such file or directory
g++.exe: error: /GF: No such file or directory
g++.exe: error: /EHsc: No such file or directory
g++.exe: error: /GS-: No such file or directory
g++.exe: error: /Gy-: No such file or directory
g++.exe: error: /Qpar-: No such file or directory
g++.exe: error: /fp:fast: No such file or directory
g++.exe: error: /fp:except-: No such file or directory
g++.exe: error: /GR: No such file or directory
g++.exe: error: /Zc:wchar_t-: No such file or directory
g++.exe: error: /arch:SSE2: No such file or directory
g++.exe: error: /EHsc: No such file or directory
g++.exe: error: /W0: No such file or directory
g++.exe: error: unrecognized command line option '-wd4800'
g++.exe: error: unrecognized command line option '-wd4018'
g++.exe: error: unrecognized command line option '-wd4244'
mingw32-make.exe[2]: *** [Tools/CMake/CMakeFiles/collada.dir/__/__/Engine/lib/collada/src/1.4/dom/domAccessor.cpp.obj] Error 1
mingw32-make.exe[1]: *** [Tools/CMake/CMakeFiles/collada.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
mingw32-make.exe[2]: Leaving directory `S:/dev/Torque3D-development/WindowsBuild'
mingw32-make.exe[1]: Leaving directory `S:/dev/Torque3D-development/WindowsBuild'
Process terminated with status 2 (0 minute(s), 2 second(s))
22 error(s), 0 warning(s) (0 minute(s), 2 second(s))
Link to comment
Share on other sites

I'm not an expert but looking on that error message log, it looks like those 'No such file or directory' errors are compile flags for Visual Studio and the CMake options for CodeBlocks+MingW is not completely working for the Windows build, unless someone can verify that this is currently supported and you're just missing some libraries or environment paths. You should probably submit a GitHub issue..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...