I have a quest[opengl]

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

yuunanase
Just popping in
Just popping in
Posts: 4
Joined: Sat Nov 01, 2008 07:19

I have a quest[opengl]

Postby yuunanase » Sat Nov 01, 2008 07:24

code :
#include "firstwindow.h"
#include "CEGUI.h"
#include "RendererModules/OpenGLGUIRenderer/openglrenderer.h"
int main(int argc, char *argv[])
{
using namespace CEGUI;
CEGUI::OpenGLRenderer* myRenderer =
new CEGUI::OpenGLRenderer( 0 );

}


but why happen result
OpenGLGUIRenderer_Static_d.lib(openglrenderer.obj) : error LNK2019: ...... __imp__glGetIntegerv@8 function "public: __thiscall CEGUI::OpenGLRenderer::OpenGLRenderer(unsigned int,class CEGUI::ImageCodec *)" (??0OpenGLRenderer@CEGUI@@QAE@IPAVImageCodec@1@@Z)
......
error:33


I have link lib directory

please tell how to do ><
I hope you understand my mean

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Postby Jamarr » Mon Nov 03, 2008 14:59

Does no one at least try looking up error codes before asking?!

This seems pretty cut and dry to me...LNK2019 means the specified symbol is undefined - meaning, the linker cannot find this symbol in any of your compiled sources. Given that this is an OpenGL function, it seems likely that you are not linking against the OpenGL library. Do you not have opengl32.lib on your dependency list?


Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests