Sign in to follow this  
Enalis

OpenGL Glew and SFML linker issues with MinGW in windows :(

Recommended Posts

Enalis    333
I am finally getting back to maintaining my project (Project Website) in windows, and eventually osx too. But I've run into some linker errors. I had a slew of issues with VC++ express in general, so I switched to MinGW and feel I am very close but I have a few linker errors left. Note: I have compiled or collected everything in .a files as needed for mingw and the library files are found (like libsfml-graphics.a), but I am still getting these linker errors. I am using a few other libraries like bullet and assimp which seem to be linking fine, so I suspect it's the order in which I'm linking or maybe I need to use the static libraries, I'm honestly not sure...

here's my link order:
glew32 sfml-graphics sfml-window sfml-audio sfml-network sfml-system assimp opengl32 glu32 glut32 BulletDynamics BulletCollision LinearMath

here's my linker output:

Linking CXX executable sfml_test.exe
C:\PROGRA~1\CODEBL~1\MinGW\bin\G__~1.EXE CMakeFiles\sfml_test.dir\Sources\main.cpp.obj -o sfml_test.exe -Wl,--out-implib,libsfml_test.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -LDependencies\win32\library\debug -L..\..\Dependencies\win32\library\debug ..\..\ElementGames\Base\libegbase.a ..\..\ElementGames\Engine\libegengine.a -lglew32 -lsfml-graphics -lsfml-window -lsfml-audio -lsfml-network -lsfml-system -lassimp -lopengl32 -lglu32 -lglut32 -lBulletDynamics -lBulletCollision -lLinearMath ..\..\ElementGames\Base\libegbase.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
Info: resolving vtable for sf::String by linking to __imp___ZTVN2sf6StringE (auto-import)
Info: resolving vtable for sf::Drawable by linking to __imp___ZTVN2sf8DrawableE (auto-import)
c:/progra~1/codebl~1/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
..\..\ElementGames\Base\libegbase.a(SceneManagerBase.cpp.obj):SceneManagerBase.cpp:(.text+0x50c): undefined reference to `glewInit'
..\..\ElementGames\Base\libegbase.a(SceneManagerBase.cpp.obj):SceneManagerBase.cpp:(.text+0x57d): undefined reference to `glPushAttrib@4'
..\..\ElementGames\Base\libegbase.a(SceneManagerBase.cpp.obj):SceneManagerBase.cpp:(.text+0x587): undefined reference to `glPopAttrib@0'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x398): undefined reference to `sf::Unicode::Text::Text(char const*)'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0xa3a): undefined reference to `sf::Unicode::Text::Text(char const*)'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x1131): undefined reference to `sf::String::GetText() const'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x1143): undefined reference to `sf::Unicode::Text::operator std::string() const'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x25a5): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x2600): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x2663): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x26c6): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x2777): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x27da): more undefined references to `glVertex2i@8' follow
..\..\ElementGames\Base\libegbase.a(Console.cpp.obj):Console.cpp:(.text+0x2adb): undefined reference to `sf::Unicode::Text::Text(char const*)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x539): undefined reference to `sf::SoundBuffer::SoundBuffer()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x588): undefined reference to `sf::SoundBuffer::LoadFromFile(std::string const&)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x5dc): undefined reference to `sf::SoundBuffer::GetSampleRate() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x5f0): undefined reference to `sf::SoundBuffer::GetChannelsCount() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x604): undefined reference to `sf::SoundBuffer::GetDuration() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xa89): undefined reference to `sf::Sound::Sound()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xaf0): undefined reference to `sf::Sound::Sound()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xb48): undefined reference to `sf::Sound::SetBuffer(sf::SoundBuffer const&)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xb63): undefined reference to `sf::Sound::SetLoop(bool)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xb7b): undefined reference to `sf::Sound::SetPitch(float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xb93): undefined reference to `sf::Sound::SetVolume(float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xbf6): undefined reference to `sf::Sound::Play()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xc0c): undefined reference to `sf::Sound::Pause()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xc22): undefined reference to `sf::Sound::Stop()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xc4b): undefined reference to `sf::Sound::SetVolume(float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xc75): undefined reference to `sf::Sound::SetPitch(float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xca8): undefined reference to `sf::Sound::SetLoop(bool)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xcf2): undefined reference to `sf::Sound::GetStatus() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xd38): undefined reference to `sf::Sound::GetPlayingOffset() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xdb1): undefined reference to `sf::Sound::SetPosition(float, float, float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0xe0b): undefined reference to `sf::Sound::SetAttenuation(float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x14ef): undefined reference to `sf::Music::Music(unsigned int)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x1517): undefined reference to `sf::Music::OpenFromFile(std::string const&)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x1571): undefined reference to `sf::SoundStream::SetLoop(bool)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x158c): undefined reference to `sf::Sound::SetVolume(float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x15a7): undefined reference to `sf::Sound::SetPitch(float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x15b5): undefined reference to `sf::SoundStream::GetSampleRate() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x15c9): undefined reference to `sf::SoundStream::GetChannelsCount() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x15dd): undefined reference to `sf::Music::GetDuration() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x170c): undefined reference to `sf::SoundStream::GetStatus() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x1752): undefined reference to `sf::SoundStream::GetPlayingOffset() const'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x17ce): undefined reference to `sf::Sound::SetPosition(float, float, float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x1836): undefined reference to `sf::SoundStream::Play()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x184f): undefined reference to `sf::Sound::Pause()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x1866): undefined reference to `sf::SoundStream::Stop()'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x25cf): undefined reference to `sf::Listener::SetPosition(float, float, float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x2606): undefined reference to `sf::Listener::SetTarget(float, float, float)'
..\..\ElementGames\Base\libegbase.a(Audio.cpp.obj):Audio.cpp:(.text+0x2631): undefined reference to `sf::Listener::SetGlobalVolume(float)'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x2ca): undefined reference to `glGenTextures@8'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x41f): undefined reference to `glTexParameterf@12'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x43d): undefined reference to `glTexParameterf@12'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x462): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x471): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x480): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x4c0): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x4d2): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x4e1): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x4f0): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x520): undefined reference to `gluBuild2DMipmaps@28'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x5a5): undefined reference to `sf::Image::Image()'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x5c8): undefined reference to `sf::Image::LoadFromFile(std::string const&)'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xceb): undefined reference to `glGenTextures@8'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xe40): undefined reference to `glTexParameterf@12'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xe5e): undefined reference to `glTexParameterf@12'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xee4): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xef3): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xf02): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xf42): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xf53): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xf63): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xf73): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xfb3): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xfc4): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xfd4): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0xfe4): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1024): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1035): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1045): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1055): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1095): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x10a6): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x10b6): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x10c6): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1106): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1117): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1127): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1137): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1177): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x118c): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x119b): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x11aa): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x11da): undefined reference to `gluBuild2DMipmaps@28'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x11eb): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x11fb): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x120b): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x123b): undefined reference to `gluBuild2DMipmaps@28'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x124c): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x125c): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x126c): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x129c): undefined reference to `gluBuild2DMipmaps@28'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x12ad): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x12bd): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x12cd): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x12fd): undefined reference to `gluBuild2DMipmaps@28'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x130e): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x131e): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x132e): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x135e): undefined reference to `gluBuild2DMipmaps@28'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x136f): undefined reference to `sf::Image::GetPixelsPtr() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x137f): undefined reference to `sf::Image::GetHeight() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x138f): undefined reference to `sf::Image::GetWidth() const'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x13bf): undefined reference to `gluBuild2DMipmaps@28'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1535): undefined reference to `sf::Image::Image()'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x155b): undefined reference to `sf::Image::LoadFromFile(std::string const&)'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1582): undefined reference to `sf::Image::Image()'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x15d4): undefined reference to `sf::Image::LoadFromFile(std::string const&)'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x15fb): undefined reference to `sf::Image::Image()'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x164d): undefined reference to `sf::Image::LoadFromFile(std::string const&)'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1674): undefined reference to `sf::Image::Image()'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x16c6): undefined reference to `sf::Image::LoadFromFile(std::string const&)'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x16ed): undefined reference to `sf::Image::Image()'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x173f): undefined reference to `sf::Image::LoadFromFile(std::string const&)'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x1760): undefined reference to `sf::Image::Image()'
..\..\ElementGames\Base\libegbase.a(Texture.cpp.obj):Texture.cpp:(.text+0x17af): undefined reference to `sf::Image::LoadFromFile(std::string const&)'
..\..\ElementGameundefineds\Base\libegbase.a(Camera.cpp.obj):Camera.cpp:(.text+0x1303): reference to `glGetDoublev@8'
..\..\ElementGameundefineds\Base\libegbase.a(Camera.cpp.obj):Camera.cpp:(.text+0x131e): reference to `glGetDoublev@8'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x19cc): reference to `__glewCreateShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x19e9): reference to `__glewCreateShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1a0a): reference to `__glewCreateShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1d16): reference to `__glewShaderSource'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1d4e): reference to `__glewShaderSource'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1d8a): reference to `__glewShaderSource'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1dbc): reference to `__glewCompileShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1dd6): reference to `__glewCompileShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1df4): reference to `__glewCompileShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1e07): reference to `__glewCreateProgramObjectARB'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1e1c): reference to `__glewAttachShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1e39): reference to `__glewAttachShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1e61): reference to `__glewAttachShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1e89): reference to `__glewProgramParameteriEXT'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1eb4): reference to `__glewProgramParameteriEXT'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1ed8): reference to `__glewProgramParameteriEXT'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1efc): reference to `__glewLinkProgram'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1f17): reference to `__glewUseProgram'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1f3d): reference to `__glewUseProgram'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1fbe): reference to `__glewGetUniformLocation'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x1fe9): reference to `__glewGetAttribLocation'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x209c): reference to `__glewUniform1i'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2184): reference to `__glewUniform2i'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2274): reference to `__glewUniform3i'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x236a): reference to `__glewUniform4i'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2468): reference to `__glewUniform1iv'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2595): reference to `__glewUniform1f'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x25bc): reference to `__glewVertexAttrib1f'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x26b3): reference to `__glewUniform2f'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x26e1): reference to `__glewVertexAttrib2f'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x27df): reference to `__glewUniform3f'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2814): reference to `__glewVertexAttrib3f'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2919): reference to `__glewUniform4f'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2955): reference to `__glewVertexAttrib4f'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2a61): reference to `__glewUniform1fv'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2a8f): reference to `__glewVertexAttrib1fv'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2b48): reference to `__glewUniformMatrix2fv'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2c40): reference to `__glewUniformMatrix3fv'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2d38): reference to `__glewUniformMatrix4fv'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2dbc): reference to `__glewProgramParameteriEXT'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2ddf): reference to `__glewProgramParameteriEXT'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2e02): reference to `__glewLinkProgram'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2e1e): reference to `__glewUseProgram'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2e41): reference to `__glewUseProgram'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2e7b): reference to `__glewGetShaderiv'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2eb8): reference to `__glewGetShaderInfoLog'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2f5a): reference to `__glewGetProgramiv'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x2f97): reference to `__glewGetProgramInfoLog'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x3063): reference to `__glewDetachShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x3080): reference to `__glewDeleteShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x30a6): reference to `__glewDetachShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x30c4): reference to `__glewDeleteShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x30ec): reference to `__glewDetachShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x310a): reference to `__glewDeleteShader'
..\..\ElementGameundefineds\Base\libegbase.a(Shader.cpp.obj):Shader.cpp:(.text+0x3132): reference to `__glewDeleteShader'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2e9): undefined reference to `glEnableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x332): undefined reference to `glVertexPointer@16'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x350): undefined reference to `glEnableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x38a): undefined reference to `glNormalPointer@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x3a8): undefined reference to `glEnableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x3ea): undefined reference to `glColorPointer@16'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x423): undefined reference to `glEnableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x46c): undefined reference to `glTexCoordPointer@16'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x4a5): undefined reference to `glEnableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x4ee): undefined reference to `glTexCoordPointer@16'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x527): undefined reference to `glEnableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x570): undefined reference to `glTexCoordPointer@16'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x5a9): undefined reference to `glEnableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x5f2): undefined reference to `glTexCoordPointer@16'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x641): undefined reference to `glDrawArrays@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x66c): undefined reference to `glDrawArrays@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x697): undefined reference to `glDrawArrays@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x6c2): undefined reference to `glDrawArrays@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x6ed): undefined reference to `glDrawArrays@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x718): more undefined references to `glDrawArrays@12' follow
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x7e5): undefined reference to `glDisableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x7f4): undefined reference to `glDisableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x803): undefined reference to `glDisableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x81e): undefined reference to `glDisableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x839): undefined reference to `glDisableClientState@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x854): more undefined references to `glDisableClientState@4' follow
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x87f): undefined reference to `__glewActiveTexture'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x895): undefined reference to `__glewClientActiveTexture'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x8b3): undefined reference to `glGetError@0'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x22f1): undefined reference to `glNormal3f@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x25e0): undefined reference to `glNormal3f@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x278f): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x27c3): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x27ff): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2835): undefined reference to `glVertex2i@8'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x28ab): undefined reference to `glOrtho@48'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2913): undefined reference to `__GLEW_ARB_draw_buffers'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x291f): undefined reference to `__glewDrawBuffers'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2a83): undefined reference to `glPushAttrib@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2b68): undefined reference to `glDrawBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2b77): undefined reference to `glReadBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2cc3): undefined reference to `glDrawBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2cd2): undefined reference to `glReadBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2dba): undefined reference to `glDrawBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2dc9): undefined reference to `glReadBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2eb1): undefined reference to `glDrawBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2ec0): undefined reference to `glReadBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2fa8): undefined reference to `glDrawBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x2fb7): undefined reference to `glReadBuffer@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x354f): undefined reference to `glPushAttrib@4'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x3d84): undefined reference to `glPopAttrib@0'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x4183): undefined reference to `glPopAttrib@0'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x4501): undefined reference to `glLightfv@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x4524): undefined reference to `glLightfv@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x4547): undefined reference to `glLightfv@12'
..\..\ElementGames\Base\libegbase.a(Graphics.cpp.obj):Graphics.cpp:(.text+0x456a): undefined reference to `glLightfv@12'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x2af): undefined reference to `__GLEW_EXT_framebuffer_object'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x2f4): undefined reference to `__glewGenFramebuffersEXT'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x3c0): undefined reference to `glGenTextures@8'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x5de): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x61c): undefined reference to `glGenTextures@8'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x689): undefined reference to `glTexImage2D@36'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x6df): undefined reference to `__glewBindFramebufferEXT'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x70b): undefined reference to `__glewFramebufferTexture2DEXT'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x76a): undefined reference to `__glewFramebufferTexture2DEXT'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x7b4): undefined reference to `glDrawBuffer@4'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x7c3): undefined reference to `glReadBuffer@4'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x7cb): undefined reference to `__glewCheckFramebufferStatusEXT'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x86e): undefined reference to `__glewBindFramebufferEXT'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x8c5): undefined reference to `__glewBindFramebufferEXT'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x8e9): undefined reference to `__glewBindFramebufferEXT'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x90b): undefined reference to `glDrawBuffer@4'
..\..\ElementGames\Base\lFrameBufferObject.cppibegbase.a(FrameBufferObject.cpp.obj)::(.text+0x91c): undefined reference to `glReadBuffer@4'
..\..\ElemeundefinedntGames\Base\libegbase.a(Font.cpp.obj):Font.cpp:(.text+0xab): reference to `sf::Font::Font()'
..\..\ElemeundefinedntGames\Base\libegbase.a(Font.cpp.obj):Font.cpp:(.text+0xbc): reference to `sf::Font::ourDefaultCharset'
..\..\ElemeundefinedntGames\Base\libegbase.a(Font.cpp.obj):Font.cpp:(.text+0xce): reference to `sf::Unicode::Text::Text(unsigned int const*)'
..\..\ElemeundefinedntGames\Base\libegbase.a(Font.cpp.obj):Font.cpp:(.text+0xf8): referenceUnicode to `sf::Font::LoadFromFile(std::string const&, unsigned int, sf::::Text const&)'
..\..\ElemenundefinedtGames\Base\libegbase.a(Font.cpp.obj):Font.cpp:(.text+0x1c1): reference to `sf::Font::Font()'
..\..\ElemenundefinedtGames\Base\libegbase.a(Font.cpp.obj):Font.cpp:(.text+0x1d2): reference to `sf::Font::ourDefaultCharset'
..\..\ElemenundefinedtGames\Base\libegbase.a(Font.cpp.obj):Font.cpp:(.text+0x1e4): reference to `sf::Unicode::Text::Text(unsigned int const*)'
..\..\ElemenundefinedtGames\Base\libegbase.a(Font.cpp.obj):Font.cpp:(.text+0x20e): reUnicode to `sf::Font::LoadFromFile(std::string const&, unsigned int, sf::::Text const&)'
..\..\ElementGames\Batext$_ZN2sf4FontD1Evse\libegbase.a(Font.cpp.obj):Font.cpp:(.[sf::Font::~Font()]+0x5b): undefined reference to `sf::Image::~Image()'
..\..\ElementGames\Batext$_ZN2sf4FontD1Evse\libegbase.a(Font.cpp.obj):Font.cpp:(.[sf::Font::~Font()]+0x89): undefined reference to `sf::Image::~Image()'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x116): undefined reference to `__glewGenBuffersARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x139): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x153): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x249): undefined reference to `__glewGenBuffersARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x26f): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x28a): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x380): undefined reference to `__glewGenBuffersARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x3a6): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x3c1): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x4b7): undefined reference to `__glewGenBuffersARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x4dd): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x4f8): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x5ee): undefined reference to `__glewGenBuffersARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x614): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x62f): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x725): undefined reference to `__glewGenBuffersARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x74b): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x766): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x85c): undefined reference to `__glewGenBuffersARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x882): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0x89d): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0xa4b): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0xa6b): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0xa8c): undefined reference to `__glewBindBufferARB'
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0xaad): more undefined references to `__glewBindBufferARB' follow
..\..\ElementGames\Base\libeVertexBufferObject.cppgbase.a(VertexBufferObject.cpp.obj)::(.text+0xb46): undefined reference to `__glewBufferDataARB'
collect2: ld returned 1 exit status

