Hi guys, I'm trying to compile an SFML project on Linux Mint 18 Cinnamon, for Windows, using mingw, with this command:
x86_64-w64-mingw32-g++ -o vanguardians main.o -lsfml-system
...and I'm getting this error:
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lsfml-system
collect2: error: ld returned 1 exit status
Can anyone help? I guess basically what I'm asking is: How do I compile a .exe program for Windows, when I'm on Linux?