开发者

mingw g++ cant see sdl-config

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???

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