Share this post


Link to post
Share on other sites
wolfscaptain    200
Don't know about SFML, but you need to add mingw32 before everything, and change glew32 to glew32s and add a definition of GLEW_STATIC before including GLEW (don't ask me why, it simply wont work without static linking in Windows).

#define GLEW_STATIC
#include <GL/glew.h>
#include <other gl-related headers>

Share this post


Link to post
Share on other sites
assainator    685
Quote:

and change glew32 to glew32s and add a definition of GLEW_STATIC before including GLEW (don't ask me why, it simply wont work without static linking in Windows).


Not true, I have glew working with the dll on windows.
Next to that, I'm also using glew in combination with sfml so that isn't a problem.

The only thing I should note is that I'm using Visual studio 2008/2010 express

assainator

Share this post


Link to post
Share on other sites
Enalis    333
I am trying to use libglew32s.a but I can't seem to find it. And glew doesn't provide mingw makefiles. Is there an easy way to compile the static version of the library?

Share this post


Link to post
Share on other sites
karwosts    840
Not sure what issues you had with visual studio, but I can pretty much assure that you could get this working in 10 minutes on VC++. A lot more people around here use it and could probably help you too, more than mingw anyway.

Up to you what you want to do though :\

Share this post


Link to post
Share on other sites
Enalis    333
In the mingw glew lib I downloaded that was precompiled, I found that libglew32.dll.a was actually the static lib, and to solve my other linker errors, I actually linked everything twice for now in my link line in the CMakeLists.txt file until I figure out the exact proper link order.

Thanks for everyone's help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • By tyhender
      Hello, my name is Mark. I'm hobby programmer. 
      So recently,I thought that it's good idea to find people to create a full 3D engine. I'm looking for people experienced in scripting 3D shaders and implementing physics into engine(game)(we are going to use the React physics engine). 
      And,ye,no money =D I'm just looking for hobbyists that will be proud of their work. If engine(or game) will have financial succes,well,then maybe =D
      Sorry for late replies.
      I mostly give more information when people PM me,but this post is REALLY short,even for me =D
      So here's few more points:
      Engine will use openGL and SDL for graphics. It will use React3D physics library for physics simulation. Engine(most probably,atleast for the first part) won't have graphical fron-end,it will be a framework . I think final engine should be enough to set up an FPS in a couple of minutes. A bit about my self:
      I've been programming for 7 years total. I learned very slowly it as "secondary interesting thing" for like 3 years, but then began to script more seriously.  My primary language is C++,which we are going to use for the engine. Yes,I did 3D graphics with physics simulation before. No, my portfolio isn't very impressive. I'm working on that No,I wasn't employed officially. If anybody need to know more PM me. 
       
    • By Zaphyk
      I am developing my engine using the OpenGL 3.3 compatibility profile. It runs as expected on my NVIDIA card and on my Intel Card however when I tried it on an AMD setup it ran 3 times worse than on the other setups. Could this be a AMD driver thing or is this probably a problem with my OGL code? Could a different code standard create such bad performance?
    • By Kjell Andersson
      I'm trying to get some legacy OpenGL code to run with a shader pipeline,
      The legacy code uses glVertexPointer(), glColorPointer(), glNormalPointer() and glTexCoordPointer() to supply the vertex information.
      I know that it should be using setVertexAttribPointer() etc to clearly define the layout but that is not an option right now since the legacy code can't be modified to that extent.
      I've got a version 330 vertex shader to somewhat work:
      #version 330 uniform mat4 osg_ModelViewProjectionMatrix; uniform mat4 osg_ModelViewMatrix; layout(location = 0) in vec4 Vertex; layout(location = 2) in vec4 Normal; // Velocity layout(location = 3) in vec3 TexCoord; // TODO: is this the right layout location? out VertexData { vec4 color; vec3 velocity; float size; } VertexOut; void main(void) { vec4 p0 = Vertex; vec4 p1 = Vertex + vec4(Normal.x, Normal.y, Normal.z, 0.0f); vec3 velocity = (osg_ModelViewProjectionMatrix * p1 - osg_ModelViewProjectionMatrix * p0).xyz; VertexOut.velocity = velocity; VertexOut.size = TexCoord.y; gl_Position = osg_ModelViewMatrix * Vertex; } What works is the Vertex and Normal information that the legacy C++ OpenGL code seem to provide in layout location 0 and 2. This is fine.
      What I'm not getting to work is the TexCoord information that is supplied by a glTexCoordPointer() call in C++.
      Question:
      What layout location is the old standard pipeline using for glTexCoordPointer()? Or is this undefined?
       
      Side note: I'm trying to get an OpenSceneGraph 3.4.0 particle system to use custom vertex, geometry and fragment shaders for rendering the particles.
    • By markshaw001
      Hi i am new to this forum  i wanted to ask for help from all of you i want to generate real time terrain using a 32 bit heightmap i am good at c++ and have started learning Opengl as i am very interested in making landscapes in opengl i have looked around the internet for help about this topic but i am not getting the hang of the concepts and what they are doing can some here suggests me some good resources for making terrain engine please for example like tutorials,books etc so that i can understand the whole concept of terrain generation.
       
    • By KarimIO
      Hey guys. I'm trying to get my application to work on my Nvidia GTX 970 desktop. It currently works on my Intel HD 3000 laptop, but on the desktop, every bind textures specifically from framebuffers, I get half a second of lag. This is done 4 times as I have three RGBA textures and one depth 32F buffer. I tried to use debugging software for the first time - RenderDoc only shows SwapBuffers() and no OGL calls, while Nvidia Nsight crashes upon execution, so neither are helpful. Without binding it runs regularly. This does not happen with non-framebuffer binds.
      GLFramebuffer::GLFramebuffer(FramebufferCreateInfo createInfo) { glGenFramebuffers(1, &fbo); glBindFramebuffer(GL_FRAMEBUFFER, fbo); textures = new GLuint[createInfo.numColorTargets]; glGenTextures(createInfo.numColorTargets, textures); GLenum *DrawBuffers = new GLenum[createInfo.numColorTargets]; for (uint32_t i = 0; i < createInfo.numColorTargets; i++) { glBindTexture(GL_TEXTURE_2D, textures[i]); GLint internalFormat; GLenum format; TranslateFormats(createInfo.colorFormats[i], format, internalFormat); // returns GL_RGBA and GL_RGBA glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, createInfo.width, createInfo.height, 0, format, GL_FLOAT, 0); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); DrawBuffers[i] = GL_COLOR_ATTACHMENT0 + i; glBindTexture(GL_TEXTURE_2D, 0); glFramebufferTexture(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + i, textures[i], 0); } if (createInfo.depthFormat != FORMAT_DEPTH_NONE) { GLenum depthFormat; switch (createInfo.depthFormat) { case FORMAT_DEPTH_16: depthFormat = GL_DEPTH_COMPONENT16; break; case FORMAT_DEPTH_24: depthFormat = GL_DEPTH_COMPONENT24; break; case FORMAT_DEPTH_32: depthFormat = GL_DEPTH_COMPONENT32; break; case FORMAT_DEPTH_24_STENCIL_8: depthFormat = GL_DEPTH24_STENCIL8; break; case FORMAT_DEPTH_32_STENCIL_8: depthFormat = GL_DEPTH32F_STENCIL8; break; } glGenTextures(1, &depthrenderbuffer); glBindTexture(GL_TEXTURE_2D, depthrenderbuffer); glTexImage2D(GL_TEXTURE_2D, 0, depthFormat, createInfo.width, createInfo.height, 0, GL_DEPTH_COMPONENT, GL_FLOAT, 0); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glBindTexture(GL_TEXTURE_2D, 0); glFramebufferTexture(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, depthrenderbuffer, 0); } if (createInfo.numColorTargets > 0) glDrawBuffers(createInfo.numColorTargets, DrawBuffers); else glDrawBuffer(GL_NONE); if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) std::cout << "Framebuffer Incomplete\n"; glBindFramebuffer(GL_FRAMEBUFFER, 0); width = createInfo.width; height = createInfo.height; } // ... // FBO Creation FramebufferCreateInfo gbufferCI; gbufferCI.colorFormats = gbufferCFs.data(); gbufferCI.depthFormat = FORMAT_DEPTH_32; gbufferCI.numColorTargets = gbufferCFs.size(); gbufferCI.width = engine.settings.resolutionX; gbufferCI.height = engine.settings.resolutionY; gbufferCI.renderPass = nullptr; gbuffer = graphicsWrapper->CreateFramebuffer(gbufferCI); // Bind glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo); // Draw here... // Bind to textures glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, textures[0]); glActiveTexture(GL_TEXTURE1); glBindTexture(GL_TEXTURE_2D, textures[1]); glActiveTexture(GL_TEXTURE2); glBindTexture(GL_TEXTURE_2D, textures[2]); glActiveTexture(GL_TEXTURE3); glBindTexture(GL_TEXTURE_2D, depthrenderbuffer); Here is an extract of my code. I can't think of anything else to include. I've really been butting my head into a wall trying to think of a reason but I can think of none and all my research yields nothing. Thanks in advance!
  • Popular Now