发帖
217 11 20
2023-11-12 09:24:57
你好,三个环境变量已经添加,但是powershell中第二个命令验证失败是什么原因
2023-11-12 13:23:54
cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out
process_begin: CreateProcess(NULL, cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out, ...) failed.
make (e=2): 系统找不到指定的文件。
make: *** [../aithinker_Ai-M6X_SDK/project.build:75: build] Error 2
这是什么故障
2023-11-12 13:23:57
你好,“进入到SDK中拉取子模块”,这个SDK怎么找?谢谢
2023-11-12 13:26:52
yangguoyi 发表于 2023-8-23 11:29
我在拉取M61的SDK子模块时报错:
git submodule update
fatal: Needed a single revision

你好,怎么拉取M61的SDK子模块?我没找到叫M61的文件夹
2023-11-12 13:37:40
X安派9527 发表于 2023-11-12 13:23
你好,“进入到SDK中拉取子模块”,这个SDK怎么找?谢谢

进入文件夹内运行那个更新代码就行了
2023-11-12 13:49:40
QRSKF 发表于 2023-11-12 00:56
参考这个 http://bbs.ai-thinker.com/forum.php?mod=viewthread&tid=42129&_dsign=f70da3b5

没效果
2023-11-12 13:58:06
PS E:\xiaoanpai\AiPi-Open-Kits\AiPi-Eyes_weather> make
./../aithinker_Ai-M6X_SDK/tools/cmake/bin/cmake.exe -S . -B build -G "MinGW Makefiles" -DCROSS_COMPILE=riscv64-unknown-elf- -DCHIP=bl616 -DCPU_ID= -DBOARD=bl616dk -DBOARD_DIR= -DCONFIG_DEBUG=y -DCONFIG_ROMAPI=y -DCONFIG_USB_HS=y -DCONFIG_COMX=/dev/ttyUSB0 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF -DCONFIG_TLSF=y
-- [register library : mbedtls], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/crypto/mbedtls
-- [register library : lvgl], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/graphics/lvgl
-- [register library : libc], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/libc
-- [register library : mm], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/mm
-- [register library : lwip], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/net/lwip/lwip
-- [register library : dhcpd], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/net/lwip/lwip_apps/dhcpd
-- [register library : ping], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/net/lwip/lwip_apps/ping
-- [register library : freertos], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/os/freertos
-- [register library : utils], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/utils
-- [register extern library : libwifi6], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/wireless/wifi6
-- [register library : bl6_os_adapter], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/wireless/wifi6/bl6_os_adapter
-- [register library : easyflash4], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/components/easyflash4
-- [register library : lhal], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/lhal
-- [register extern library : libcsi_xt900p32f_dsp], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/lhal
-- [register extern library : libpka], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/lhal
-- [register library : std], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/soc/bl616/std
-- [register extern library : librf], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/soc/bl616/rf
-- [register library : rfparam], path:E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/drivers/rfparam
-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= riscv64-unknown-elf-gcc.exe
CMAKE_CXX_COMPILER= riscv64-unknown-elf-g++.exe
CMAKE_ASM_COMPILER= riscv64-unknown-elf-gcc.exe
CMAKE_ASM_COMPILER= riscv64-unknown-elf-gcc.exe
CMAKE_C_COMPILER= riscv64-unknown-elf-gcc.exe
CMAKE_CXX_COMPILER= riscv64-unknown-elf-g++.exe

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: gcc.exe
CMake Error at E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/cmake/bouffalo_sdk-config.cmake:31 (enable_language):
  The CMAKE_C_COMPILER:

    gcc.exe

  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 E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/cmake/bouffalo_sdk-config.cmake:31 (enable_language):
  The CMAKE_CXX_COMPILER:

    g++.exe

  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)


CMake Error at E:/xiaoanpai/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/cmake/bouffalo_sdk-config.cmake:31 (enable_language):
  The CMAKE_ASM_COMPILER:

    gcc.exe

  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 "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path   
  to the compiler, or to the compiler name if it is in the PATH.
  CMakeLists.txt:5 (find_package)


-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
See also "E:/xiaoanpai/AiPi-Open-Kits/AiPi-Eyes_weather/build/CMakeFiles/CMakeOutput.log".
See also "E:/xiaoanpai/AiPi-Open-Kits/AiPi-Eyes_weather/build/CMakeFiles/CMakeError.log".
make: *** [../aithinker_Ai-M6X_SDK/project.build:72: build] Error 1
PS E:\xiaoanpai\AiPi-Open-Kits\AiPi-Eyes_weather>  riscv64-unknown-elf-gcc -v   
Using built-in specs.
COLLECT_GCC=E:\xiaoanpai\AiPi-Open-Kits\aithinker_Ai-M6X_SDK\toolchain_gcc_t-head_windows\bin\riscv64-unknown-elf-gcc.exe
COLLECT_LTO_WRAPPER=e:/xiaoanpai/aipi-open-kits/aithinker_ai-m6x_sdk/toolchain_gcc_t-head_windows/bin/../libexec/gcc/riscv64-unknown-elf/10.2.0/lto-wrapper.exe
Target: riscv64-unknown-elf
Configured with: /mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/./source/riscv/riscv-gcc/configure --target=riscv64-unknown-elf --host=i686-w64-mingw32 --with-gmp=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-mpfr=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-mpc=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-libexpat-prefix=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-libmpfr-prefix=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-pkgversion='Xuantie-900 elf newlib gcc Toolchain V2.6.1 B-20220906' CXXFLAGS='-g -O2 -DTHEAD_VERSION_NUMBER=2.6.1 ' --enable-libgcctf --prefix=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/Xuantie-900-gcc-elf-newlib-mingw-V2.6.1 --disable-shared --enable-threads=posix --enable-languages=c,c++ --without-system-zlib --enable-tls --with-newlib --with-sysroot=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/riscv64-unknown-elf --with-native-system-header-dir=/include --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --disable-tm-clone-registry --src=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/./source/riscv/riscv-gcc --enable-multilib --with-abi=lp64d --with-arch=rv64gcxthead 'CFLAGS_FOR_TARGET=-Os   -mcmodel=medany' 'CXXFLAGS_FOR_TARGET=-Os   -mcmodel=medany'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (Xuantie-900 elf newlib gcc Toolchain V2.6.1 B-20220906)
PS E:\xiaoanpai\AiPi-Open-Kits\AiPi-Eyes_weather>

打开天气站源码,这个是什么报错?
2023-11-12 15:03:02
ckdsx.cn 发表于 2023-8-14 14:56
汇报学习进展:
编译好像没成功,git下来文件什么的,完全没有改动过啊!是我这里git的文件不全么?
下面的 ...

这个没问题的,不影响编译烧录。主要看终端里的错误
2023-11-12 15:37:37
是橘子不是橙子 发表于 2023-11-12 09:24
你好,三个环境变量已经添加,但是powershell中第二个命令验证失败是什么原因 ...

在 管理员里面运行一下
2023-11-12 15:39:01
linyu777 发表于 2023-11-12 13:23
cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out
process_begin: Creat ...

我也是,解决了吗,同学?
您需要登录后才可以回帖 立即登录
高级模式
统计信息
  • 会员数: 28634 个
  • 话题数: 40806 篇