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

Author Topic: SFML CMake Linux question  (Read 2225 times)

0 Members and 1 Guest are viewing this topic.

vidjogamer

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
SFML CMake Linux question
« 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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML CMake Linux question
« Reply #1 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).
Laurent Gomila - SFML developer