步骤
1.下载recastnavigation
地址:https://github.com/recastnavigation/recastnavigation
2.下载premake5
地址:http://premake.github.io/download.html#v5
把premake5.exe解压到RecastDemo下,与premake5.lua同级
3.下载SDL库
SDL 界面选择
Development Libraries:
Windows:
SDL2-devel-2.0.9-VC.zip (Visual C++ 32/64-bit)
SDL2-devel-2.0.9-mingw.tar.gz ([MinGW]
(http://mingw-w64.sourceforge.net/) 32/64-bit)
选择SDL2-devel-2.0.9-VC.zip
地址:https://www.libsdl.org/release/SDL2-devel-2.0.9-VC.zip
4.将第3步下载的压缩包中include解压到RecastDemo\Include中、lib解压到RecastDemo\Contrib\SDL\lib中
5.Dos窗口编译
- VS编译运行
网友评论