Author Topic: .dll problems with wxWidgets  (Read 3564 times)

Offline infomath

  • Single posting newcomer
  • *
  • Posts: 2
.dll problems with wxWidgets
« on: March 26, 2013, 02:35:46 pm »
After several (now solved) problems, I still have one last issue to fix to finally get wxWdgets and code::blocks work together.

When I try to build a wxWidget project, I get this error message :

"The procedure entry point__gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll. "

I tried to reinstall minGW. I also tried to build, compile and run other types of c++ projects to see if the problem was still there and it wasn't. It really seems to be affecting only wxWidget projects.

Thank you for your help :)

----EDIT----
It seems that it comes from a previous Qt installation. I removed Qt from the path and renamed the old libstdc++-6.dll in the qt's directory. It still doesn't work.....
« Last Edit: March 26, 2013, 02:56:08 pm by infomath »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7596
    • My Best Post
Re: .dll problems with wxWidgets
« Reply #1 on: March 26, 2013, 02:52:54 pm »
1. Turn on and read the full compiler log in CB "Build Log"
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
2. Verify you are linking with g++ instead of gcc
3. Verify the wxWidgets library is compatible with your Compiler!
    [Verify the same exact version of MinGW Compiler built with the same build type options(This is done by the Compiler builder; not the end user).]
    The ABI should (and often must) match for libraries used by a Compiler (The compiler builder sets the default; that the end user can override).
    The mixing of SJLJ and non SJLJ tends to NOT work (The compiler builder sets this option for the Compiler).
    The mixing of Dwarf and non-Dwarf tends to NOT work (The compiler builder sets this option for the Compiler).

NOTE: This thread is likely to be locked; because it is NOT a Code::Blocks issue.

http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Tim S.
« Last Edit: March 26, 2013, 03:04:28 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org