PDA

View Full Version : RT3DApp compile error on windows



JonyMnemonic
01-01-2012, 09:14 PM
Hello,

After updating on revision 698, RT3DApp doesn't work. I'm trying to build on windows and I got next errors:




1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C2146: syntax error : missing ';' before identifier 'pGlCompressedTexImage2D'
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1733): error C2065: 'pGlCompressedTexImage2D' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1734): error C3861: 'pGlCompressedTexImage2D': identifier not found
1> COpenGLSLMaterialRenderer.cpp
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C2146: syntax error : missing ';' before identifier 'pGlCompressedTexImage2D'
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1733): error C2065: 'pGlCompressedTexImage2D' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1734): error C3861: 'pGlCompressedTexImage2D': identifier not found
1> Generating Code...
1> Compiling...
1> COpenGLShaderMaterialRenderer.cpp
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C2146: syntax error : missing ';' before identifier 'pGlCompressedTexImage2D'
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1733): error C2065: 'pGlCompressedTexImage2D' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1734): error C3861: 'pGlCompressedTexImage2D': identifier not found
1> COpenGLParallaxMapRenderer.cpp
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C2146: syntax error : missing ';' before identifier 'pGlCompressedTexImage2D'
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1733): error C2065: 'pGlCompressedTexImage2D' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1734): error C3861: 'pGlCompressedTexImage2D': identifier not found
1> COpenGLNormalMapRenderer.cpp
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C2146: syntax error : missing ';' before identifier 'pGlCompressedTexImage2D'
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1733): error C2065: 'pGlCompressedTexImage2D' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1734): error C3861: 'pGlCompressedTexImage2D': identifier not found
1> COpenGLExtensionHandler.cpp
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C2146: syntax error : missing ';' before identifier 'pGlCompressedTexImage2D'
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1733): error C2065: 'pGlCompressedTexImage2D' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1734): error C3861: 'pGlCompressedTexImage2D': identifier not found
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.cpp(76): error C2614: 'irr::video::COpenGLExtensionHandler' : illegal member initialization: 'pGlCompressedTexImage2D' is not a base or member
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.cpp(207): error C2065: 'pGlCompressedTexImage2D' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.cpp(207): error C2065: 'PFNGLCOMPRESSEDTEXIMAGE2DPROC' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.cpp(207): error C2146: syntax error : missing ';' before identifier 'wglGetProcAddress'
1> COpenGLDriver.cpp
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C2146: syntax error : missing ';' before identifier 'pGlCompressedTexImage2D'
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1054): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1733): error C2065: 'pGlCompressedTexImage2D' : undeclared identifier
1>e:\protonsdk\shared\irrlicht\source\irrlicht\copen glextensionhandler.h(1734): error C3861: 'pGlCompressedTexImage2D': identifier not found



Can't found PFNGLCOMPRESSEDTEXIMAGE2DPROC.

Help please, thanks in advance.

Seth
01-02-2012, 01:44 AM
Oops, thanks.

Ok, fixed OpenGL win builds on svn :wheelchair::poop::sweatdrop:

JonyMnemonic
01-02-2012, 11:41 AM
Thanks, now it's working.