Can't you just tell the command for this situation? but I guess It's better If I list what I've tried, maybe that'll clearify what is it that I'm looking for:
Keep in mind I know nothing about compiling layout and structure, linker, preprocessing, object files etc.
g++ SFML.cpp -o test
g++ SMFL.cpp -o test -I D:\SFML\include
g++ SFML.cpp -o test -I D:\SFML\include -lD:\SFML\lib\libsfml-graphics.a -lD:\SFML\lib\libsfml-window.a -lD:\SFML\lib\libsfml-system.a
g++ SFML.cpp -o test -I D:\SFML\include -L D:\SFML\lib -lD:\SFML\lib\libsfml-graphics.a -lD:\SFML\lib\libsfml-window.a -lD:\SFML\lib\libsfml-system.a