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

Author Topic: [SOLVED]Cannot run tutorial code, dynamic linking. [SCREENS]  (Read 1844 times)

0 Members and 1 Guest are viewing this topic.

pleaq

  • Newbie
  • *
  • Posts: 5
    • View Profile
Hey, i've been on a long hiatus from sfml, since 1.6. And i've just now returned and tried to return to game making. I'm using Code::Blocks and 32bit sfml install.
(click to show/hide)

(click to show/hide)

Yes, I copy and pasted the DLL's to the .exe's location. Please help.
« Last Edit: July 31, 2015, 10:33:04 am by pleaq »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10976
    • View Profile
    • development blog
    • Email
AW: Cannot run tutorial code, dynamic linking. [SCREENS]
« Reply #1 on: July 31, 2015, 09:58:04 am »
Follow the lateat tutorial step by step, read every last word, especially the red boxes and it will work.

If you get multiple symbols you're probably linking SFML twice or similar.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

pleaq

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AW: Cannot run tutorial code, dynamic linking. [SCREENS]
« Reply #2 on: July 31, 2015, 10:13:00 am »
Follow the lateat tutorial step by step, read every last word, especially the red boxes and it will work.

If you get multiple symbols you're probably linking SFML twice or similar.

I seemed to have fixed the first error, but now i get this?
(click to show/hide)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10976
    • View Profile
    • development blog
    • Email
AW: Cannot run tutorial code, dynamic linking. [SCREENS]
« Reply #3 on: July 31, 2015, 10:25:39 am »
You probably use a none match version of SFML. Make sure header and library files are from the same version.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

pleaq

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AW: Cannot run tutorial code, dynamic linking. [SCREENS]
« Reply #4 on: July 31, 2015, 10:32:43 am »
You probably use a none match version of SFML. Make sure header and library files are from the same version.

Thank God for this man right here  ;D Turns out I was using the wrong SFML install compared to my Code::Blocks install. 4 hours well spent. Thank you so much, i can finally get back to this wonderful library.

[CLOSED]