SFML community forums

Help => General => Topic started by: nvangogh on March 17, 2014, 08:18:04 pm

Title: How to install sfml 2.1 in debian linux?
Post by: nvangogh on March 17, 2014, 08:18:04 pm
Hi, I only have sfml 1.6 with my package manager and thought I would try and install 2.1. Unfortunately I'm not clear about how to install 2.1 after having read through the instructions several times.

I downloaded the 2.1 bundle and ran cmake-gui. I followed all of the instructions, getting all the dependencies installed and 'built' sfml in my home directory in a folder named sfml-build. What do I do from here to install sfml into a system wide path? How can I start to use it? With the 1.6 build I simply type "g++ -o someapp someapp.cpp -lsfml-system" and everything works. Ideally I want to set up my system so that 2.1 works in the same way without having to explicitly specify different paths.

If I can't get this working I will just continue with 1.6 Thanks
Title: Re: How to install sfml 2.1 in debian linux?
Post by: dabbertorres on March 17, 2014, 08:27:30 pm
Read through the posts in this topic: http://en.sfml-dev.org/forums/index.php?topic=14246.msg102250#msg102250
Title: Re: How to install sfml 2.1 in debian linux?
Post by: nvangogh on March 17, 2014, 08:52:41 pm
This does not seem to help me unfortunately
Title: Re: How to install sfml 2.1 in debian linux?
Post by: nvangogh on March 17, 2014, 10:02:52 pm
I figured it out -
1. cd into sfml-build
2. make install clean