It works!!! I compiled sfml with my compiler. With my sfml libs it works fine. So, i build tgui and sfml with my compiler and linked to my project. Texus thx for help and this cool library!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteDid you compile sfml yourself as well (with the same compiler)?I use the libraries, downloaded from the official site. So, i must try to compile sfml with my compiler?
QuotePerhaps you can try with the tgui precompiled libraries. It also includes the sfml libraries, so you'll be sure that the libraries are compatible. And they has been tested with MinGW 4.7.1-TDM.I tried to execute my app with the tgui precompiled libraries and with included sfml libraries, but the result is same as before. I noticed, that the app requires at once libgcc_s_dw2-1.dll and libgcc_s_sjlj-1.dll. How he can require two different libraries at once? I compiled the main app with one compiler.
QuoteYou should check which compiler is being used to compile tgui and your project.I checked these options. For cmake the compiler is g++.exe and gcc.exe. The default compiler in CodeBlocks is mingw32-gcc.exe and mingw32-g++.exe. These compilers are in same folder.
In CMake check the 'Advanced' option and have a look at which compiler is being used.
Also have a look at you codeblocks settings and look at which compiler it uses.
These should be the same folder, and it has to be the folder from where you copied the libstdc++-6.dll from.
QuoteAlso, what happens if you don't put that dll next to the exe?I get the same error, but the procedure is gxx_personality_sj0
QuoteDid you by any chance copy libstdc++-6.dll next to your executable? (I think I've seen this problem before when someone copied the wrong libstdc++-6.dll next to its program)
QuoteDo you have multiple MinGW compilers on your pc?Yes, at least two compilers / IDE