Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to install sfml 2.1 in debian linux?  (Read 1982 times)

0 Members and 1 Guest are viewing this topic.

nvangogh

  • Newbie
  • *
  • Posts: 21
    • View Profile
How to install sfml 2.1 in debian linux?
« 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

dabbertorres

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • website/blog
Re: How to install sfml 2.1 in debian linux?
« Reply #1 on: March 17, 2014, 08:27:30 pm »

nvangogh

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: How to install sfml 2.1 in debian linux?
« Reply #2 on: March 17, 2014, 08:52:41 pm »
This does not seem to help me unfortunately

nvangogh

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: How to install sfml 2.1 in debian linux?
« Reply #3 on: March 17, 2014, 10:02:52 pm »
I figured it out -
1. cd into sfml-build
2. make install clean

 

anything