Hi!
When I compile with the line: g++ Game.o player_class.o platform.o game_class.o health_class.o weapons.o projectile.o Menu.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-audio -lsfml-network -lsfml-system
I get the message:
/usr/bin/ld: cannot find -lsfml-graphics
/usr/bin/ld: cannot find -lsfml-window
/usr/bin/ld: cannot find -lsfml-audio
/usr/bin/ld: cannot find -lsfml-network
/usr/bin/ld: cannot find -lsfml-system
collect2: error: ld returned 1 exit status
I use Ubuntu 16.04
I had problems updating to SFML 2.4.2 (did it with cmake, the real problem was linking the libraries afterwards), but I then removed SFML (this is where I believe the problem occured, since i could'nt use sudo make uninstall i manally deleted the files from /usr/include, lib and share) I then reinstalled SFML 2.3.2 with the command:
sudo apt-get install libsfml-dev
now when I try to compile i get the message posted above.
I'd appreciate any suggestions.