سلام دوستان
من sfml رو نصب کردم و یک برنامه برای تست نوشتم.

برنامه من:

#include <SFML/Graphics.hpp>


int main(int argc,char ** argv)
{
sf::RenderWindow appWindow(sf::VideoMode(80, 600, 32), "APP");
sf::Event appEvent;

while (appWindow.isOpen()) {
while (appWindow.pollEvent(appEvent)) {
if (appEvent.type == sf::Event::Closed)
appWindow.close();
}
appWindow.clear();
appWindow.display();
}
}




و makefile من به شرح زیره:

all:
g++ test.cpp -o test.exe -DSFML_STATIC -I
"C:\SFML\include" -L
"C:\SFML\lib" -lsfml-graphics-s
-lsfml-window-s -lsfml-system-s
-lopengl32 -lwinmm -lgdi32 -lfreetype
-ljpeg

خطایی که هنگام کامپایل باهاش مواجه میشم:

C:\Users\username\Desktop>mingw32-make all
g++ test.cpp -o test.exe -DSFML_STATIC -I
g++: error: missing path after '-I'
makefile:2: recipe for target 'all' failed
mingw32-make: *** [all] Error 1


خیلی ممنون میشم ازتون کمک کنید مشکلم حل شه.
خیلی سختی کشیدم به این حد از دانش رسیدم.
ولی تو اینجور مسایل گیر میکنم.
ممنون