Errors in the CMake files for MinGW/Code::Blocks

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Basilio
Just popping in
Just popping in
Posts: 8
Joined: Fri Nov 02, 2012 15:28

Errors in the CMake files for MinGW/Code::Blocks

Postby Basilio » Tue Jul 02, 2013 18:35

Hello.
I have ran into some problems with linking CEGUI statically using MinGW and Code::Blocks on Win32. It builds fine dynamically, and sample application works fine, however when trying to compile it statically I run into the following errors:

Code: Select all

Linking CXX shared library ..\..\..\..\bin\libCEGUIOpenGLRenderer-0.dll
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x1a): undefined reference to `_imp____glewBindFramebufferEXT'
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x3a): undefined reference to `_imp____glewDeleteFramebuffersEXT'
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x87): undefined reference to `_imp____glewBindFramebufferEXT'
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x110): undefined reference to `_imp____glewBindFramebufferEXT'
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x1bc): undefined reference to `_imp____glewDeleteFramebuffersEXT'
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x229): undefined reference to `_imp____glewGenFramebuffersEXT'
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x253): undefined reference to `_imp____glewBindFramebufferEXT'
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x34a): undefined reference to `_imp____glewFramebufferTexture2DEXT'
CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj):GLFBOTextureTarget.cpp:(.text+0x58b): undefined reference to `_imp____GLEW_EXT_framebuffer_object'
g:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: CMakeFiles\CEGUIOpenGLRenderer-0.dir/objects.a(GLFBOTextureTarget.cpp.obj): bad reloc address 0x1 in section `.text$_ZN5CEGUI23InvalidRequestExceptionD1Ev[__ZN5CEGUI23InvalidRequestExceptionD1Ev]'
collect2.exe: error: ld terminated with code 1
mingw32-make.exe[2]: *** [bin/libCEGUIOpenGLRenderer-0.dll] Error 1
mingw32-make.exe[1]: *** [cegui/src/RendererModules/OpenGL/CMakeFiles/CEGUIOpenGLRenderer-0.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
cegui\src\RendererModules\OpenGL\CMakeFiles\CEGUIOpenGLRenderer-0.dir\build.make:301: recipe for target 'bin/libCEGUIOpenGLRenderer-0.dll' failed
CMakeFiles\Makefile2:184: recipe for target 'cegui/src/RendererModules/OpenGL/CMakeFiles/CEGUIOpenGLRenderer-0.dir/all' failed
Makefile:135: recipe for target 'all' failed

The "missing" functions all reside in libglew.a - I have checked, the library exists (both libglew.a and libglew_d.a), and in CMakeCache.txt the path to it is correctly specified in CEGUIOpenGLRenderer-0_Static_LIB_DEPENDS. It also seems to be properly linked in build/cegui/src/RendererModules/OpenGL/CMakeFiles/CEGUIOpenGLRenderer-0.dir/link.txt
What am I doing wrong?
Last edited by Basilio on Wed Jul 17, 2013 10:02, edited 1 time in total.

Basilio
Just popping in
Just popping in
Posts: 8
Joined: Fri Nov 02, 2012 15:28

Re: Problems building CEGUI statically

Postby Basilio » Wed Jul 17, 2013 10:01

Well, in the end figured that one out.
First of all, -DGLEW_STATIC has to be added to the CXX_DEFINES for targets CEGUIOpenGLRenderer-0 and CEGUIOpenGLRenderer-0_Static.
Second, link order has to be changed. As of now, it goes as "-lopengl32 libglew.a", however it must be "libglew.a -lopengl32".

So, for now I have found the following errors in the CMake files for MinGW:
(dependencies)
1. In libpng *.def is added to linking list, which is wrong - it must be removed from there
2. The same applies to libexpat
(cegui itself)
3. Targets for CEGUIOpenGLRenderer miss -DGLEW_STATIC
4. Linking order in CEGUIOpenGlRenderer is wrong, libglew and opengl32 have to be swapped.
5. In the target bin/CEGUISampleFramework-0.8_Static.exe there is an issue described here: viewtopic.php?f=10&t=6473. I myself have tried to follow DivideStudio's solution - this solved the compilation issue, however I'm not quite sure it's the best possible solution. I really hope CEGUI dev team will resolve that. As far as I understand, this issue should not rely on the development environment, and should appear on MSVC as well.
6. Target CEGUISILLYImageCodec completely misses zlib dependency.

I hope someone from CEGUI dev team will take those into account and will take steps to amend the CMake files so that it would be possible to avoid using Visual Studio to compile the framework. Meanwhile, I hope my comments will help anyone who's got problems compiling CEGUI with MinGW/Code::Blocks.
Last edited by Basilio on Sat Aug 03, 2013 13:06, edited 1 time in total.

Basilio
Just popping in
Just popping in
Posts: 8
Joined: Fri Nov 02, 2012 15:28

Re: Errors in the CMake files for MinGW/Code::Blocks

Postby Basilio » Sat Aug 03, 2013 13:04

UPD: I don't know why, but in the CMake-generated files for VS2012 there are the same errors for the CEGUI itself. The dependencies are built fine.
Also, static debug version seems to try to statically link to DbgHelp, which doesn't exist in a static version.

nicoraf
Just popping in
Just popping in
Posts: 4
Joined: Mon Sep 02, 2013 05:08

Re: Errors in the CMake files for MinGW/Code::Blocks

Postby nicoraf » Sun Sep 08, 2013 07:21

I have the following errors in Visual Studio 2012:

Code: Select all

1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------
2>------ Build started: Project: CEGUIOpenGLRenderer-0, Configuration: Release x64 ------
2>     Creating library C:/Users/Nicolas/Documents/Documentacion/Skiffia/cegui-0.8.2/build/lib/CEGUIOpenGLRenderer-0.lib and object C:/Users/Nicolas/Documents/Documentacion/Skiffia/cegui-0.8.2/build/lib/CEGUIOpenGLRenderer-0.exp
2>GL3FBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewBindFramebuffer referenced in function "public: virtual void __cdecl CEGUI::OpenGL3FBOTextureTarget::activate(void)" (?activate@OpenGL3FBOTextureTarget@CEGUI@@UEAAXXZ)
2>GL3FBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewCheckFramebufferStatus referenced in function "protected: void __cdecl CEGUI::OpenGL3FBOTextureTarget::checkFramebufferStatus(void)" (?checkFramebufferStatus@OpenGL3FBOTextureTarget@CEGUI@@IEAAXXZ)
2>GL3FBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewDeleteFramebuffers referenced in function "public: virtual __cdecl CEGUI::OpenGL3FBOTextureTarget::~OpenGL3FBOTextureTarget(void)" (??1OpenGL3FBOTextureTarget@CEGUI@@UEAA@XZ)
2>GL3FBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewFramebufferTexture2D referenced in function "protected: void __cdecl CEGUI::OpenGL3FBOTextureTarget::initialiseRenderTexture(void)" (?initialiseRenderTexture@OpenGL3FBOTextureTarget@CEGUI@@IEAAXXZ)
2>GL3FBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewGenFramebuffers referenced in function "protected: void __cdecl CEGUI::OpenGL3FBOTextureTarget::initialiseRenderTexture(void)" (?initialiseRenderTexture@OpenGL3FBOTextureTarget@CEGUI@@IEAAXXZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewBindBuffer referenced in function "public: void __cdecl CEGUI::OpenGL3GeometryBuffer::initialiseOpenGLBuffers(void)" (?initialiseOpenGLBuffers@OpenGL3GeometryBuffer@CEGUI@@QEAAXXZ)
2>StateChangeWrapper.obj : error LNK2001: unresolved external symbol __imp___glewBindBuffer
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewBufferData referenced in function "public: void __cdecl CEGUI::OpenGL3GeometryBuffer::initialiseOpenGLBuffers(void)" (?initialiseOpenGLBuffers@OpenGL3GeometryBuffer@CEGUI@@QEAAXXZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewBufferSubData referenced in function "public: void __cdecl CEGUI::OpenGL3GeometryBuffer::updateOpenGLBuffers(void)" (?updateOpenGLBuffers@OpenGL3GeometryBuffer@CEGUI@@QEAAXXZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewDeleteBuffers referenced in function "public: virtual __cdecl CEGUI::OpenGL3GeometryBuffer::~OpenGL3GeometryBuffer(void)" (??1OpenGL3GeometryBuffer@CEGUI@@UEAA@XZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewGenBuffers referenced in function "public: void __cdecl CEGUI::OpenGL3GeometryBuffer::initialiseOpenGLBuffers(void)" (?initialiseOpenGLBuffers@OpenGL3GeometryBuffer@CEGUI@@QEAAXXZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewEnableVertexAttribArray referenced in function "public: void __cdecl CEGUI::OpenGL3GeometryBuffer::initialiseOpenGLBuffers(void)" (?initialiseOpenGLBuffers@OpenGL3GeometryBuffer@CEGUI@@QEAAXXZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewUniformMatrix4fv referenced in function "public: virtual void __cdecl CEGUI::OpenGL3GeometryBuffer::draw(void)const " (?draw@OpenGL3GeometryBuffer@CEGUI@@UEBAXXZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewVertexAttribPointer referenced in function "public: void __cdecl CEGUI::OpenGL3GeometryBuffer::initialiseOpenGLBuffers(void)" (?initialiseOpenGLBuffers@OpenGL3GeometryBuffer@CEGUI@@QEAAXXZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewBindVertexArray referenced in function "public: void __cdecl CEGUI::OpenGL3GeometryBuffer::initialiseOpenGLBuffers(void)" (?initialiseOpenGLBuffers@OpenGL3GeometryBuffer@CEGUI@@QEAAXXZ)
2>StateChangeWrapper.obj : error LNK2001: unresolved external symbol __imp___glewBindVertexArray
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewDeleteVertexArrays referenced in function "public: virtual __cdecl CEGUI::OpenGL3GeometryBuffer::~OpenGL3GeometryBuffer(void)" (??1OpenGL3GeometryBuffer@CEGUI@@UEAA@XZ)
2>GL3GeometryBuffer.obj : error LNK2019: unresolved external symbol __imp___glewGenVertexArrays referenced in function "public: void __cdecl CEGUI::OpenGL3GeometryBuffer::initialiseOpenGLBuffers(void)" (?initialiseOpenGLBuffers@OpenGL3GeometryBuffer@CEGUI@@QEAAXXZ)
2>GL3Renderer.obj : error LNK2019: unresolved external symbol __imp_glewInit referenced in function "private: void __cdecl CEGUI::OpenGL3Renderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGL3Renderer@CEGUI@@AEAAXXZ)
2>GLRenderer.obj : error LNK2001: unresolved external symbol __imp_glewInit
2>GL3Renderer.obj : error LNK2019: unresolved external symbol __imp_glewGetErrorString referenced in function "private: void __cdecl CEGUI::OpenGL3Renderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGL3Renderer@CEGUI@@AEAAXXZ)
2>GLRenderer.obj : error LNK2001: unresolved external symbol __imp_glewGetErrorString
2>GL3Renderer.obj : error LNK2019: unresolved external symbol __imp___glewActiveTexture referenced in function "public: virtual void __cdecl CEGUI::OpenGL3Renderer::beginRendering(void)" (?beginRendering@OpenGL3Renderer@CEGUI@@UEAAXXZ)
2>GLRenderer.obj : error LNK2001: unresolved external symbol __imp___glewActiveTexture
2>GL3Renderer.obj : error LNK2019: unresolved external symbol __imp___glewBlendFuncSeparate referenced in function "public: virtual void __cdecl CEGUI::OpenGL3Renderer::setupRenderingBlendMode(enum CEGUI::BlendMode,bool)" (?setupRenderingBlendMode@OpenGL3Renderer@CEGUI@@UEAAXW4BlendMode@2@_N@Z)
2>GLRenderer.obj : error LNK2001: unresolved external symbol __imp___glewBlendFuncSeparate
2>StateChangeWrapper.obj : error LNK2001: unresolved external symbol __imp___glewBlendFuncSeparate
2>GL3Renderer.obj : error LNK2019: unresolved external symbol __imp___glewUniform1i referenced in function "private: void __cdecl CEGUI::OpenGL3Renderer::initialiseOpenGLShaders(void)" (?initialiseOpenGLShaders@OpenGL3Renderer@CEGUI@@AEAAXXZ)
2>GL3Renderer.obj : error LNK2019: unresolved external symbol __imp___glewGetStringi referenced in function "private: void __cdecl CEGUI::OpenGL3Renderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGL3Renderer@CEGUI@@AEAAXXZ)
2>GL3Renderer.obj : error LNK2019: unresolved external symbol __imp_glewExperimental referenced in function "private: void __cdecl CEGUI::OpenGL3Renderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGL3Renderer@CEGUI@@AEAAXXZ)
2>GLFBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewBindFramebufferEXT referenced in function "public: virtual void __cdecl CEGUI::OpenGLFBOTextureTarget::activate(void)" (?activate@OpenGLFBOTextureTarget@CEGUI@@UEAAXXZ)
2>GLFBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewDeleteFramebuffersEXT referenced in function "public: virtual __cdecl CEGUI::OpenGLFBOTextureTarget::~OpenGLFBOTextureTarget(void)" (??1OpenGLFBOTextureTarget@CEGUI@@UEAA@XZ)
2>GLFBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewFramebufferTexture2DEXT referenced in function "protected: void __cdecl CEGUI::OpenGLFBOTextureTarget::initialiseRenderTexture(void)" (?initialiseRenderTexture@OpenGLFBOTextureTarget@CEGUI@@IEAAXXZ)
2>GLFBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___glewGenFramebuffersEXT referenced in function "protected: void __cdecl CEGUI::OpenGLFBOTextureTarget::initialiseRenderTexture(void)" (?initialiseRenderTexture@OpenGLFBOTextureTarget@CEGUI@@IEAAXXZ)
2>GLFBOTextureTarget.obj : error LNK2019: unresolved external symbol __imp___GLEW_EXT_framebuffer_object referenced in function "public: __cdecl CEGUI::OpenGLFBOTextureTarget::OpenGLFBOTextureTarget(class CEGUI::OpenGLRendererBase &)" (??0OpenGLFBOTextureTarget@CEGUI@@QEAA@AEAVOpenGLRendererBase@1@@Z)
2>GLRenderer.obj : error LNK2001: unresolved external symbol __imp___GLEW_EXT_framebuffer_object
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___glewClientActiveTexture referenced in function "protected: void __cdecl CEGUI::OpenGLRenderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGLRenderer@CEGUI@@IEAAXXZ)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___glewActiveTextureARB referenced in function "protected: void __cdecl CEGUI::OpenGLRenderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGLRenderer@CEGUI@@IEAAXXZ)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___glewClientActiveTextureARB referenced in function "protected: void __cdecl CEGUI::OpenGLRenderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGLRenderer@CEGUI@@IEAAXXZ)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___glewBlendFuncSeparateEXT referenced in function "public: virtual void __cdecl CEGUI::OpenGLRenderer::setupRenderingBlendMode(enum CEGUI::BlendMode,bool)" (?setupRenderingBlendMode@OpenGLRenderer@CEGUI@@UEAAXW4BlendMode@2@_N@Z)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___GLEW_VERSION_1_3 referenced in function "protected: void __cdecl CEGUI::OpenGLRenderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGLRenderer@CEGUI@@IEAAXXZ)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___GLEW_VERSION_1_4 referenced in function "protected: __cdecl CEGUI::OpenGLRenderer::OpenGLRenderer(class CEGUI::Size<float> const &,enum CEGUI::OpenGLRenderer::TextureTargetType)" (??0OpenGLRenderer@CEGUI@@IEAA@AEBV?$Size@M@1@W4TextureTargetType@01@@Z)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___GLEW_ARB_multitexture referenced in function "protected: void __cdecl CEGUI::OpenGLRenderer::initialiseGLExtensions(void)" (?initialiseGLExtensions@OpenGLRenderer@CEGUI@@IEAAXXZ)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___GLEW_EXT_blend_func_separate referenced in function "protected: __cdecl CEGUI::OpenGLRenderer::OpenGLRenderer(class CEGUI::Size<float> const &,enum CEGUI::OpenGLRenderer::TextureTargetType)" (??0OpenGLRenderer@CEGUI@@IEAA@AEBV?$Size@M@1@W4TextureTargetType@01@@Z)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___GLEW_EXT_texture_compression_s3tc referenced in function "public: virtual bool __cdecl CEGUI::OpenGLRenderer::isS3TCSupported(void)const " (?isS3TCSupported@OpenGLRenderer@CEGUI@@UEBA_NXZ)
2>GLRenderer.obj : error LNK2019: unresolved external symbol __imp___WGLEW_ARB_pbuffer referenced in function "protected: void __cdecl CEGUI::OpenGLRenderer::initialiseTextureTargetFactory(enum CEGUI::OpenGLRenderer::TextureTargetType)" (?initialiseTextureTargetFactory@OpenGLRenderer@CEGUI@@IEAAXW4TextureTargetType@12@@Z)
2>WGLPBTextureTarget.obj : error LNK2001: unresolved external symbol __imp___WGLEW_ARB_pbuffer
2>RendererBase.obj : error LNK2019: unresolved external symbol __imp___GLEW_ARB_texture_non_power_of_two referenced in function "public: virtual class CEGUI::Size<float> __cdecl CEGUI::OpenGLRendererBase::getAdjustedTextureSize(class CEGUI::Size<float> const &)const " (?getAdjustedTextureSize@OpenGLRendererBase@CEGUI@@UEBA?AV?$Size@M@2@AEBV32@@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewAttachShader referenced in function "public: void __cdecl CEGUI::OpenGL3Shader::link(void)" (?link@OpenGL3Shader@CEGUI@@QEAAXXZ)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewCompileShader referenced in function "private: unsigned int __cdecl CEGUI::OpenGL3Shader::compile(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?compile@OpenGL3Shader@CEGUI@@AEAAIIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewCreateProgram referenced in function "public: __cdecl CEGUI::OpenGL3Shader::OpenGL3Shader(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0OpenGL3Shader@CEGUI@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewCreateShader referenced in function "private: unsigned int __cdecl CEGUI::OpenGL3Shader::compile(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?compile@OpenGL3Shader@CEGUI@@AEAAIIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewDeleteProgram referenced in function "public: __cdecl CEGUI::OpenGL3Shader::~OpenGL3Shader(void)" (??1OpenGL3Shader@CEGUI@@QEAA@XZ)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewDeleteShader referenced in function "public: __cdecl CEGUI::OpenGL3Shader::~OpenGL3Shader(void)" (??1OpenGL3Shader@CEGUI@@QEAA@XZ)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewGetAttribLocation referenced in function "public: unsigned int __cdecl CEGUI::OpenGL3Shader::getAttribLocation(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?getAttribLocation@OpenGL3Shader@CEGUI@@QEBAIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewGetProgramInfoLog referenced in function "private: void __cdecl CEGUI::OpenGL3Shader::outputProgramLog(unsigned int)" (?outputProgramLog@OpenGL3Shader@CEGUI@@AEAAXI@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewGetProgramiv referenced in function "public: void __cdecl CEGUI::OpenGL3Shader::link(void)" (?link@OpenGL3Shader@CEGUI@@QEAAXXZ)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewGetShaderInfoLog referenced in function "private: void __cdecl CEGUI::OpenGL3Shader::outputShaderLog(unsigned int)" (?outputShaderLog@OpenGL3Shader@CEGUI@@AEAAXI@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewGetShaderiv referenced in function "private: unsigned int __cdecl CEGUI::OpenGL3Shader::compile(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?compile@OpenGL3Shader@CEGUI@@AEAAIIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewGetUniformLocation referenced in function "public: unsigned int __cdecl CEGUI::OpenGL3Shader::getUniformLocation(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?getUniformLocation@OpenGL3Shader@CEGUI@@QEBAIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewLinkProgram referenced in function "public: void __cdecl CEGUI::OpenGL3Shader::link(void)" (?link@OpenGL3Shader@CEGUI@@QEAAXXZ)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewShaderSource referenced in function "private: unsigned int __cdecl CEGUI::OpenGL3Shader::compile(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?compile@OpenGL3Shader@CEGUI@@AEAAIIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewUseProgram referenced in function "public: void __cdecl CEGUI::OpenGL3Shader::bind(void)const " (?bind@OpenGL3Shader@CEGUI@@QEBAXXZ)
2>Shader.obj : error LNK2019: unresolved external symbol __imp___glewBindFragDataLocation referenced in function "public: void __cdecl CEGUI::OpenGL3Shader::bindFragDataLocation(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?bindFragDataLocation@OpenGL3Shader@CEGUI@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>Texture.obj : error LNK2019: unresolved external symbol __imp___glewCompressedTexImage2D referenced in function "protected: void __cdecl CEGUI::OpenGLTexture::setTextureSize_impl(class CEGUI::Size<float> const &)" (?setTextureSize_impl@OpenGLTexture@CEGUI@@IEAAXAEBV?$Size@M@2@@Z)
2>Texture.obj : error LNK2019: unresolved external symbol __imp___glewCompressedTexSubImage2D referenced in function "protected: void __cdecl CEGUI::OpenGLTexture::loadCompressedTextureBuffer(class CEGUI::Rect<float> const &,void const *)const " (?loadCompressedTextureBuffer@OpenGLTexture@CEGUI@@IEBAXAEBV?$Rect@M@2@PEBX@Z)
2>Texture.obj : error LNK2019: unresolved external symbol __imp___glewGetCompressedTexImage referenced in function "public: virtual void __cdecl CEGUI::OpenGLTexture::blitToMemory(void *)" (?blitToMemory@OpenGLTexture@CEGUI@@UEAAXPEAX@Z)
2>WGLPBTextureTarget.obj : error LNK2019: unresolved external symbol __imp___wglewCreatePbufferARB referenced in function "protected: void __cdecl CEGUI::OpenGLWGLPBTextureTarget::initialisePBuffer(void)" (?initialisePBuffer@OpenGLWGLPBTextureTarget@CEGUI@@IEAAXXZ)
2>WGLPBTextureTarget.obj : error LNK2019: unresolved external symbol __imp___wglewDestroyPbufferARB referenced in function "public: virtual __cdecl CEGUI::OpenGLWGLPBTextureTarget::~OpenGLWGLPBTextureTarget(void)" (??1OpenGLWGLPBTextureTarget@CEGUI@@UEAA@XZ)
2>WGLPBTextureTarget.obj : error LNK2019: unresolved external symbol __imp___wglewGetPbufferDCARB referenced in function "protected: void __cdecl CEGUI::OpenGLWGLPBTextureTarget::initialisePBuffer(void)" (?initialisePBuffer@OpenGLWGLPBTextureTarget@CEGUI@@IEAAXXZ)
2>WGLPBTextureTarget.obj : error LNK2019: unresolved external symbol __imp___wglewQueryPbufferARB referenced in function "protected: void __cdecl CEGUI::OpenGLWGLPBTextureTarget::initialisePBuffer(void)" (?initialisePBuffer@OpenGLWGLPBTextureTarget@CEGUI@@IEAAXXZ)
2>WGLPBTextureTarget.obj : error LNK2019: unresolved external symbol __imp___wglewReleasePbufferDCARB referenced in function "public: virtual __cdecl CEGUI::OpenGLWGLPBTextureTarget::~OpenGLWGLPBTextureTarget(void)" (??1OpenGLWGLPBTextureTarget@CEGUI@@UEAA@XZ)
2>WGLPBTextureTarget.obj : error LNK2019: unresolved external symbol __imp___wglewChoosePixelFormatARB referenced in function "public: __cdecl CEGUI::OpenGLWGLPBTextureTarget::OpenGLWGLPBTextureTarget(class CEGUI::OpenGLRendererBase &)" (??0OpenGLWGLPBTextureTarget@CEGUI@@QEAA@AEAVOpenGLRendererBase@1@@Z)
2>C:\Users\Nicolas\Documents\Documentacion\Skiffia\cegui-0.8.2\build\bin\CEGUIOpenGLRenderer-0.dll : fatal error LNK1120: 64 unresolved externals
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========



Return to “Help”

Who is online

Users browsing this forum: No registered users and 8 guests