现在的位置: 首页 > 综合 > 正文

VS2008 下 编译 ogre source

2013年09月26日 ⁄ 综合 ⁄ 共 586字 ⁄ 字号 评论关闭

1 下载MS DX SDK,安装

2 VS : TOOLS/OPTIONS/PROJECTS AND SOLUTIONS/VC++ DIRECTORIES/

  设置头文件及LIB文件路径:

  Include files: DX安装文件夹/include

  Library files: DX安装文件夹/Lib/X86(32位)

 

 For OGRE 渲染模块

3 将源码包解压缩到任意文件夹下 ,如 ogrenew/ogre

4 解压Dependencyies 得到两个文件夹 Dependencies 和 Samples

5 将Dependencies放入 ogre 文件夹下,同其他文件夹如OgreMain ,Test, Tools等在同意目录下;

   将Samples/Comman/bin/Debug and Release 中的文件(dll)拷贝到ogre/Samples中对应的文件夹中

6 打开Ogre_vc9.sln;保持各工程的默认设置

7 编译,Build/Batch Build, 全选,开始编译

8 编译完成。生成的DLL,cfg及EXE文件位于ogre/Samples/Comman/bin/Debug and Release文件夹下

   Lib文件位于ogre/lib文件夹下

 

 

ogre采用多字符集,非unicode;各工程的相关文件路径(include,lib,output,obj,...)已保存在工程文件中,使用ogre工程默认设置即可。

抱歉!评论已关闭.