SFML community forums

General => General discussions => Topic started by: vidjogamer on May 02, 2011, 10:13:43 am

Title: SFML CMake Linux question
Post by: vidjogamer on May 02, 2011, 10:13:43 am
Why does it build 3 copies of each library? Are they different at all?

Quote
libsfml-audio.so        libsfml-graphics.so.2.0    libsfml-network.so.2.0.0  libsfml-window.so
libsfml-audio.so.2.0    libsfml-graphics.so.2.0.0  libsfml-system.so         libsfml-window.so.2.0
libsfml-audio.so.2.0.0  libsfml-network.so         libsfml-system.so.2.0     libsfml-window.so.2.0.0
libsfml-graphics.so     libsfml-network.so.2.0     libsfml-system.so.2.0.0
Title: SFML CMake Linux question
Post by: Laurent on May 02, 2011, 11:07:00 am
It's not 3 copies, the library is libsfml-xxx.so.2.0.0 and the 2 others are symbolic links that point to it. This is the standard way of handling libraries in Linux, so that you don't mess up with version numbers (your application links to libsfml-xxx.so, not libsfml-xxx.so.2.0.0).