mingw g++ cant see sdl-config
All works good if I insert sdl-config output manually.
How to fix this bug?
g++ -O3 -c 'sdl-config --cflags' test.cpp
g++.exe: sdl-config 开发者_JS百科--cflags: no such dile or directory
oh... I mixed up ` and ' !!!!!
now all works...
The bug is that sh dont work correctly!
I make sh script mmake:
#!/bin/sh
g++ -O3 -c `sdl-config --cflags` test.cpp
g++ -O3 -o test test.o `sdl-config --libs` -lSDL_image
and all work great!
why it dont work at main console window???
精彩评论