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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kirkm89

Pages: [1]
1
General / 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))
 

2
General / Re: AW: undefined refrences to
« on: December 07, 2014, 08:07:27 pm »
-DSMFL_STATIC

I don't any library that's called SMFL. ;)
I don't know what you mean by that cause in linker I set it up EXACTLY like it told me to.

3
General / undefined refrences to
« on: December 07, 2014, 10:58:23 am »
I am getting this error when running the code given to me on setup guide.

mingw32-g++.exe -DSMFL_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\test.o:test.cpp:(.text+0x10e): undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x13e): undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x18c): undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x1d6): undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x1f1): undefined reference to `_imp___ZN2sf5Color5GreenE'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x1fb): undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x223): undefined reference to `_imp___ZN2sf6Window5closeEv'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x245): undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x281): undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x29c): undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x2b9): undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x2cd): undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x2e9): undefined reference to `_imp___ZN2sf6Window7displayEv'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x2f8): undefined reference to `_imp___ZNK2sf6Window6isOpenEv'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x33a): undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x39a): undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text+0x430): undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0xe): undefined reference to `_imp___ZTVN2sf11CircleShapeE'

C:\Users\Kirk\Desktop\test.o:test.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0x1c): undefined reference to `_imp___ZTVN2sf11CircleShapeE'
C:\Users\Kirk\Desktop\test.o:test.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0x2c): undefined reference to `_imp___ZN2sf5ShapeD2Ev'

collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
20 error(s), 0 warning(s) (0 minute(s), 1 second(s))

Pages: [1]