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

Author Topic: SFML2 static linking with mingw32: undefined references.  (Read 24754 times)

0 Members and 2 Guests are viewing this topic.

.teri

  • Newbie
  • *
  • Posts: 28
    • View Profile
SFML2 static linking with mingw32: undefined references.
« on: August 12, 2011, 01:23:32 pm »
Well... I use WindowsXP with minw32. I've builded static libs without dynamic libs with success. I move the include libs at mingw include folder and i move the static libs with the ext static libs at mingw lib folder. I try compile a project using the static libs, but i got undefined refs when linking with the static libs. Am i doing something wrong? :S Thanks.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 static linking with mingw32: undefined references.
« Reply #1 on: August 12, 2011, 01:35:06 pm »
Can you showh what errors you get?

Quote
I move the include libs at mingw include folder and i move the static libs with the ext static libs at mingw lib folder

You don't need to care about the external libs, they are included in SFML's libs.
Laurent Gomila - SFML developer

.teri

  • Newbie
  • *
  • Posts: 28
    • View Profile
SFML2 static linking with mingw32: undefined references.
« Reply #2 on: August 13, 2011, 12:36:42 pm »
[code]

C:\Documents and Settings\.teri\Mis documentos\bangameengine>scons debug=1
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o bange.exe source\animation.o source\base.o source\behavior.o source\box.o source\drawable.o source\layer.o source\layerobject.o source\layertilemap.o source\main.o source\object.o source\register.o source\scene.o source\sfmlphysfs.o source\shape.o source\sprite.o source\text.o source\texture.o source\tile.o source\view.o source\vm.o -lphysfs -llua5.1 -lsfml-system-s -lsfml-window-s -lsfml-graphics-s -lsfml-audio-s
source\animation.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/animation.cpp:111: undefined reference to `_imp___ZN2sf6Sprite10SetSubRectERKNS_4RectIiEE'
source\animation.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/animation.cpp:112: undefined reference to `_imp___ZN2sf6Sprite5FlipXEb'
source\animation.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/animation.cpp:113: undefined reference to `_imp___ZN2sf6Sprite5FlipYEb'
source\animation.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/animation.cpp:114: undefined reference to `_imp___ZN2sf8Drawable9SetOriginERKNS_7Vector2IfEE'
source\box.o: In function `box':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:46: undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:60: undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKSsmRKNS_15ContextSettingsE'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:64: undefined reference to `_imp___ZN2sf6Window17SetFramerateLimitEj'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:68: undefined reference to `_imp___ZN2sf6Window15EnableKeyRepeatEb'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:72: undefined reference to `_imp___ZN2sf6Window18EnableVerticalSyncEb'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:108: undefined reference to `_imp___ZN2sf7Texture14GetMaximumSizeEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:134: undefined reference to `_imp___ZN2sf6Window5CloseEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:141: undefined reference to `_imp___ZN2sf6Window5CloseEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:145: undefined reference to `_imp___ZN2sf6Window5CloseEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:139: undefined reference to `_imp___ZN2sf6Window9PollEventERNS_5EventE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:167: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:167: undefined reference to `_imp___ZN2sf12RenderTarget5ClearERKNS_5ColorE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:185: undefined reference to `_imp___ZNK2sf6Window12GetFrameTimeEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:186: undefined reference to `_imp___ZNK2sf6Window12GetFrameTimeEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:193: undefined reference to `_imp___ZN2sf6Window7DisplayEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:128: undefined reference to `_imp___ZNK2sf6Window8IsOpenedEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:230: undefined reference to `_imp___ZN2sf8Keyboard12IsKeyPressedENS0_3KeyE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:242: undefined reference to `_imp___ZN2sf5Mouse11GetPositionERKNS_6WindowE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:253: undefined reference to `_imp___ZN2sf5Mouse15IsButtonPressedENS0_6ButtonE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:303: undefined reference to `_imp___ZN2sf8Joystick11IsConnectedEj'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:314: undefined reference to `_imp___ZN2sf8Joystick14GetButtonCountEj'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:326: undefined reference to `_imp___ZN2sf8Joystick7HasAxisEjNS0_4AxisE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:339: undefined reference to `_imp___ZN2sf8Joystick15IsButtonPressedEjj'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:352: undefined reference to `_imp___ZN2sf8Joystick15GetAxisPositionEjNS0_4AxisE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:371: undefined reference to `_imp___ZNK2sf6Window12GetFrameTimeEv'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/drawable.cpp:33: undefined reference to `_imp___ZN2sf8Drawable8SetColorERKNS_5ColorE'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/drawable.cpp:41: undefined reference to `_imp___ZN2sf8Drawable11SetPositionERKNS_7Vector2IfEE'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/drawable.cpp:49: undefined reference to `_imp___ZN2sf8Drawable9SetOriginERKNS_7Vector2IfEE'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/drawable.cpp:53: undefined reference to `_imp___ZN2sf8Drawable11SetRotationEf'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/drawable.cpp:61: undefined reference to `_imp___ZNK2sf8Drawable8GetColorEv'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/drawable.cpp:65: undefined reference to `_imp___ZNK2sf8Drawable11GetPositionEv'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/drawable.cpp:69: undefined reference to `_imp___ZNK2sf8Drawable9GetOriginEv'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/drawable.cpp:73: undefined reference to `_imp___ZNK2sf8Drawable11GetRotationEv'
source\drawable.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/include/auxiliar.hpp:59: undefined reference to `_imp___ZN2sf5ColorC1Ev'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:121: undefined reference to `_imp___ZN2sf12RenderTarget7SetViewERKNS_4ViewE'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:122: undefined reference to `_imp___ZN2sf12RenderTarget4DrawERKNS_8DrawableE'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:180: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:207: undefined reference to `_imp___ZN2sf5Shape9RectangleERKNS_4RectIfEERKNS_5ColorEfS7_'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:241: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:246: undefined reference to `_imp___ZN2sf5Shape6CircleERKNS_7Vector2IfEEfRKNS_5ColorEfS7_'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:286: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:291: undefined reference to `_imp___ZN2sf5Shape4LineERKNS_7Vector2IfEES4_fRKNS_5ColorEfS7_'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:314: undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'
source\layerobject.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layerobject.cpp:314: undefined reference to `_imp___ZN2sf4Text9SetStringERKNS_6StringE'
source\layerobject.o: In function `text':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/include/object.hpp:56: undefined reference to `_imp___ZN2sf4TextC2Ev'
source\layerobject.o: In function `~Shape':
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Shape.hpp:43: undefined reference to `_imp___ZTVN2sf5ShapeE'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Shape.hpp:43: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Shape.hpp:43: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
source\layertilemap.o: In function `layertilemap':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:37: undefined reference to `_imp___ZN2sf6SpriteC1Ev'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:37: undefined reference to `_imp___ZN2sf13RenderTextureC1Ev'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:37: undefined reference to `_imp___ZN2sf13RenderTextureD1Ev'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:80: undefined reference to `_imp___ZNK2sf13RenderTexture8GetWidthEv'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:80: undefined reference to `_imp___ZNK2sf13RenderTexture9GetHeightEv'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:81: undefined reference to `_imp___ZN2sf13RenderTexture6CreateEjjb'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:94: undefined reference to `_imp___ZNK2sf12RenderTarget14GetDefaultViewEv'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:94: undefined reference to `_imp___ZN2sf12RenderTarget7SetViewERKNS_4ViewE'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:97: undefined reference to `_imp___ZNK2sf4View9GetCenterEv'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:98: undefined reference to `_imp___ZNK2sf4View7GetSizeEv'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:112: undefined reference to `_imp___ZN2sf12RenderTarget7SetViewERKNS_4ViewE'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:113: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:113: undefined reference to `_imp___ZN2sf12RenderTarget5ClearERKNS_5ColorE'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:128: undefined reference to `_imp___ZN2sf12RenderTarget4DrawERKNS_8DrawableE'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:131: undefined reference to `_imp___ZN2sf13RenderTexture7DisplayEv'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:133: undefined reference to `_imp___ZNK2sf13RenderTexture10GetTextureEv'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:133: undefined reference to `_imp___ZN2sf6Sprite10SetTextureERKNS_7TextureEb'
source\layertilemap.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/layertilemap.cpp:134: undefined reference to `_imp___ZN2sf12RenderTarget4DrawERKNS_8DrawableE'
source\layertilemap.o: In function `~Sprite':
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Sprite.hpp:46: undefined reference to `_imp___ZTVN2sf6SpriteE'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Sprite.hpp:46: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Sprite.hpp:46: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
source\layertilemap.o:c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Resource.inl:76: undefined reference to `_imp___ZN2sf4LockC1ERNS_5MutexE'
source\layertilemap.o:c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Resource.inl:76: undefined reference to `_imp___ZN2sf4LockD1Ev'
source\layertilemap.o:c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Resource.inl:76: undefined reference to `_imp___ZN2sf4LockD1Ev'
source\layertilemap.o: In function `~layertilemap':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/include/layertilemap.hpp:32: undefined reference to `_imp___ZN2sf13RenderTextureD1Ev'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/include/layertilemap.hpp:32: undefined reference to `_imp___ZN2sf13RenderTextureD1Ev'
source\sfmlphysfs.o: In function `~InputStream':
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/InputStream.hpp:48: undefined reference to `_imp___ZTVN2sf11InputStreamE'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/InputStream.hpp:48: undefined reference to `_imp___ZTVN2sf11InputStreamE'
source\sfmlphysfs.o: In function `InputStream':
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/InputStream.hpp:41: undefined reference to `_imp___ZTVN2sf11InputStreamE'
source\shape.o: In function `shape':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/shape.cpp:26: undefined reference to `_imp___ZN2sf5ShapeC2Ev'
source\shape.o: In function `~Shape':
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Shape.hpp:43: undefined reference to `_imp___ZTVN2sf5ShapeE'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Shape.hpp:43: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Shape.hpp:43: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
source\sprite.o: In function `sprite':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/sprite.cpp:28: undefined reference to `_imp___ZN2sf6SpriteC2Ev'
source\sprite.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/sprite.cpp:54: undefined reference to `_imp___ZN2sf6Sprite10SetTextureERKNS_7TextureEb'
source\sprite.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/sprite.cpp:66: undefined reference to `_imp___ZN2sf6Sprite10SetSubRectERKNS_4RectIiEE'
source\sprite.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/sprite.cpp:84: undefined reference to `_imp___ZNK2sf6Sprite10GetSubRectEv'
source\sprite.o: In function `~Sprite':
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Sprite.hpp:46: undefined reference to `_imp___ZTVN2sf6SpriteE'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Sprite.hpp:46: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Sprite.hpp:46: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
source\text.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/text.cpp:29: undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'
source\text.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/text.cpp:29: undefined reference to `_imp___ZN2sf4Text9SetStringERKNS_6StringE'
source\text.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/text.cpp:38: undefined reference to `_imp___ZNK2sf4Text9GetStringEv'
source\text.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/text.cpp:38: undefined reference to `_imp___ZNK2sf6StringcvSsEv'
source\text.o: In function `~Text':
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Text.hpp:46: undefined reference to `_imp___ZTVN2sf4TextE'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Text.hpp:46: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/Graphics/Text.hpp:46: undefined reference to `_imp___ZN2sf8DrawableD2Ev'
source\text.o:c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Resource.inl:76: undefined reference to `_imp___ZN2sf4LockC1ERNS_5MutexE'
source\text.o:c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Resource.inl:76: undefined reference to `_imp___ZN2sf4LockD1Ev'
source\text.o:c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Resource.inl:76: undefined reference to `_imp___ZN2sf4LockD1Ev'
source\texture.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/texture.cpp:49: undefined reference to `_imp___ZN2sf7Texture12LoadFromFileERKSsRKNS_4RectIiEE'
source\texture.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/texture.cpp:69: undefined reference to `_imp___ZN2sf7Texture14LoadFromStreamERNS_11InputStreamERKNS_4RectIiEE'
source\texture.o: In function `texture':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/include/texture.hpp:30: undefined reference to `_imp___ZN2sf7TextureC2Ev'
source\texture.o: In function `~texture':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/include/texture.hpp:30: undefined reference to `_imp___ZN2sf7TextureD2Ev'
source\tile.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/tile.cpp:65: undefined reference to `_imp___ZN2sf8Drawable11SetPositionERKNS_7Vector2IfEE'
source\view.o: In function `view':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:28: undefined reference to `_imp___ZN2sf4ViewC2ERKNS_7Vector2IfEES4_'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:36: undefined reference to `_imp___ZN2sf4View11SetViewportERKNS_4RectIfEE'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:43: undefined reference to `_imp___ZN2sf4View7SetSizeERKNS_7Vector2IfEE'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:50: undefined reference to `_imp___ZN2sf4View9SetCenterERKNS_7Vector2IfEE'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:53: undefined reference to `_imp___ZN2sf4View11SetRotationEf'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:61: undefined reference to `_imp___ZNK2sf4View11GetViewportEv'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:65: undefined reference to `_imp___ZNK2sf4View7GetSizeEv'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:69: undefined reference to `_imp___ZNK2sf4View9GetCenterEv'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:73: undefined reference to `_imp___ZNK2sf4View11GetRotationEv'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:131: undefined reference to `_imp___ZN2sf4View6RotateEf'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:143: undefined reference to `_imp___ZN2sf4View4MoveERKNS_7Vector2IfEE'
source\view.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/view.cpp:155: undefined reference to `_imp___ZN2sf4View4ZoomEf'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Sprite.cpp.obj):Sprite.cpp:(.text+0x3cf): undefined reference to `sf::Lock::Lock(sf::Mutex&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Sprite.cpp.obj):Sprite.cpp:(.text+0x3ec): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Sprite.cpp.obj):Sprite.cpp:(.text+0x468): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Sprite.cpp.obj):Sprite.cpp:(.text+0x4be): undefined reference to `sf::Lock::Lock(sf::Mutex&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Sprite.cpp.obj):Sprite.cpp:(.text+0x4d8): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Sprite.cpp.obj):Sprite.cpp:(.text+0x53e): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x26): undefined reference to `sf::String::IsEmpty() const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x36f): undefined reference to `sf::String::GetSize()
const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x386): undefined reference to `sf::String::operator[](unsigned int) const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x663): undefined reference to `sf::String::operator=(sf::String const&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x71b): undefined reference to `sf::String::GetSize()
const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x7de): undefined reference to `sf::String::operator[](unsigned int) const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x88f): undefined reference to `sf::String::GetSize()
const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x905): undefined reference to `sf::String::IsEmpty()
const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x9f3): undefined reference to `sf::String::GetSize()
const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xa0a): undefined reference to `sf::String::operator[](unsigned int) const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xca3): undefined reference to `sf::String::String()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xcc6): undefined reference to `sf::Lock::Lock(sf::Mutex&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xce6): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xd4d): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xda0): undefined reference to `sf::Lock::Lock(sf::Mutex&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xe21): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xe48): undefined reference to `sf::Lock::Lock(sf::Mutex&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xe68): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xf09): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xf3f): undefined reference to `sf::String::String()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xf64): undefined reference to `sf::Lock::Lock(sf::Mutex&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xf84): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0xfd5): undefined reference to `sf::String::operator=(sf::String const&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text+0x101a): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text$_ZN2sf4TextD1Ev[sf::Text::~Text()]+0x32): undefined reference to `sf::Lock::Lock(sf::Mutex&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text$_ZN2sf4TextD1Ev[sf::Text::~Text()]+0x9a): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text$_ZN2sf4TextD0Ev[sf::Text::~Text()]+0x32): undefined reference to `sf::Lock::Lock(sf::Mutex&)'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Text.cpp.obj):Text.cpp:(.text$_ZN2sf4TextD0Ev[sf::Text::~Text()]+0x9e): undefined reference to `sf::Lock::~Lock()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0xe): undefined reference to `sf::GlResource::GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x11e): undefined reference to `glDisable@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x12b): undefined reference to `glDisable@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x138): undefined reference to `glEnable@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x145): undefined reference to `glEnable@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x15a): undefined reference to `glAlphaFunc@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x169): undefined reference to `glMatrixMode@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x16f): undefined reference to `glLoadIdentity@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x17b): undefined reference to `glMatrixMode@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x181): undefined reference to `glLoadIdentity@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x1b6): undefined reference to `glPushAttrib@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x1c3): undefined reference to `glMatrixMode@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x1c9): undefined reference to `glPushMatrix@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x1d5): undefined reference to `glMatrixMode@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x1e7): undefined reference to `glPopAttrib@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x1f3): undefined reference to `glMatrixMode@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x1f9): undefined reference to `glPopMatrix@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x205): undefined reference to `glMatrixMode@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x25d): undefined reference to `glClearColor@16'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x26c): undefined reference to `glClear@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x41a): undefined reference to `glMatrixMode@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x426): undefined reference to `glLoadMatrixf@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x524): undefined reference to `glViewport@16'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x59f): undefined reference to `glEnable@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x5fc): undefined reference to `glBlendFunc@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x634): undefined reference to `glDisable@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x64c): undefined reference to `glBlendFunc@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x668): undefined reference to `glBlendFunc@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x6e0): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x78c): undefined reference to `glBegin@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x79c): undefined reference to `glBegin@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x7ac): undefined reference to `glBegin@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x7c0): undefined reference to `glBegin@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x828): undefined reference to `glColor4f@16'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x839): undefined reference to `glTexCoord2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x84e): undefined reference to `glVertex2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x8ac): undefined reference to `glColor4f@16'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x8c1): undefined reference to `glTexCoord2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x8d6): undefined reference to `glVertex2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x96b): undefined reference to `glColor4f@16'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x97c): undefined reference to `glTexCoord2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x991): undefined reference to `glVertex2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0xa27): undefined reference to `glColor4f@16'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0xa3c): undefined reference to `glTexCoord2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0xa51): undefined reference to `glVertex2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0xac0): undefined reference to `glColor4f@16'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0xad5): undefined reference to `glTexCoord2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0xaea): undefined reference to `glVertex2f@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x1dc): undefined reference to `glPushMatrix@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x20c): undefined reference to `glPopMatrix@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp:(.text+0x7d0): undefined reference to `glEnd@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1c): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc9): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xf7): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x127): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x13a): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x154): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x26b): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x28c): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x2a5): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x2f5): undefined reference to `glTexImage2D@36'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x314): undefined reference to `glTexParameteri@12'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x333): undefined reference to `glTexParameteri@12'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x35c): undefined reference to `glTexParameteri@12'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x385): undefined reference to `glTexParameteri@12'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x39b): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x3bb): undefined reference to `glGenTextures@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x517): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x537): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x5a6): undefined reference to `glTexSubImage2D@36'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x5cd): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x5e4): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x5f7): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x60d): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x656): undefined reference to `glTexSubImage2D@36'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x6d8): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x6eb): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x701): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x747): undefined reference to `glTexSubImage2D@36'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x761): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x792): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x7a5): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x7bb): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x802): undefined reference to `glTexSubImage2D@36'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x81c): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x86f): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x882): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x898): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x8e1): undefined reference to `glTexSubImage2D@36'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x8fb): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x94f): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x962): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x978): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x9bf): undefined reference to `glTexSubImage2D@36'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x9d9): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xa14): undefined reference to `sf::Window::SetActive(bool) const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xa2b): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xa41): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xa4c): undefined reference to `sf::Window::GetHeight() const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xa56): undefined reference to `sf::Window::GetWidth() const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xa92): undefined reference to `glCopyTexSubImage2D@32'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xaac): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xae8): undefined reference to `sf::Window::SetActive(bool) const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xaff): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xb15): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xb20): undefined reference to `sf::Window::GetHeight() const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xb2a): undefined reference to `sf::Window::GetWidth() const'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xb64): undefined reference to `glCopyTexSubImage2D@32'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xb7e): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xba8): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xbd9): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xbec): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc02): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc28): undefined reference to `glTexParameteri@12'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc4e): undefined reference to `glTexParameteri@12'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc64): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xd5b): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xd6e): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xd87): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xf38): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xf4b): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xff4): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1022): undefined reference to `glGetTexImage@20'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1097): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x11e5): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1213): undefined reference to `glGetTexImage@20'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1282): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x128a): undefined reference to `sf::GlResource::GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1316): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x131e): undefined reference to `sf::GlResource::GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x13c8): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x145b): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1474): undefined reference to `glDeleteTextures@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x147f): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x14ac): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x14cf): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x150f): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1528): undefined reference to `glDeleteTextures@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1533): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1560): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1580): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text$_ZN2sf8ResourceINS_7TextureEED2Ev[sf::Resource<sf::Texture>::~Resource()]+0x34): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x2c5): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x891): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x8f1): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x96d): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0xa7d): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0xadd): more undefined references to `sf::Err()' follow
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0xf72): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0xffd): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x1059): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x10d9): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x114a): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x1290): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x13fc): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x14d6): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x171c): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text$_ZN2sf8ResourceINS_4FontEED2Ev[sf::Resource<sf::Font>::~Resource()]+0x34): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x1db): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x1ef): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x20e): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x228): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x242): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x25c): more undefined references to `wglGetProcAddress@4' follow
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x78fd): undefined reference to `glGetString@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7a61): undefined reference to `glGetString@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7a9f): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7ab3): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7ad4): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7aee): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7b28): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7b3c): more undefined references to `wglGetProcAddress@4'
follow
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x1520f): undefined reference to `glGetString@4'
c:

.teri

  • Newbie
  • *
  • Posts: 28
    • View Profile
SFML2 static linking with mingw32: undefined references.
« Reply #3 on: August 13, 2011, 12:40:13 pm »
Code: [Select]


c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xbd9): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xbec): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc02): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc28): undefined reference to `glTexParameteri@12'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc4e): undefined reference to `glTexParameteri@12'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xc64): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xd5b): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xd6e): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xd87): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xf38): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xf4b): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0xff4): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1022): undefined reference to `glGetTexImage@20'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1097): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x11e5): undefined reference to `glBindTexture@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1213): undefined reference to `glGetTexImage@20'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1282): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x128a): undefined reference to `sf::GlResource::GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1316): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x131e): undefined reference to `sf::GlResource::GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x13c8): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x145b): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1474): undefined reference to `glDeleteTextures@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x147f): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x14ac): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x14cf): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x150f): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1528): undefined reference to `glDeleteTextures@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1533): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1560): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text+0x1580): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Texture.cpp.obj):Texture.cpp:(.text$_ZN2sf8ResourceINS_7TextureEED2Ev[sf::Resource<sf::Texture>::~Resource()]+0x34): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x2c5): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x891): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x8f1): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x96d): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0xa7d): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0xadd): more undefined references to `sf::Err()' follow
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0xf72): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0xffd): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x1059): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x10d9): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x114a): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x1290): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x13fc): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x14d6): undefined reference to `sf::Mutex::Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text+0x171c): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Font.cpp.obj):Font.cpp:(.text$_ZN2sf8ResourceINS_4FontEED2Ev[sf::Resource<sf::Font>::~Resource()]+0x34): undefined reference to `sf::Mutex::~Mutex()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x1db): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x1ef): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x20e): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x228): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x242): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x25c): more undefined references to `wglGetProcAddress@4' follow
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x78fd): undefined reference to `glGetString@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7a61): undefined reference to `glGetString@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7a9f): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7ab3): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7ad4): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7aee): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7b28): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x7b3c): more undefined references to `wglGetProcAddress@4'
follow
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x1520f): undefined reference to `glGetString@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x15262): undefined reference to `wglGetCurrentDC@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x152c5): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x152d7): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x152f0): undefined reference to `wglGetCurrentDC@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x1536a): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x153a9): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x153be): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x153e1): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x153fb): undefined reference to `wglGetProcAddress@4'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(glew.c.o):glew.c:(.text+0x15415): more undefined references to `wglGetProcAddress@4' follow
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0xf): undefined reference to `sf::GlResource::GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x6d): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0xcd): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x18d): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x1f5): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x2b5): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x325): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x3e5): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x459): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x524): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x58d): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x67d): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x69c): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x759): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x7ef): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x80b): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x850): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x855): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x871): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0xac9): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0xc73): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x105a): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x1444): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x147c): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x14df): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x14ff): undefined reference to `sf::GlResource::GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x15c1): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x1631): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x1667): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x16d0): undefined reference to `sf::GlResource::~GlResource()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x1711): undefined reference to `sf::GlResource::EnsureGlContext()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x1778): undefined reference to `glGetIntegerv@8'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x17c9): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp:(.text+0x184d): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(GLCheck.cpp.obj):GLCheck.cpp:(.text+0xd): undefined reference to `glGetError@0'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(GLCheck.cpp.obj):GLCheck.cpp:(.text+0xab): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(Image.cpp.obj):Image.cpp:(.text+0x4a3): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp:(.text+0x115ce): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp:(.text+0x12401): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp:(.text+0x124dc): undefined reference to `sf::Err()'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp:(.text+0x126e6): more undefined references to `sf::Err()' follow
collect2: ld returned 1 exit status
scons: *** [bange.exe] Error 1
scons: building terminated because of errors.



The errors seems be related with sfml-graphics module.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 static linking with mingw32: undefined references.
« Reply #4 on: August 13, 2011, 06:24:41 pm »
The order in which you provide the SFML libraries to the linker is wrong. Please read the tutorial carefully.
Laurent Gomila - SFML developer

.teri

  • Newbie
  • *
  • Posts: 28
    • View Profile
SFML2 static linking with mingw32: undefined references.
« Reply #5 on: August 13, 2011, 10:13:35 pm »
No. Issue not solved. I still get undefined references.

Code: [Select]

g++ -o bange.exe source\animation.o source\base.o source\behavior.o source\box.o source\drawable.o source\layer.o source\layerobject.o source\layertilemap.o source\main.o source\object.o source\register.o source\scene.o source\sfmlphysfs.o
source\shape.o source\sprite.o source\text.o source\texture.o source\tile.o source\view.o source\vm.o -lphysfs -llua5.1 -lsfml-graphics-s -lsfml-window-s -lsfml-system-s
source\animation.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/animation.cpp:111: undefined reference to `_imp___ZN2sf6Sprite10SetSubRectERKNS_4RectIiEE'
source\animation.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/animation.cpp:112: undefined reference to `_imp___ZN2sf6Sprite5FlipXEb'
source\animation.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/animation.cpp:113: undefined reference to `_imp___ZN2sf6Sprite5FlipYEb'
source\animation.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/animation.cpp:114: undefined reference to `_imp___ZN2sf8Drawable9SetOriginERKNS_7Vector2IfEE'
source\box.o: In function `box':
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:46:
undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:60:
undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKSsmRKNS_15ContextSettingsE'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:64:
undefined reference to `_imp___ZN2sf6Window17SetFramerateLimitEj'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:68:
undefined reference to `_imp___ZN2sf6Window15EnableKeyRepeatEb'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:72:
undefined reference to `_imp___ZN2sf6Window18EnableVerticalSyncEb'
C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:108: undefined reference to `_imp___ZN2sf7Texture14GetMaximumSizeEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:134: undefined reference to `_imp___ZN2sf6Window5CloseEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:141: undefined reference to `_imp___ZN2sf6Window5CloseEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:145: undefined reference to `_imp___ZN2sf6Window5CloseEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:139: undefined reference to `_imp___ZN2sf6Window9PollEventERNS_5EventE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:167: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:167: undefined reference to `_imp___ZN2sf12RenderTarget5ClearERKNS_5ColorE'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:185: undefined reference to `_imp___ZNK2sf6Window12GetFrameTimeEv'
source\box.o:C:\Documents and Settings\.teri\Mis documentos\bangameengine/source/box.cpp:186: undefined reference to `_imp___ZNK2sf6Window12GetFrameTimeEv'
(...)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 static linking with mingw32: undefined references.
« Reply #6 on: August 13, 2011, 10:17:16 pm »
Ah... add -DSFML_STATIC to your command line. This one is not explained in the tutorial ;)
Laurent Gomila - SFML developer

.teri

  • Newbie
  • *
  • Posts: 28
    • View Profile
SFML2 static linking with mingw32: undefined references.
« Reply #7 on: August 13, 2011, 10:33:38 pm »
Quote from: "Laurent"
Ah... add -DSFML_STATIC to your command line. This one is not explained in the tutorial ;)


Yeah. I've tried add -SDML_STATIC and finally i have the project builded! When you are working in a OS that isn't Windows, you don't have these problems.
Thanks by help me.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
SFML2 static linking with mingw32: undefined references.
« Reply #8 on: August 13, 2011, 11:27:04 pm »
Quote from: ".teri"
When you are working in a OS that isn't Windows, you don't have these problems.
You just don't have this problem on Linux because you usually don't link statically. Same on Windows, if you use dynamic linkage... Interestingly, some time ago there was SFML_DYNAMIC, which led to the same problem on Linux ;)

The only unfortunate thing is that there is no remark in the installation tutorial, I think it could be directly added at the "BUILD_SHARED_LIBS" explanation.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 static linking with mingw32: undefined references.
« Reply #9 on: August 14, 2011, 09:43:14 am »
Quote
You just don't have this problem on Linux because you usually don't link statically.

In fact only Windows requires specific compiler keywords for dynamic import/export, therefore SFML_STATIC/DYNAMIC is used only on Windows. Unixes can link to either static or dynamic libraries without any difference.

Quote
The only unfortunate thing is that there is no remark in the installation tutorial, I think it could be directly added at the "BUILD_SHARED_LIBS" explanation.

Nop. This thing belongs to the "getting started" tutorial, not to "compiling SFML" ;)
Laurent Gomila - SFML developer

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
SFML2 static linking with mingw32: undefined references.
« Reply #10 on: August 14, 2011, 10:38:07 am »
Quote from: "Laurent"
Unixes can link to either static or dynamic libraries without any difference.
Okay, thanks for the explanation.

Quote from: "Laurent"
Nop. This thing belongs to the "getting started" tutorial, not to "compiling SFML" ;)
I thought it might be good to directly see the implications of building static/shared libraries. But you're right, it would be better in a separate tutorial. At least if you write one :P
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 static linking with mingw32: undefined references.
« Reply #11 on: August 14, 2011, 10:57:59 am »
All the 1.6 tutorials will be ported to 2.0, of course ;)

I won't leave the 2.0 section with only a single tutorial, about compiling SFML.
Laurent Gomila - SFML developer

Silvah

  • Guest
SFML2 static linking with mingw32: undefined references.
« Reply #12 on: August 14, 2011, 06:13:56 pm »
Quote from: "Laurent"
In fact only Windows requires specific compiler keywords for dynamic import/export, therefore SFML_STATIC/DYNAMIC is used only on Windows. Unixes can link to either static or dynamic libraries without any difference.
In fact it's possible to get by without that stuff on Windows: GNU toolchain by defaults exports all visible symbols if no DEF file and/or dllexport was used; and it knows the magic needed to link dynamic library with code that expects static library, see the "pseudo relocation" thing (I wonder why nobody else supports these niceties). So Windows can link to either static or dynamic libraries without any difference, too ;)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 static linking with mingw32: undefined references.
« Reply #13 on: August 14, 2011, 11:21:42 pm »
Yes, but gcc triggers a warning for pseudo-relocation -- which is solved by explicit import/export. I don't know what it involves though.
Laurent Gomila - SFML developer

Silvah

  • Guest
SFML2 static linking with mingw32: undefined references.
« Reply #14 on: August 15, 2011, 05:14:01 pm »
It's actually the linker what triggers that warning, and if it does, it means that it's outdated, as pseudo relocations version 2 (the version that fixed the problems linker was warning about) are the default in recent GNU ld ;)