背景:目前主流使用qt,kanzi,unity开发仪表hmi项目,本次探讨用godot开发仪表hmi项目。
考虑到通讯,需要c++支持,本次使用插件方案,封装c++为库,给godot使用。
流程

脚本调用逻辑

编译
[win]
SCons安装
pip install scons -i https://pypi.tuna.tsinghua.edu.cn/simple
编译,只需要编译debug
python -m SCons platform=windows target=template_debug arch=x86_64 -j4
python -m SCons platform=windows target=template_release arch=x86_64 -j4
重新加载项目,然后导出pck
[linux yocto]
SCons 4.0 or greater
方法
-
装 pip3(如果还没有)
apt install -y python3-pip -
用 pip 装最新 SCons 4.x
pip3 install --upgrade scons -
确认版本
scons --version
编译
./build_yocto.sh

421

被折叠的 条评论
为什么被折叠?



