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
I have a quest[opengl]
Moderators: CEGUI MVP, CEGUI Team
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?
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?
Who is online
Users browsing this forum: Google [Bot] and 10 guests