软件:Ogre 1.4.8
步骤:
这里面用了我为了试验而临时使用的本地路径,不能直接引用。
- 先将第三方依赖库下载build好,放到指定目录
- 通过configure配置ogre,参数:ZZIPLIB_LIBS=-lzzip ZZIPLIB_CFLAGS=-I./ OIS_CFLAGS=-I/home/G-BITS/doing/doing_p02_patch_linux/a02/3rd/include OIS_LIBS=-lOIS LDFLAGS=-L/home/G-BITS/doing/doing_p02_patch_linux/a02/3rd/lib/Linux CXXFLAGS=-I/home/G-BITS/doing/doing_p02_patch_linux/a02/3rd/include/freeimage/ ./configure --disable-devil --disable-cg
- make
- make install
- 前往X Server端启动、配置X
- 打开X(MacOS下应用程序->实用工具->X11)
- 开启X Client的权限,在X server的shell下运行:xhost +
- 回到Linux下
- cd OGRE目录/Samples/Common/bin
- 运行程序
没有评论:
发表评论