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 --cflags: no such dile or directory
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 --cflags: no such dile or directory
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???