Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SOLVED] Entrypoint __gxx_personality_v0 not found. dwarf2  (Read 1602 times)

0 Members and 1 Guest are viewing this topic.

Marcel

  • Guest
Hi everyone,

EDIT:
Ok, never mind. This seems to be an IDE issue. Starting the program outside the IDE works just fine!

I've built SFML 2 with CMake and the latest mingw
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.7.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-
with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.7.2 (GCC)
 
--disable-sjlj-exceptions --with-dwarf2

When I compile the SFML sample program, everything works fine. But starting the programm crashes with this error message:
entrypoint "__gxx_personality_v0" could not be found in sfml-graphics-d-2.dll

I don't know how this is possible. I compiled SFML 2 and the Project with MinGW.

adding -lstdc++ didn't help :( And shouldn't be needed I guess?! I am compiling with codelite IDE:
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f  "SFMLTest_wsp.mk""
----------Building project:[ SFMLTest - Debug ]----------
mingw32-make[1]: Entering directory `D:/Development/workspaces/SFMLTest'
g++  -c  "D:/Development/workspaces/SFMLTest/main.cpp" -g -O0 -Wall   -o ./Debug/main.o -I. -I. -ID:/Development/SFML/source/include
g++ -o ./Debug/SFMLTest @"SFMLTest.txt" -L. -LD:/Development/SFML/lib/debug_shared  -lsfml-graphics-d -lsfml-window-d -lsfml-system-d
mingw32-make[1]: Leaving directory `D:/Development/workspaces/SFMLTest'
0 errors, 0 warnings
 

Maybe I forgot something stupid. Hope someone can help me out :)
« Last Edit: May 14, 2013, 10:27:47 pm by Marcel »