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>
打开天气站源码,这个是什么报错? |