News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Error: The procedure entry point __gxx_personality_v0 could not be located...

Started by henning1111, May 03, 2015, 06:09:24 PM

Previous topic - Next topic

henning1111

Hi everyone,

I'm working on a Code::Blocks project involving OpenCV (v2.3.1). I ran into this error when starting the program:

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

I tried both the Debug and Release configuration and copied all dll's from C:\Program Files (x86)\CodeBlocks\MinGW\bin into the exe directory of the program. There is no PATH variable pointing to another libstdc++-6.dll and there is no libstdc++-6.dll under C:\Windows\System32.

What am I missing? I would be super happy about anything that could point me in the right direction!!!

Thanks a lot!!
Henning

oBFusCATed

You're probably using gcc for linking c++ code. Change it to g++ and it will work.
This is done in the settings -> compiler -> toolchain executables
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Another reason might be that you mix dwarf code with sjlj. Stick with one compiler type for both: The library and your app.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

henning1111

Thanks! I checked the compiler setup and it looks like this:

.

I'm not sure about dwarf/sjlj but I'll look into that now.