下载、编译Ogre1.7.2

    技术2022-05-20  51

    1. 通过hg下载Ogre1.7.2版本

    2. 先编译Dependencies工程

    3. 使用CMake生成新的工程目录、Ogre源码(Ogre编译方法,见Ogre目录下的BuildingOgre.txt)

    4. 编译Ogre Source报错

     

    C:/OGRE/OGRE_TEMP/ogre/RenderSystems/Direct3D9/src/OgreD3D9HLSLProgram.cpp:179: error: 'D3DXSHADER_OPTIMIZATION_LEVEL1' was not declared in this scope C:/OGRE/OGRE_TEMP/ogre/RenderSystems/Direct3D9/src/OgreD3D9HLSLProgram.cpp:185: error: 'D3DXSHADER_OPTIMIZATION_LEVEL0' was not declared in this scope C:/OGRE/OGRE_TEMP/ogre/RenderSystems/Direct3D9/src/OgreD3D9HLSLProgram.cpp:191: error: 'D3DXSHADER_OPTIMIZATION_LEVEL2' was not declared in this scope C:/OGRE/OGRE_TEMP/ogre/RenderSystems/Direct3D9/src/OgreD3D9HLSLProgram.cpp:194: error: 'D3DXSHADER_OPTIMIZATION_LEVEL3' was not declared in this scope

     

    解决方案:下载2010版本的DXSDK


    最新回复(0)