New issue
 Projects > studio > Issues > Bug #4162

Unable to resolve Glew library

Bug #4162 [New]
huahsin68 2014-03-02 10:00 . Updated almost 3 years ago

Dear all,
I have been looking into this error for a week now and still have no clue. I'm compiling cocos2dx version 2.2.2 using Visual Studio Express 2012, there some link unable to resolve. The problem most probably was due to the invalid glew library was using. I have been tested it on Linux platform and there are working fine.

Following is the error message I get during the compilation:
1>CCEGLView.obj : error LNK2019: unresolved external symbol impglewInit@0 referenced in function "public: bool thiscall cocos2d::CCEGLView::initGL(void)" (?initGL@CCEGLView@cocos2d@@QAE_NXZ)
1>CCEGLView.obj : error LNK2019: unresolved external symbol __imp
glewIsSupported@4 referenced in function "public: bool thiscall cocos2d::CCEGLView::initGL(void)" (?initGL@CCEGLView@cocos2d@@QAE_NXZ)
1>CCEGLView.obj : error LNK2019: unresolved external symbol __imp
glewGetErrorString@4 referenced in function "public: bool __thiscall cocos2d::CCEGLView::initGL(void)" (?initGL@CCEGLView@cocos2d@@QAE_NXZ)

THanks @!

wangnan 2014-03-03 13:40

you can mention the problem in cocos2d-x moudle

Atom PDF

Status:New
Start date:2014-03-02
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.