【匠芯创D133CBS】linux编译环境搭建
<p> </p><p><span style="font-size:16px;"><strong>一、下载源码</strong></span></p>
<p> </p>
<p><span style="font-size:16px;">1.1、获取源码</span></p>
<p><span style="font-size:16px;">执行命令:root@ThinkPad:/opt# git clone <a href="https://gitee.com/artinchip/luban-lite.git" target="_blank">https://gitee.com/artinchip/luban-lite.git</a></span></p>
<p> </p>
<p><span style="font-size:16px;">1.2、更新资源库</span></p>
<p><span style="font-size:16px;"></span></p>
<p> </p>
<p><span style="font-size:16px;">1.3、安装scons</span></p>
<p><span style="font-size:16px;">root@ThinkPad:/opt/luban-lite# cd tools/env/local_pkgs/<br />
root@ThinkPad:/opt/luban-lite/tools/env/local_pkgs# tar xvf scons-3.1.2.tar.gz<br />
root@ThinkPad:/opt/luban-lite/tools/env/local_pkgs/scons-3.1.2# python3 setup.py install</span></p>
<p> </p>
<p><span style="font-size:16px;">1.4、安装 pycryptodomex</span></p>
<p><span style="font-size:16px;">root@ThinkPad:/opt/luban-lite# apt-get install pip<br />
root@ThinkPad:/opt/luban-lite# cd tools/env/local_pkgs/<br />
root@ThinkPad:/opt/luban-lite/tools/env/local_pkgs# tar xvf pycryptodomex-3.11.0.tar.gz<br />
root@ThinkPad:/opt/luban-lite/tools/env/local_pkgs/pycryptodomex-3.11.0# python3 setup.py install</span><br />
</p>
<p><strong><span style="font-size:16px;">二、编译SDK</span></strong></p>
<p><span style="font-size:16px;">root@ThinkPad:/opt/luban-lite# scons --list-def</span></p>
<p><span style="font-size:16px;"></span></p>
<p><span style="font-size:16px;">root@ThinkPad:/opt/luban-lite# scons --apply-def=11</span></p>
<p><span style="font-size:16px;"></span></p>
<p> </p>
<p><span style="font-size:16px;">root@ThinkPad:/opt/luban-lite# scons</span></p>
<p><span style="font-size:16px;"></span></p>
<p> </p>
<p><span style="font-size:16px;">编译成功</span></p>
<p> </p>
<p>linux编译环境搭建本来就有点繁琐,确实是这样</p>
<p>多谢分享!多谢分享!多谢分享!多谢分享!多谢分享!多谢分享!</p>
页:
[1]