Tnx Rene but when add parameter SDL=2

result is:
Code:
qmc2_prefix.h:57:17: fatal error: SDL.h: No such file or directory
compilation terminated.
qmc2_prefix.h:57:17: fatal error: SDL.h: No such file or directory
compilation terminated.
Makefile.qmake.Release:1496: recipe for target 'release/qmc2_prefix.h.gch/c++' failed
make.exe[2]: *** [release/qmc2_prefix.h.gch/c++] Error 1
make.exe[2]: *** Waiting for unfinished jobs....
Makefile.qmake.Release:1491: recipe for target 'release/qmc2_prefix.h.gch/c' failed
make.exe[2]: *** [release/qmc2_prefix.h.gch/c] Error 1
make.exe[2]: Leaving directory 'g:/compile_mame/qmc2'
Makefile.qmake:34: recipe for target 'release' failed
make.exe[1]: *** [release] Error 2
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1051: recipe for target 'qmc2-bin' failed
make.exe: *** [qmc2-bin] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'
Finish at:  9:23:49,33


my make line:
make.exe WIP=1 SDL=2 MINGW=1 -j5

p.s.
found sdl.h in \buildtools\vendor\mingw64\x86_64-w64-mingw32\include\SDL2\, add path to my environment, but not luck.

Last edited by oddi; 11/04/15 07:35 AM.