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

Author Topic: Undefined reference to «std::ios_base_library_init()@GLIBCXX_3.4.32»  (Read 65 times)

0 Members and 1 Guest are viewing this topic.

xolatgames

  • Newbie
  • *
  • Posts: 6
  • A game developer 🎮 👨🏻‍🔧
    • View Profile
    • xolatgames
Hello people! ✌🏼 I have a little problem when I compiles my project. During the compilation process I gets the following error:



Before this I used Manjaro (Arch-based distro) which include the latest versions of packages by default. Now I use Debian.

I use SFML 2.6.2 version (which I downloaded from the official website)

If I uses SFML version from the Debian repository (which is deprecated), I gets this errors:



Anyone has some idea? I need everything to works 🙂

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11075
    • View Profile
    • development blog
    • Email
It basically means that the downloaded SFML binaries are incompatible with your system.
This is the bane of Linux distros. It seems to use different GLIB versions.

To resolve this, you need to either use SFML 2.5.1 from the official package manager, switch to Debian testing and use the 2.6.2 version provided there, or build SFML yourself.

Alternatively, you could also use the SFML CMake template, though it has already been updated to SFML 3: https://github.com/SFML/cmake-sfml-project
Official FAQ: https://www.sfml-dev.org/faq/
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

xolatgames

  • Newbie
  • *
  • Posts: 6
  • A game developer 🎮 👨🏻‍🔧
    • View Profile
    • xolatgames
It basically means that the downloaded SFML binaries are incompatible with your system.
This is the bane of Linux distros. It seems to use different GLIB versions.

To resolve this, you need to either use SFML 2.5.1 from the official package manager, switch to Debian testing and use the 2.6.2 version provided there, or build SFML yourself.

Alternatively, you could also use the SFML CMake template, though it has already been updated to SFML 3: https://github.com/SFML/cmake-sfml-project

Thanks so much! 😄 I'd just switched to testing version of Debian 👍🏼 . And now I have latest versions of the packages 😃

P.S: And everything compiled!

 

anything