the ogre seems not define OGRE_PLATFORM_WIN64 , but OGRE_PLATFORM_WIN32 and OGRE_PLATFORM_WINRT
i got a lot of undefined error like .
Code: Select all
error C2065: “GLuint”
Code: Select all
error C2065: “GLuint”
Code: Select all
1>J:\graphic\ogre1.9\RenderSystems\Direct3D11\src/OgreD3D11HLSLProgram.cpp(389): error C2065: 'D3DCOMPILE_DEBUG' : undeclared identifier
1>J:\graphic\ogre1.9\RenderSystems\Direct3D11\src/OgreD3D11HLSLProgram.cpp(392): error C2065: 'D3DCOMPILE_SKIP_OPTIMIZATION' : undeclared identifier
1>J:\graphic\ogre1.9\RenderSystems\Direct3D11\src/OgreD3D11HLSLProgram.cpp(399): error C2065: 'D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR' : undeclared identifier
1>j:\graphic\ogre1.9\RenderSystems\Direct3D11\src/OgreD3D11HLSLProgram.cpp(403): error C2065: 'D3DCOMPILE_PACK_MATRIX_ROW_MAJOR' : undeclared identifier
1>J:\graphic\ogre1.9\RenderSystems\Direct3D11\src/OgreD3D11HLSLProgram.cpp(408): error C2065: 'D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY' : undeclared identifier
1>J:\graphic\ogre1.9\RenderSystems\Direct3D11\src/OgreD3D11HLSLProgram.cpp(416): error C3861: 'D3DCompile': identifier not found
1>J:\graphic\ogre1.9\RenderSystems\Direct3D11\src/OgreD3D11HLSLProgram.cpp(463): error C3861: 'D3DReflect': identifier not found
Code: Select all
#if (OGRE_PLATFORM == OGRE_PLATFORM_WINRT && OGRE_WINRT_TARGET_TYPE == PHONE)
# include <C:\Program Files (x86)\Windows Kits\8.0\Include\um\d3d11shader.h>
#else
# include <d3d11shader.h>
# include <D3Dcompiler.h>
#endif
Code: Select all
2> compile_RenderSystem_GL3Plus_0.cpp
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDefaultHardwareBufferManager.cpp(216): error C2065: 'GLuint' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDefaultHardwareBufferManager.cpp(216): error C2070: ''unknown-type'': illegal sizeof operand
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDefaultHardwareBufferManager.cpp(223): error C2065: 'GLuint' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDefaultHardwareBufferManager.cpp(223): error C2070: ''unknown-type'': illegal sizeof operand
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(48): error C2146: syntax error : missing ';' before identifier 'mGLInternalFormat'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(48): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(78): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(79): error C2146: syntax error : missing ';' before identifier 'getGLFormat'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(79): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(79): warning C4183: 'getGLFormat': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(79): error C2065: 'mGLInternalFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(88): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(93): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(122): error C2146: syntax error : missing ';' before identifier 'mTarget'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(122): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(123): error C2146: syntax error : missing ';' before identifier 'mFaceTarget'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(123): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(124): error C2146: syntax error : missing ';' before identifier 'mTextureID'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(124): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(125): error C2146: syntax error : missing ';' before identifier 'mFace'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(126): error C2146: syntax error : missing ';' before identifier 'mLevel'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(126): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(140): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(144): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(148): error C2146: syntax error : missing ';' before identifier 'mRenderbufferID'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusHardwarePixelBuffer.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(60): error C2146: syntax error : missing ';' before identifier 'getProgramID'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(60): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(61): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(61): warning C4183: 'getProgramID': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(69): error C2146: syntax error : missing ';' before identifier 'mProgramID'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(69): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(70): error C2146: syntax error : missing ';' before identifier 'mProgramType'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusGpuProgram.h(61): error C2065: 'mProgramID' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(57): error C2065: 'GLenum' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(57): error C2065: 'GLuint' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(57): error C2923: 'std::unordered_map' : 'GLenum' is not a valid template type argument for parameter '_Kty'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(57): error C2923: 'std::unordered_map' : 'GLuint' is not a valid template type argument for parameter '_Ty'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(79): error C2146: syntax error : missing ';' before identifier 'mTextureTypes'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(79): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(95): error C2146: syntax error : missing ';' before identifier 'mAutoTextureMatrix'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(95): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(127): error C2146: syntax error : missing ';' before identifier 'mActiveTextureUnit'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(127): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(135): error C2065: 'GLuint' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(135): error C2923: 'Ogre::vector' : 'GLuint' is not a valid template type argument for parameter 'T'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(136): error C2065: 'GLuint' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(136): error C2923: 'Ogre::vector' : 'GLuint' is not a valid template type argument for parameter 'T'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(141): error C2146: syntax error : missing ';' before identifier 'mPolygonMode'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(141): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(143): error C2146: syntax error : missing ';' before identifier 'getCombinedMinMipFilter'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(143): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(143): warning C4183: 'getCombinedMinMipFilter': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(152): error C2146: syntax error : missing ';' before identifier 'getTextureAddressingMode'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(152): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(152): warning C4183: 'getTextureAddressingMode': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(153): error C2146: syntax error : missing ';' before identifier 'getBlendMode'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(153): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(153): warning C4183: 'getBlendMode': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(158): error C2065: 'GLuint' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(158): error C2923: 'Ogre::vector' : 'GLuint' is not a valid template type argument for parameter 'T'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(159): error C2065: 'GLuint' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(159): error C2923: 'Ogre::vector' : 'GLuint' is not a valid template type argument for parameter 'T'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(233): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(500): error C2146: syntax error : missing ';' before identifier 'convertCompareFunction'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(500): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(500): warning C4183: 'convertCompareFunction': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(501): error C2146: syntax error : missing ';' before identifier 'convertStencilOp'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(501): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(501): warning C4183: 'convertStencilOp': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(518): error C2146: syntax error : missing ';' before identifier '_getCurrentAnisotropy'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(518): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(518): warning C4183: '_getCurrentAnisotropy': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(520): error C2146: syntax error : missing ';' before identifier '_getPolygonMode'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(520): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(520): warning C4183: '_getPolygonMode': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusRenderSystem.h(520): error C2065: 'mPolygonMode' : undeclared identifier
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(55): error C2146: syntax error : missing ';' before identifier 'getGL3PlusTextureTarget'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(55): warning C4183: 'getGL3PlusTextureTarget': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(57): error C2146: syntax error : missing ';' before identifier 'getGLID'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(60): warning C4183: 'getGLID': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(94): error C2146: syntax error : missing ';' before identifier 'mTextureID'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(94): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusTexture.h(59): error C2065: 'mTextureID' : undeclared identifier
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusRenderTexture.h(88): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusRenderTexture.h(90): error C2065: 'depthFormat' : undeclared identifier
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusRenderTexture.h(90): error C2065: 'GL_NONE' : undeclared identifier
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusRenderTexture.h(91): error C2065: 'stencilFormat' : undeclared identifier
2>J:\graphic\ogre1.9\rendersystems\gl3plus\include\OgreGL3PlusRenderTexture.h(91): error C2065: 'GL_NONE' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(72): error C2146: syntax error : missing ';' before identifier 'getGLFBOID'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(72): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(72): warning C4183: 'getGLFBOID': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(74): error C2146: syntax error : missing ';' before identifier 'getGLMultisampleFBOID'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(74): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(74): warning C4183: 'getGLMultisampleFBOID': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(80): error C2146: syntax error : missing ';' before identifier 'getFSAA'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(80): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(80): warning C4183: 'getFSAA': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(86): error C2146: syntax error : missing ';' before identifier 'mNumSamples'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(86): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(87): error C2146: syntax error : missing ';' before identifier 'mFB'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(87): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(88): error C2146: syntax error : missing ';' before identifier 'mMultisampleFB'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(88): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(72): error C2065: 'mFB' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFrameBufferObject.h(74): error C2065: 'mMultisampleFB' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(50): error C2065: 'GL_DEPTH_COMPONENT16' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(50): error C2051: case expression not constant
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(53): error C2065: 'GL_DEPTH_COMPONENT24' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(53): error C2051: case expression not constant
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(54): error C2065: 'GL_DEPTH24_STENCIL8' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(54): error C2051: case expression not constant
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(56): error C2065: 'GL_DEPTH_COMPONENT32' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(56): error C2051: case expression not constant
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(57): error C2065: 'GL_DEPTH32F_STENCIL8' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(57): error C2051: case expression not constant
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(117): error C2065: 'GLenum' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(117): error C2146: syntax error : missing ';' before identifier 'internalFormat'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(117): error C2065: 'internalFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(118): error C2065: 'GLenum' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(118): error C2146: syntax error : missing ';' before identifier 'depthFormat'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(118): error C2065: 'depthFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(118): error C2065: 'stencilFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(119): error C2065: 'internalFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(119): error C2065: 'depthFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(119): error C2065: 'stencilFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(124): error C2065: 'depthFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(129): error C2065: 'stencilFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(129): error C2065: 'GL_NONE' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(133): error C2065: 'stencilFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\src/OgreGL3PlusDepthBuffer.cpp(136): error C2065: 'internalFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(78): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(91): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(106): error C2146: syntax error : missing ';' before identifier 'getTemporaryFBO'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(106): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(106): warning C4183: 'getTemporaryFBO': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(134): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(137): error C2535: 'Ogre::GL3PlusFBOManager::RBFormat::RBFormat(void)' : member function already defined or declared
2> J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(134) : see declaration of 'Ogre::GL3PlusFBOManager::RBFormat::RBFormat'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(138): error C2146: syntax error : missing ';' before identifier 'format'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(183): error C2146: syntax error : missing ';' before identifier 'mTempFBO'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(183): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(187): error C2146: syntax error : missing ';' before identifier '_tryFormat'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(187): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(187): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(187): warning C4183: '_tryFormat': missing return type; assumed to be a member function returning 'int'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(188): error C2061: syntax error : identifier 'GLenum'
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(106): error C2065: 'mTempFBO' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(135): error C2065: 'inFormat' : undeclared identifier
2>J:\graphic\ogre1.9\RenderSystems\GL3Plus\include\OgreGL3PlusFBORenderTexture.h(135): fatal error C1003: error count exceeds 100; stopping compilation
Code: Select all
Error 80 error C2143: syntax error : missing ';' before 'constant' c:\program files (x86)\windows phone kits\8.0\include\directxmathmatrix.inl 1894 SampleBrowserWP8
Error 81 error C2440: '=' : cannot convert from 'DirectX::XMVECTOR' to 'int' c:\program files (x86)\windows phone kits\8.0\include\directxmathmatrix.inl 1894 SampleBrowserWP8
Error 82 error C2664: 'DirectX::XMVectorMultiplyAdd' : cannot convert parameter 1 from 'int' to 'DirectX::FXMVECTOR' c:\program files (x86)\windows phone kits\8.0\include\directxmathmatrix.inl 1900 SampleBrowserWP8
Error 83 error C2143: syntax error : missing ';' before 'constant' c:\program files (x86)\windows phone kits\8.0\include\directxmathmatrix.inl 1927 SampleBrowserWP8
Error 84 error C2440: '=' : cannot convert from 'DirectX::XMVECTOR' to 'int' c:\program files (x86)\windows phone kits\8.0\include\directxmathmatrix.inl 1927 SampleBrowserWP8
Error 85 error C2664: 'DirectX::XMVectorMultiplyAdd' : cannot convert parameter 1 from 'int' to 'DirectX::FXMVECTOR' c:\program files (x86)\windows phone kits\8.0\include\directxmathmatrix.inl 1936 SampleBrowserWP8
86 IntelliSense: more than one instance of overloaded function "XMMatrixTranspose" matches the argument list:
function "XMMatrixTranspose(DirectX::CXMMATRIX M)"
function "DirectX::XMMatrixTranspose(DirectX::CXMMATRIX M)"
argument types are: (const DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 740 SampleBrowserWP8
87 IntelliSense: more than one instance of overloaded function "XMMatrixDeterminant" matches the argument list:
function "XMMatrixDeterminant(DirectX::CXMMATRIX M)"
function "DirectX::XMMatrixDeterminant(DirectX::CXMMATRIX M)"
argument types are: (DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1030 SampleBrowserWP8
88 IntelliSense: more than one instance of overloaded function "XMMatrixRotationNormal" matches the argument list:
function "XMMatrixRotationNormal(DirectX::XMVECTOR NormalAxis, float Angle)"
function "DirectX::XMMatrixRotationNormal(DirectX::XMVECTOR NormalAxis, float Angle)"
argument types are: (DirectX::XMVECTOR, float) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1653 SampleBrowserWP8
89 IntelliSense: more than one instance of overloaded function "XMMatrixTranslationFromVector" matches the argument list:
function "XMMatrixTranslationFromVector(DirectX::XMVECTOR Offset)"
function "DirectX::XMMatrixTranslationFromVector(DirectX::XMVECTOR Offset)"
argument types are: (DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1764 SampleBrowserWP8
90 IntelliSense: more than one instance of overloaded function "XMMatrixRotationZ" matches the argument list:
function "XMMatrixRotationZ(float Angle)"
function "DirectX::XMMatrixRotationZ(float Angle)"
argument types are: (float) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1765 SampleBrowserWP8
91 IntelliSense: more than one instance of overloaded function "XMMatrixTranspose" matches the argument list:
function "XMMatrixTranspose(DirectX::CXMMATRIX M)"
function "DirectX::XMMatrixTranspose(DirectX::CXMMATRIX M)"
argument types are: (DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1766 SampleBrowserWP8
92 IntelliSense: more than one instance of overloaded function "XMMatrixScalingFromVector" matches the argument list:
function "XMMatrixScalingFromVector(DirectX::XMVECTOR Scale)"
function "DirectX::XMMatrixScalingFromVector(DirectX::XMVECTOR Scale)"
argument types are: (DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1768 SampleBrowserWP8
93 IntelliSense: more than one instance of overloaded function "XMMatrixRotationZ" matches the argument list:
function "XMMatrixRotationZ(float Angle)"
function "DirectX::XMMatrixRotationZ(float Angle)"
argument types are: (float) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1770 SampleBrowserWP8
94 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1773 SampleBrowserWP8
95 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1774 SampleBrowserWP8
96 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1775 SampleBrowserWP8
97 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1778 SampleBrowserWP8
98 IntelliSense: more than one instance of overloaded function "XMMatrixTranslationFromVector" matches the argument list:
function "XMMatrixTranslationFromVector(DirectX::XMVECTOR Offset)"
function "DirectX::XMMatrixTranslationFromVector(DirectX::XMVECTOR Offset)"
argument types are: (DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1803 SampleBrowserWP8
99 IntelliSense: more than one instance of overloaded function "XMMatrixRotationQuaternion" matches the argument list:
function "DirectX::XMMatrixRotationQuaternion(DirectX::XMVECTOR Quaternion)"
function "XMMatrixRotationQuaternion(DirectX::XMVECTOR Quaternion)"
argument types are: (const DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1804 SampleBrowserWP8
100 IntelliSense: more than one instance of overloaded function "XMMatrixTranspose" matches the argument list:
function "XMMatrixTranspose(DirectX::CXMMATRIX M)"
function "DirectX::XMMatrixTranspose(DirectX::CXMMATRIX M)"
argument types are: (DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1805 SampleBrowserWP8
101 IntelliSense: more than one instance of overloaded function "XMMatrixScalingFromVector" matches the argument list:
function "XMMatrixScalingFromVector(DirectX::XMVECTOR Scale)"
function "DirectX::XMMatrixScalingFromVector(DirectX::XMVECTOR Scale)"
argument types are: (const DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1806 SampleBrowserWP8
102 IntelliSense: more than one instance of overloaded function "XMMatrixRotationQuaternion" matches the argument list:
function "DirectX::XMMatrixRotationQuaternion(DirectX::XMVECTOR Quaternion)"
function "XMMatrixRotationQuaternion(DirectX::XMVECTOR Quaternion)"
argument types are: (const DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1808 SampleBrowserWP8
103 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1812 SampleBrowserWP8
104 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1813 SampleBrowserWP8
105 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1814 SampleBrowserWP8
106 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1817 SampleBrowserWP8
107 IntelliSense: more than one instance of overloaded function "XMMatrixScalingFromVector" matches the argument list:
function "XMMatrixScalingFromVector(DirectX::XMVECTOR Scale)"
function "DirectX::XMMatrixScalingFromVector(DirectX::XMVECTOR Scale)"
argument types are: (DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1836 SampleBrowserWP8
108 IntelliSense: more than one instance of overloaded function "XMMatrixRotationZ" matches the argument list:
function "XMMatrixRotationZ(float Angle)"
function "DirectX::XMMatrixRotationZ(float Angle)"
argument types are: (float) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1838 SampleBrowserWP8
109 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1844 SampleBrowserWP8
110 IntelliSense: more than one instance of overloaded function "XMMatrixScalingFromVector" matches the argument list:
function "XMMatrixScalingFromVector(DirectX::XMVECTOR Scale)"
function "DirectX::XMMatrixScalingFromVector(DirectX::XMVECTOR Scale)"
argument types are: (const DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1862 SampleBrowserWP8
111 IntelliSense: more than one instance of overloaded function "XMMatrixRotationQuaternion" matches the argument list:
function "DirectX::XMMatrixRotationQuaternion(DirectX::XMVECTOR Quaternion)"
function "XMMatrixRotationQuaternion(DirectX::XMVECTOR Quaternion)"
argument types are: (const DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1864 SampleBrowserWP8
112 IntelliSense: more than one instance of overloaded function "XMMatrixMultiply" matches the argument list:
function "XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
function "DirectX::XMMatrixMultiply(DirectX::CXMMATRIX M1, DirectX::CXMMATRIX M2)"
argument types are: (DirectX::XMMATRIX, DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 1870 SampleBrowserWP8
113 IntelliSense: more than one instance of overloaded function "XMMatrixTranspose" matches the argument list:
function "XMMatrixTranspose(DirectX::CXMMATRIX M)"
function "DirectX::XMMatrixTranspose(DirectX::CXMMATRIX M)"
argument types are: (DirectX::XMMATRIX) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 2005 SampleBrowserWP8
114 IntelliSense: more than one instance of overloaded function "XMMatrixLookToLH" matches the argument list:
function "DirectX::XMMatrixLookToLH(DirectX::XMVECTOR EyePosition, DirectX::XMVECTOR EyeDirection, DirectX::XMVECTOR UpDirection)"
function "XMMatrixLookToLH(DirectX::XMVECTOR EyePosition, DirectX::XMVECTOR EyeDirection, DirectX::XMVECTOR UpDirection)"
argument types are: (const DirectX::XMVECTOR, DirectX::XMVECTOR, const DirectX::XMVECTOR) c:\Program Files (x86)\Windows Phone Kits\8.0\Include\directxmathmatrix.inl 2023 SampleBrowserWP8
yaxinhoo wrote:
those flag is define on the d3dcompiler.h . but i see the code on ogred3d11prerequisites.h
which not include on the phone version . did i do anything wrong ?Code: Select all
#if (OGRE_PLATFORM == OGRE_PLATFORM_WINRT && OGRE_WINRT_TARGET_TYPE == PHONE) # include <C:\Program Files (x86)\Windows Kits\8.0\Include\um\d3d11shader.h> #else # include <d3d11shader.h> # include <D3Dcompiler.h> #endif
Assaf Raman wrote:what is your issue?