发帖
15 0 0
12
返回列表 发新帖
2023-11-22 23:44:33
爱思 发表于 2023-11-22 22:26
编译toolchain报错日志很长,我截取最后的几行,大佬看看:

/bin/sh: line 4: riscv64-unknown-elf-ar: co ...

你这个大概率代码没拉完整,我前面全新环境重新编译了一下,代码目录含.git共有9G多,或者你用我编译好的吧,我编辑到主贴里
2023-12-10 10:43:26
优秀
2024-4-29 20:17:40
学习学习
2024-5-9 06:30:17
export PATH=$(brew --prefix)/opt/coreutils/libexec/gnubinPATH
这个是安装什么?

在helloword 里执行报错:
CMake Error at /Users/master/Documents/Electronic_Fever/MCU/aipi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/cmake/bouffalo_sdk-config.cmake:31 (enable_language):
  The CMAKE_C_COMPILER:

    riscv64-unknown-elf-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.
Call Stack (most recent call first):
  CMakeLists.txt:5 (find_package)


CMake Error at /Users/master/Documents/Electronic_Fever/MCU/aipi/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/cmake/bouffalo_sdk-config.cmake:31 (enable_language):
  The CMAKE_CXX_COMPILER:

    riscv64-unknown-elf-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.
Call Stack (most recent call first):
  CMakeLists.txt:5 (find_package)
2024-9-14 15:53:46
学习一下
2024-12-29 09:17:10
我的是编译环境是刷了linux的小米手机,架构是aarch64,试试看看能不能用
您需要登录后才可以回帖 立即登录
高级模式
12
统计信息
  • 会员数: 28374 个
  • 话题数: 40420 篇