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

Author Topic: undefined refrences to (Lots of different things)  (Read 1623 times)

0 Members and 1 Guest are viewing this topic.

kirkm89

  • Newbie
  • *
  • Posts: 3
    • View Profile
undefined refrences to (Lots of different things)
« on: December 07, 2014, 09:32:37 pm »
This new error comes up when trying to run the code given to me on the setup guide.


mingw32-g++.exe -DSFML_STATIC -IC:\Users\Kirk\Desktop\SFML-2.1\include -c C:\Users\Kirk\Desktop\test.cpp -o C:\Users\Kirk\Desktop\test.o
mingw32-g++.exe -LC:\Users\Kirk\Desktop\SFML-2.1\lib -o C:\Users\Kirk\Desktop\test.exe C:\Users\Kirk\Desktop\test.o   -lsfml-graphics-s-d -lsfml-window-s-d -lsfml-system-s-d
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(CircleShape.cpp.obj): In function `ZN2sf11CircleShapeC2Efj':
D:/developpement/sfml/sfml/src/SFML/Graphics/CircleShape.cpp:37: undefined reference to `_Unwind_Resume'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(CircleShape.cpp.obj):CircleShape.cpp:(.eh_frame+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj): In function `ZN2sf12RenderWindowC2Ev'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderWindow.cpp:35: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj): In function `ZN2sf12RenderWindowC2ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderWindow.cpp:42: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj): In function `ZN2sf12RenderWindowC2EP6HWND__RKNS_15ContextSettingsE'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderWindow.cpp:50: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj): In function `ZN2sf12RenderWindowD2Ev'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderWindow.cpp:58: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj): In function `ZNK2sf12RenderWindow7captureEv'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderWindow.cpp:98: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):d:/programmes/mingw32-4.7/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_vector.h:404: more undefined references to `_Unwind_Resume'
follow
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.eh_frame+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.eh_frame$_ZNSt6vectorIhSaIhEED1Ev+0x13): undefined reference to `__gxx_personality_v0'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.eh_frame$_ZNSt6vectorIhSaIhEEC1EjRKhRKS0_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.eh_frame$_ZNSt12_Vector_baseIhSaIhEED2Ev+0x13): undefined reference to `__gxx_personality_v0'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.eh_frame$_ZNSt12_Vector_baseIhSaIhEEC2EjRKS0_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj): In function `ZN2sf5ShapeD2Ev'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/Shape.cpp:58: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj): In function `ZN2sf5Shape10setTextureEPKNS_7TextureEb'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/Shape.cpp:74: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj): In function `ZNK2sf5Shape15getGlobalBoundsEv'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/Shape.cpp:155: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj): In function `ZN2sf5ShapeC2Ev'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/Shape.cpp:169: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj): In function `ZN2sf5Shape13updateOutlineEv'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/Shape.cpp:294: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj):D:/developpement/sfml/sfml/include/SFML/Graphics/VertexArray.hpp:45: more undefined references to `_Unwind_Resume'
follow
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj):Shape.cpp:(.eh_frame+0x6b): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj):Shape.cpp:(.eh_frame$_ZN2sf11VertexArrayD1Ev+0x13): undefined reference to `__gxx_personality_v0'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj):Shape.cpp:(.eh_frame$_ZNSt6vectorIN2sf6VertexESaIS1_EED1Ev+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Shape.cpp.obj):Shape.cpp:(.eh_frame$_ZNSt12_Vector_baseIN2sf6VertexESaIS1_EED2Ev+0x13): undefined reference to `__gxx_personality_v0'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderTarget.cpp.obj): In function `ZNK2sf12RenderTarget16mapPixelToCoordsERKNS_7Vector2IiEERKNS_4ViewE':
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderTarget.cpp:120: undefined reference to `_Unwind_Resume'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderTarget.cpp.obj): In function `ZNK2sf12RenderTarget16mapCoordsToPixelERKNS_7Vector2IfEERKNS_4ViewE':
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderTarget.cpp:141: undefined reference to `_Unwind_Resume'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderTarget.cpp.obj): In function `ZN2sf12RenderTarget10initializeEv':
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderTarget.cpp:331: undefined reference to `_Unwind_Resume'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderTarget.cpp.obj): In function `ZN2sf12RenderTarget16applyCurrentViewEv':
D:/developpement/sfml/sfml/src/SFML/Graphics/RenderTarget.cpp:350: undefined reference to `_Unwind_Resume'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(RenderTarget.cpp.obj):RenderTarget.cpp:(.eh_frame+0x167): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj): In function `ZN2sf5Image16flipHorizontallyEv'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/Image.cpp:291: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj): In function `ZN2sf5Image14flipVerticallyEv'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/Image.cpp:311: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj): In function `ZNKSt6vectorIhSaIhEE5emptyEv'
:
d:/programmes/mingw32-4.7/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_vector.h:715: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj): In function `ZNSt6vectorIhSaIhEEC1ERKS1_'
:
d:/programmes/mingw32-4.7/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_vector.h:309: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj): In function `ZNSt6vectorIhSaIhEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPhS1_EEjRKh'
:
d:/programmes/mingw32-4.7/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/vector.tcc:522: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj):d:/programmes/mingw32-4.7/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/vector.tcc:522: more undefined references to `_Unwind_Resume'
follow
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.eh_frame+0x203): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.eh_frame$_ZNKSt6vectorIhSaIhEE5emptyEv+0x13): undefined reference to `__gxx_personality_v0'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.eh_frame$_ZNSt6vectorIhSaIhEEC1ERKS1_+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.eh_frame$_ZNSt6vectorIhSaIhEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPhS1_EEjRKh+0x13): undefined reference to `__gxx_personality_v0'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(GLCheck.cpp.obj): In function `ZN2sf4priv12glCheckErrorEPKcj':
D:/developpement/sfml/sfml/src/SFML/Graphics/GLCheck.cpp:105: undefined reference to `_Unwind_Resume'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(GLCheck.cpp.obj):GLCheck.cpp:(.eh_frame+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj): In function `ZN2sf11VertexArrayC2Ev'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/VertexArray.cpp:37: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj): In function `ZN2sf11VertexArrayC2ENS_13PrimitiveTypeEj'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/VertexArray.cpp:45: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj): In function `ZN2sf11VertexArray6resizeEj'
:
D:/developpement/sfml/sfml/src/SFML/Graphics/VertexArray.cpp:81: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj): In function `ZNSt6vectorIN2sf6VertexESaIS1_EEC1EjRKS1_RKS2_'
:
d:/programmes/mingw32-4.7/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_vector.h:294: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj): In function `ZNKSt6vectorIN2sf6VertexESaIS1_EE5emptyEv'
:
d:/programmes/mingw32-4.7/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_vector.h:715: undefined reference to `_Unwind_Resume'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj):d:/programmes/mingw32-4.7/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_vector.h:136: more undefined references to `_Unwind_Resume'
follow
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj):VertexArray.cpp:(.eh_frame+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj):VertexArray.cpp:(.eh_frame$_ZNSt6vectorIN2sf6VertexESaIS1_EEC1EjRKS1_RKS2_+0x13): undefined reference to `__gxx_personality_v0'

C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj):VertexArray.cpp:(.eh_frame$_ZNKSt6vectorIN2sf6VertexESaIS1_EE5emptyEv+0x13): undefined reference to `__gxx_personality_v0'
C:\Users\Kirk\Desktop\SFML-2.1\lib/libsfml-graphics-s-d.a(VertexArray.cpp.obj):VertexArray.cpp:(.eh_frame$_ZNSt12_Vector_baseIN2sf6VertexESaIS1_EEC2EjRKS2_+0x13): undefined reference to `__gxx_personality_v0'

Process terminated with status 1 (0 minute(s), 2 second(s))
50 error(s), 0 warning(s) (0 minute(s), 2 second(s))
 

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: undefined refrences to (Lots of different things)
« Reply #1 on: December 07, 2014, 09:36:13 pm »
If you looked at the errors, you might notice almost all of them are complaining about "__gxx_personality_v0".  If you googled "undefined reference to `__gxx_personality_v0'", you would find sites telling you to use g++ instead of gcc, and some alternatives you can google yourself if g++ doesn't work.

 

anything