Compiling on Win32 - Mingw 2.7.1

Post Reply
mnunesvsc
Posts: 4
Joined: Thu Mar 15, 2012 8:02 pm
Contact:

Compiling on Win32 - Mingw 2.7.1

Post by mnunesvsc »

Need to add flag

-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
is there are anyplace to correctly put this option ?
Post Reply