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

Author Topic: _ZN2sf11CircleShapeC1Efj not found in dll  (Read 2997 times)

0 Members and 2 Guests are viewing this topic.

Rhubarb

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
_ZN2sf11CircleShapeC1Efj not found in dll
« on: September 23, 2024, 02:41:29 pm »
Hello, I have this trouble, when I'm trying to compile the template code from sfml website:
[FR] Le point d'entrée de procédure _ZN2sf11CircleShapeC1Efj est introuvable dans la bibliothèque de liaisons dynamique sfml-graphics-2.dll
I compile with g++ here's the command:
g++ src\main.cpp -Iinclude\ -Llib\ -o main
OS:
Windows XP Pro SP3 32-Bit
The compilation works but this happens when launching the app.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
Re: _ZN2sf11CircleShapeC1Efj not found in dll
« Reply #1 on: September 23, 2024, 03:57:10 pm »
Windows XP ;D

Your command doesn't link SFML itself, you need to add -lsfml-graphics -lsfml-window -lsfml-system
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Rhubarb

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: _ZN2sf11CircleShapeC1Efj not found in dll
« Reply #2 on: September 23, 2024, 04:13:27 pm »
I did it, but it didn't change anything :(

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
Re: _ZN2sf11CircleShapeC1Efj not found in dll
« Reply #3 on: September 23, 2024, 04:24:49 pm »
What libraries have you used/downloaded?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Rhubarb

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: _ZN2sf11CircleShapeC1Efj not found in dll
« Reply #4 on: September 23, 2024, 04:52:38 pm »
the GCC 13.1.0 MinGW (DW2) - 32-bit one

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
Re: _ZN2sf11CircleShapeC1Efj not found in dll
« Reply #5 on: September 24, 2024, 08:10:00 am »
And did you download the matching compiler as well?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/