-fpermissive
but somehow got an error
Code: Select all
cd /d C:\DvlpC++\bullet3\x86\mingw\examples\HelloWorld && C:\mingw\bin\windres.exe -O coff -DUSE_GRAPHICAL_BENCHMARK -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -IC:\DvlpC++\bullet3\src -fpermissive C:\DvlpC++\bullet3\build3\bullet.rc CMakeFiles\App_HelloWorld.dir\__\__\build3\bullet.obj
C:\mingw\bin\windres.exe: invalid option -f
mingw32-make.exe[2]: *** [examples/HelloWorld/CMakeFiles/App_HelloWorld.dir/__/__/build3/bullet.obj] Error 1
mingw32-make.exe[2]: Leaving directory `C:/DvlpC++/bullet3/x86/mingw'
mingw32-make.exe[1]: *** [examples/HelloWorld/CMakeFiles/App_HelloWorld.dir/all] Error 2
mingw32-make.exe[1]: Leaving directory `C:/DvlpC++/bullet3/x86/mingw'
mingw32-make.exe: *** [all] Error 2