How to Build RecastNavigation with VC2015

5 篇文章 0 订阅


1. Download
Recast Navigation
 https://github.com/recastnavigation/recastnavigation
 recastnavigation-1.5.1.zip
libSDL
 http://www.libsdl.org/download-2.0.php
 SDL2-2.0.4.zip
Premake
 http://premake.github.io/download.html

2. Prepare and Build
set RECAST_DIR="D:\prj\recastnavigation-1.5.1"
set DOWNLOAD_DIR="G:\download\dev"
set MY7Z="D:\Program Files\7-Zip\7z.exe"

cd /d %RECAST_DIR%\..
%MY7Z% x %DOWNLOAD_DIR%\recastnavigation-*.zip

cd /d %RECAST_DIR%\RecastDemo\Contrib
%MY7Z% x %DOWNLOAD_DIR%\SDL2-*.zip
ren SDL2-2.0.4 SDL

cd /d %RECAST_DIR%\RecastDemo
%MY7Z% x %DOWNLOAD_DIR%\premake-5.*-windows.zip
premake5.exe vs2015
del premake5.exe

@ECHO Config and rebuild SDL Release/Win32 solution
%RECAST_DIR%\RecastDemo\Contrib\SDL\VisualC\SDL.sln
mkdir %RECAST_DIR%\RecastDemo\Contrib\SDL\lib\x86
copy /Y %RECAST_DIR%\RecastDemo\Contrib\SDL\VisualC\Win32\Release\*.lib %RECAST_DIR%\RecastDemo\Contrib\SDL\lib\x86
copy /Y %RECAST_DIR%\RecastDemo\Contrib\SDL\VisualC\Win32\Release\*.dll %RECAST_DIR%\RecastDemo\Contrib\SDL\lib\x86

@ECHO Config and rebuild RecastNavigation Win32 solution
%RECAST_DIR%\RecastDemo\Build\vs2015\recastnavigation.sln

3. Reference
https://github.com/recastnavigation/recastnavigation

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Ubuntu Kylin是一个基于Ubuntu的中文操作系统,旨在为中国用户提供更好的本地化体验。要构建Ubuntu Kylin的ISO映像,请按照以下步骤进行操作: 1. 下载Ubuntu Kylin的ISO映像和Ubuntu Kylin的源代码。 2. 安装Ubuntu Kylin的编译环境和必要的依赖项。在终端中输入以下命令来安装这些软件包: ``` sudo apt-get update sudo apt-get install git ubuntu-dev-tools build-essential dh-make debhelper devscripts ``` 3. 解压缩Ubuntu Kylin的源代码,并切换到源代码目录中。在终端中输入以下命令: ``` tar -xzvf ubuntukylin.tar.gz cd ubuntukylin ``` 4. 在源代码目录中构建软件包。在终端中输入以下命令: ``` debuild -b -uc -us ``` 这将构建所有源代码中的软件包,并在构建完成后生成deb二进制文件。 5. 创建一个新目录,将生成的deb二进制文件和ISO映像复制到该目录中。 6. 创建一个新的ISO映像。在终端中输入以下命令: ``` sudo mkisofs -o /path/to/new/image.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -V "Ubuntu Kylin" . ``` 这将创建一个新的ISO映像,并在指定的路径下保存。请注意,您需要将“/path/to/new/image.iso”替换为您要保存ISO映像的实际路径。 7. 等待ISO映像创建完成,并验证它是否可以正常启动。 以上是构建Ubuntu Kylin ISO映像的简要步骤。请注意,这只是一个简单的示例,实际的构建过程可能会更加复杂,具体取决于您的系统配置和软件包需求。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值