重现步骤
参考教程:https://developer.canaan-creative.com/k230/zh/dev/01_software/board/K230_SDK_%E4%BD%BF%E7%94%A8%E8%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 all
make[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 <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> 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 2
make[1]: Leaving directory '/home/alex/k230_sdk/src/big/mpp/userapps/sample'
/bin/bash: line 6: exit: check_src: numeric argument required
make: *** [Makefile:229: mpp-apps] Error 2
root@1e9e9f407cba:/home/alex/k230_sdk# ls -l /home/alex/k230_sdk/src/big/mpp/userapps/sample/fastboot_app
total 228
尝试解决过程
补充材料