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
Paste_Image.png
4.下載好的premake.exe(第三步下載的壓縮包里面)放到和premake5.lua(xxx/RecastDemo)的同一目錄下
結果如下圖:
Paste_Image.png
5.運行cmd
http://jingyan.baidu.com/article/4853e1e51ca10f1909f726ac.html
按下圖格式輸入命令:
Paste_Image.png
之后會多一個Build目錄:
Paste_Image.png
6.進入目錄Build->vs20xx(vs版本),運行recastnavigation.sln
7.下載SDL (根據不同系統下載)
地址:http://www.libsdl.org/download-2.0.php
8.將下載好的SDL壓縮包解壓到xxxxx/RecastDemo\Contrib目錄下,并名字改為SDL,最終結果為:
Paste_Image.png
9.編譯、運行吧騷年