2008-05-13 已经完成移植的模块:
CEGUIBase
CEGUIExpatParser
CEGUIFalagardWRBase
CEGUILua
tolua++
移植OpenGLGUIRenderer
render 选择opengl es,可是在编译时发现opengl es这个版本未能实现opengl规范的所有函数,导致以下编译错误提示:
error C2065: 'GL_T2F_C4UB_V3F' : undeclared identifier
error C3861: 'glInterleavedArrays': identifier not found
error C2065: 'GL_CLIENT_ALL_ATTRIB_BITS' : undeclared identifier
error C3861: 'glPushClientAttrib': identifier not found
error C2065: 'GL_ALL_ATTRIB_BITS' : undeclared identifier
error C3861: 'glPushAttrib': identifier not found
error C2065: 'GL_FILL' : undeclared identifier
error C3861: 'glPolygonMode': identifier not found
error C3861: 'gluOrtho2D': identifier not found
error C2065: 'GL_TEXTURE_GEN_S' : undeclared identifier
error C2065: 'GL_TEXTURE_GEN_T' : undeclared identifier
error C2065: 'GL_TEXTURE_GEN_R' : undeclared identifier
error C3861: 'glTexEnvi': identifier not found
error C3861: 'glPopAttrib': identifier not found
error C3861: 'glPopClientAttrib': identifier not found
error C3861: 'glInterleavedArrays': identifier not found
对于opengl得api没能好好研究1,2,所以所列函数无法通过修改代码使编译通过
请 cegui、opengl 的高手指点一二
DevIL(1.6.17)移植:
ILUT模块的编译问题
1>ilut_states.obj : error LNK2019: unresolved external symbol iGLSetMaxH referenced in function ilutSetInteger
1>ilut_states.obj : error LNK2019: unresolved external symbol iGLSetMaxW referenced in function ilutSetInteger
1>ilut_win32.obj : error LNK2019: unresolved external symbol SetDIBits referenced in function ilutConvertSliceToHBitmap
前两个在ilut_opengl.c,ilut_directx9.c中有所定义
devil没好好琢磨,所以是否必须编译时要加入 opengl或者directx的支持呢?