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

Author Topic: SFML Link Error  (Read 670 times)

0 Members and 1 Guest are viewing this topic.

Ophi

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
SFML Link Error
« on: May 25, 2015, 01:31:05 pm »
Hello. I created a thread on http://www.cplusplus.com/forum/general/165826/. A user suggested I create a post here to get help from individuals who may be more knowledgeable in SFML, so here I am.

I thank you in advance for all and any help. :)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10838
    • View Profile
    • development blog
    • Email
AW: SFML Link Error
« Reply #1 on: May 25, 2015, 02:52:57 pm »
You want to link dynamically use no suffix for release builds and the -d suffix for the debug libs. Also do not define SFML_STATIC, that's what most likely caused the issue in the first place.

If you want to link statically you need to use the -s suffix for release libs and -s-d for debug. And for static you need to define SFML_STATIC.

Read the official tutorial carefully, everything is explained there.

Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/