重现步骤
1.按照官网步骤安装工具链
2.拉取docker镜像
3.按照opencv开发指南编译
期待结果和实际结果
成功编译出可执行文件
似乎是编译器路径错误
软硬件版本信息
canmv-k230-lp4 v3.0
k230_sdk v1.6
错误日志
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:
riscv64-unknown-linux-musl-gcc
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
riscv64-unknown-linux-musl-g++
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
尝试解决过程
在build_app.sh中添加了自己的路径还是不行
补充材料