Linux Mint 17

I have recently download the SFML library but I don't know where to put the files. There is a lib directory and an include directory. The lib directory appears to have a lot of sym links in it.

garrett@mint-desktop ~/Desktop/SFML-2.3.2/lib $ ls -l
total 904
lrwxrwxrwx 1 garrett garrett     20 Oct 27 17:10 libsfml-audio.so -> libsfml-audio.so.2.3
lrwxrwxrwx 1 garrett garrett     22 Oct 27 17:10 libsfml-audio.so.2.3 -> libsfml-audio.so.2.3.2
-rw-r--r-- 1 garrett garrett 144296 Sep 11 06:40 libsfml-audio.so.2.3.2
lrwxrwxrwx 1 garrett garrett     23 Oct 27 17:10 libsfml-graphics.so -> libsfml-graphics.so.2.3
lrwxrwxrwx 1 garrett garrett     25 Oct 27 17:10 libsfml-graphics.so.2.3 -> libsfml-graphics.so.2.3.2
-rw-r--r-- 1 garrett garrett 366128 Sep 11 06:40 libsfml-graphics.so.2.3.2
lrwxrwxrwx 1 garrett garrett     22 Oct 27 17:10 libsfml-network.so -> libsfml-network.so.2.3
lrwxrwxrwx 1 garrett garrett     24 Oct 27 17:10 libsfml-network.so.2.3 -> libsfml-network.so.2.3.2
-rw-r--r-- 1 garrett garrett 142096 Sep 11 06:40 libsfml-network.so.2.3.2
lrwxrwxrwx 1 garrett garrett     21 Oct 27 17:10 libsfml-system.so -> libsfml-system.so.2.3
lrwxrwxrwx 1 garrett garrett     23 Oct 27 17:10 libsfml-system.so.2.3 -> libsfml-system.so.2.3.2
-rw-r--r-- 1 garrett garrett  74184 Sep 11 06:40 libsfml-system.so.2.3.2
lrwxrwxrwx 1 garrett garrett     21 Oct 27 17:10 libsfml-window.so -> libsfml-window.so.2.3
lrwxrwxrwx 1 garrett garrett     23 Oct 27 17:10 libsfml-window.so.2.3 -> libsfml-window.so.2.3.2
-rw-r--r-- 1 garrett garrett 186008 Sep 11 06:40 libsfml-window.so.2.3.2

And here is the contents of the include directory.

garrett@mint-desktop ~/Desktop/SFML-2.3.2/include/SFML $ ls -l
total 56
drwxr-xr-x 2 garrett garrett 4096 Oct 27 17:10 Audio
-rw-r--r-- 1 garrett garrett 2095 May  8 06:49 Audio.hpp
-rw-r--r-- 1 garrett garrett 5342 Sep 11 06:37 Config.hpp
drwxr-xr-x 2 garrett garrett 4096 Oct 27 17:10 Graphics
-rw-r--r-- 1 garrett garrett 2530 May  8 06:49 Graphics.hpp
-rw-r--r-- 1 garrett garrett 1521 May  8 06:49 Main.hpp
drwxr-xr-x 2 garrett garrett 4096 Oct 27 17:10 Network
-rw-r--r-- 1 garrett garrett 1982 May  8 06:49 Network.hpp
-rw-r--r-- 1 garrett garrett 2252 May  8 06:49 OpenGL.hpp
drwxr-xr-x 2 garrett garrett 4096 Oct 27 17:10 System
-rw-r--r-- 1 garrett garrett 2287 May  8 06:49 System.hpp
drwxr-xr-x 2 garrett garrett 4096 Oct 27 17:10 Window
-rw-r--r-- 1 garrett garrett 2046 May  8 06:49 Window.hpp

The files within each of these directories are just a lot of .hpp files.

What's a good place to place each of these directories or how can I configure g++ to search additional directories for includes and header files? Thanks.

Is there a configure script or Makefile or install script (maybe called "install.sh")? What about read-me files? If there is a Makefile, run "make install", ditto if there is an install script, run that (you may need to set the executable bits on it), ditto a configure script which you should run first if it exists. IE, best to post the contents of the root directory you downloaded to your desktop.

I placed all the .hpp files in /usr/local/include/ and everything seems to be working just fine. I also placed all the .so.x.x files in /usr/local/lib/ but they don't seem to have any affect on compling/linking. I can take away all permissions to the .so.x.x files in /usr/local/lib/ and my programs compile & link just fine. But if I change the permissions or place the .hpp files in /usr/local/include/ in a sub directory I start getting ld errors when compiling.
Trying to understand all this stuff with library files both static and dynamic as well as object files and header files is starting to make my head hurt. Can anyone clear this up for me? Thanks.

I'm pretty sure that SFML is installable through the linux mint repositories. Just open a terminal and type:

$ sudo apt-get install libsfml-dev
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.