完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
参考教程:https://developer.canaan-creativ ... AF%B4%E6%98%8E.html
1、下载K230sdk代码 2、根据教程,进行docker环境准备 3、在docker环境中进行编译,执行:make CONF=k230_canmv_defconfig 期待结果和实际结果 软硬件版本信息 win10+wsl+ubuntu20.04 错误日志 /home/alex/k230_sdk/src/big/mpp/userapps/sample/sample_face_detect/Makefile allmake[2]: Leaving directory '/home/alex/k230_sdk/src/big/mpp/userapps/sample/sample_face_detect'CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.-- Configuring incomplete, errors occurred!make[2]: Entering directory '/home/alex/k230_sdk/output/k230_canmv_v3_defconfig/big/mpp/userapps/sample/fastboot_app'make[2]: *** No targets specified and no makefile found. Stop.make[2]: Leaving directory '/home/alex/k230_sdk/output/k230_canmv_v3_defconfig/big/mpp/userapps/sample/fastboot_app'make[1]: *** [Makefile:44: all] Error 2make[1]: Leaving directory '/home/alex/k230_sdk/src/big/mpp/userapps/sample'/bin/bash: line 6: exit: check_src: numeric argument requiredmake: *** [Makefile:229: mpp-apps] Error 2root@1e9e9f407cba:/home/alex/k230_sdk# ls -l /home/alex/k230_sdk/src/big/mpp/userapps/sample/fastboot_apptotal |
|
相关推荐
1个回答
|
|
|
根据您提供的错误日志,K230 SDK编译失败主要源于CMake版本不匹配问题。以下是详细分析和解决方案: 错误原因分析
解决方案(在Docker环境中操作)步骤1:升级CMake版本步骤2:清理并重新编译备选方案:若仍失败
预防措施
请先执行CMake升级方案,80%类似问题可通过此解决。如遇具体错误细节,建议提供完整的错误日志输出进一步分析。 |
|
|
|
|
只有小组成员才能发言,加入小组>>
AI_cube训练模型得到了npy文件,没有kmodel文件
770 浏览 0 评论
请问K230 V3.0版本烧录固件和使用IDE到底是烧录哪个啊?
735 浏览 0 评论
442浏览 4评论
AI Cube进行yolov8n模型训练,创建项目目标检测时显示数据集目录下存在除标注和图片外的其他目录如何处理?
461浏览 3评论
autodl算力云在.pt转换onnx文件时正常,但onnx转.kmodel文件时报错,为什么?
552浏览 2评论
如何在大核rtt上把kd_mpi_vicap_start_stream三个摄像头各自出的流拼成一个流呢?
164浏览 2评论
564浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 16:02 , Processed in 0.742099 second(s), Total 41, Slave 34 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
171
