I am using a c++ Code , and i included SFML library set the linker ,library, and dependencies and trying to compile it with gcc/g++ but that does not work althoug the code work 100% when i run it in VS . i am using VS 2017 , already installed MinGW and i gave that in terminal(i was already in the path where that .cpp file is) gcc Main.cpp -I "path../include/" -L "path.../lib" -l sfml-graphics -l sfml-window -l sfml-system
i get always the same problem for graphics,window and system , and idea guys ?
"C:/Program Files/mingw-w64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\path\SFML\lib/sfml-graphics.lib when searching for -lsfml-graphics
C:/Program Files/mingw-w64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\path\lib/sfml-graphics.lib when searching for -lsfml-graphics
C:/Program Files/mingw-w64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\path\SFML\lib\sfml-graphics.lib when searching for -lsfml-graphics
C:/Program Files/mingw-w64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-graphics"