SFML community forums

Help => General => Topic started by: Romans on February 09, 2019, 08:21:43 pm

Title: Linking to CodeBlocks
Post by: Romans 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
Title: Re: Linking to CodeBlocks
Post by: eXpl0it3r 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.
Title: Re: Linking to CodeBlocks
Post by: Romans on February 10, 2019, 01:23:38 am
ok i solved, it was that i haven't put openal32.dll in the .exe folder :)