1.下载recastnavigation
地址:https://github.com/recastnavigation/recastnavigation
2.lua环境配置
地址:http://blog.csdn.net/ccy0815ccy/article/details/45116023
3.下载premake5
地址:http://premake.github.io/download.html#v5

4.下载好的premake.exe(第三步下载的压缩包里面)放到和premake5.lua(xxx/RecastDemo)的同一目录下
结果如下图:

5.运行cmd
http://jingyan.baidu.com/article/4853e1e51ca10f1909f726ac.html
按下图格式输入命令:

之后会多一个Build目录:

6.进入目录Build->vs20xx(vs版本),运行recastnavigation.sln
7.下载SDL (根据不同系统下载)
地址:http://www.libsdl.org/download-2.0.php
8.将下载好的SDL压缩包解压到xxxxx/RecastDemo\Contrib目录下,并名字改为SDL,最终结果为:

9.编译、运行吧骚年
网友评论