I normally use linux and dont have these issues. But I am trying to build on windows for whatever reason.
What I’ve done so far, is run cmake_mingw.bat
then i’ve installed cingw files with make. And run make in the build directory
I immediatly get this error:
[ 0%] Building CXX object ThirdParty/Box2D/CMakeFiles/Box2D.dir/Box2D/Collision
/b2BroadPhase.cpp.obj
G__~1.EXE: error: unrecognized command line option '-static-libstdc++'
ThirdParty\Box2D\CMakeFiles\Box2D.dir\build.make:54: recipe for target 'ThirdPar
ty/Box2D/CMakeFiles/Box2D.dir/Box2D/Collision/b2BroadPhase.cpp.obj' failed
make[2]: *** [ThirdParty/Box2D/CMakeFiles/Box2D.dir/Box2D/Collision/b2BroadPhase
.cpp.obj] Error 1
CMakeFiles\Makefile2:74: recipe for target 'ThirdParty/Box2D/CMakeFiles/Box2D.di
r/all' failed
make[1]: *** [ThirdParty/Box2D/CMakeFiles/Box2D.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
google is telling me to modify the makefile basically. But I wanted to consult the forums first. Maybe I am just missing something in mingw