Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: henning1111 on May 03, 2015, 06:09:24 pm
-
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
-
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
-
Another reason might be that you mix dwarf code with sjlj. Stick with one compiler type for both: The library and your app.
-
Thanks! I checked the compiler setup and it looks like this:
(http://i.imgur.com/fILfZps.jpg).
I'm not sure about dwarf/sjlj but I'll look into that now.