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

Author Topic: Linking to CodeBlocks  (Read 950 times)

0 Members and 1 Guest are viewing this topic.

Romans

  • Newbie
  • *
  • Posts: 5
    • View Profile
Linking to CodeBlocks
« on: February 09, 2019, 08:21:43 pm »
Hello! I founded this library in order to draw some polygons. I have followed the guide to link it with CodeBlocks (i have codeblocks with MinGW incorporated, so i have the libgcc_s_sjlj-1.dll. So i have downloaded the latest version GCC 5.1.0 TDM (SJLJ), but when i starrt the exmeple program (i also have the .dll on the .exe, .o and .cpp folder), it gives, for three times (i'm using graphics, system and windows): impossible to fin the ingress point __gxx_personality_v0 of mydir/sfml-system-2.dll and mydir/sfml-window-2.dll.

What i'm doing wrong? Thank you so much

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10835
    • View Profile
    • development blog
    • Email
Re: Linking to CodeBlocks
« Reply #1 on: February 10, 2019, 01:03:27 am »
The linked runtime is not matching. Either you copied the wrong GCC DLL or you're not using the same compiler that was used to build SFML.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Romans

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Linking to CodeBlocks
« Reply #2 on: February 10, 2019, 01:23:38 am »
ok i solved, it was that i haven't put openal32.dll in the .exe folder :)

 

anything