例程编译错误

Viewed 29

一、描述你遇到的问题

新建工程导入例程后编译错误

二、你具体做的所有步骤结果截图


三、当前开发板状态全景照片

请插入图片

四、开发板串口所有日志

================================ [CLEAN SUCCESS] Took 1.35 seconds ================================
================================ [Python环境正常] ================================
warning: the int symbol LFS_PARTITION_ID (defined at middleware/chips/ws63/Kconfig:105) has a non-int default 0x21 (undefined)
warning: default on the choice symbol MIDDLEWARE_SUPPORT_UPG_COMPRESS (defined at middleware/chips/ws63/Kconfig:52) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol MIDDLEWARE_SUPPORT_UPG_AB (defined at middleware/chips/ws63/Kconfig:59) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol MIDDLEWARE_SUPPORT_EXCEPT_REBOOT (defined at middleware/chips/ws63/Kconfig:85) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol MIDDLEWARE_SUPPORT_EXCEPT_WAITFOREVER (defined at middleware/chips/ws63/Kconfig:91) will have no effect, as defaults do not affect choice symbols

Not searching for unused variables given on the command line.

-- BUILD_PLATFORM: windows

-- BUILD_PLATFORM: windows

-- The C compiler identification is GNU 7.3.0

-- The ASM compiler identification is GNU

-- Found assembler: D:/bearpi-pico_h3863/tools/bin/compiler/riscv/cc_riscv32_musl_105/cc_riscv32_musl_win/bin/riscv32-linux-musl-gcc.exe

-- The CXX compiler identification is GNU 7.3.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - failed

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - failed

-- Detecting CXX compile features

-- Detecting CXX compile features - done

GEN_TARGET_SRC = D:/bearpi-pico_h3863/output/ws63/acore/acore.c
PRECOMPILE_TARGET = D:/bearpi-pico_h3863/output/ws63/acore/acore.etypes
TARGET_INCLUDE = D:/bearpi-pico_h3863/middleware/chips/ws63/nv/nv_config/include;D:/bearpi-pico_h3863/middleware/utils/common_headers/native

BGTP_PROJECT=ws63
BGTP_ROM_VERSION=false
BGTP_DEVICE_ONLY=false

BG COMMON BTH_ROM_LIST:null

BTH_ROM_LIST:null

-- project_name:

-- Configuring done

-- Generating done

-- Build files have been written to: D:/bearpi-pico_h3863/output/ws63/acore/ws63-flashboot

[0/1] Re-running CMake...

ninja: error: rebuilding 'build.ninja': subcommand failed

FAILED: build.ninja
C:\Users\���\AppData\Local\Programs\Python\Python311\Lib\site-packages\cmake\data\bin\cmake.exe --regenerate-during-build -SD:\bearpi-pico_h3863 -BD:\bearpi-pico_h3863\output\ws63\acore\ws63-flashboot
CreateProcess failed: The system cannot find the file specified.

python path: C:\Users\���\AppData\Local\Programs\Python\Python311\python.exe
[ws63][acore] run custom cmd success!
D:\bearpi-pico_h3863\build\script.....\config.in
d:\bearpi-pico_h3863
Kconfig header saved to 'D:\bearpi-pico_h3863\output\ws63\acore\ws63-flashboot\mconfig.h'
######### Build target:ws63_flashboot failed

warning: the int symbol LFS_PARTITION_ID (defined at middleware/chips/ws63/Kconfig:105) has a non-int default 0x21 (undefined)

warning: default on the choice symbol MIDDLEWARE_SUPPORT_UPG_COMPRESS (defined at middleware/chips/ws63/Kconfig:52) will have no effect, as defaults do not affect choice symbols

warning: default on the choice symbol MIDDLEWARE_SUPPORT_UPG_AB (defined at middleware/chips/ws63/Kconfig:59) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol MIDDLEWARE_SUPPORT_EXCEPT_REBOOT (defined at middleware/chips/ws63/Kconfig:85) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol MIDDLEWARE_SUPPORT_EXCEPT_WAITFOREVER (defined at middleware/chips/ws63/Kconfig:91) will have no effect, as defaults do not affect choice symbols

Not searching for unused variables given on the command line.

-- BUILD_PLATFORM: windows

-- BUILD_PLATFORM: windows

-- The C compiler identification is GNU 7.3.0

-- The ASM compiler identification is GNU

-- Found assembler: D:/bearpi-pico_h3863/tools/bin/compiler/riscv/cc_riscv32_musl_105/cc_riscv32_musl_win/bin/riscv32-linux-musl-gcc.exe

-- The CXX compiler identification is GNU 7.3.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - failed

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - failed

-- Detecting CXX compile features

-- Detecting CXX compile features - done

GEN_TARGET_SRC = D:/bearpi-pico_h3863/output/ws63/acore/acore.c
PRECOMPILE_TARGET = D:/bearpi-pico_h3863/output/ws63/acore/acore.etypes
TARGET_INCLUDE = D:/bearpi-pico_h3863/middleware/chips/ws63/nv/nv_config/include;D:/bearpi-pico_h3863/middleware/utils/common_headers/native

BGTP_PROJECT=ws63
BGTP_ROM_VERSION=false
BGTP_DEVICE_ONLY=false

BG COMMON BTH_ROM_LIST:null
BTH_ROM_LIST:null

-- project_name:

-- Configuring done

-- Generating done

-- Build files have been written to: D:/bearpi-pico_h3863/output/ws63/acore/ws63-loaderboot

[0/1] Re-running CMake...

ninja: error: rebuilding 'build.ninja': subcommand failed

FAILED: build.ninja
C:\Users\���\AppData\Local\Programs\Python\Python311\Lib\site-packages\cmake\data\bin\cmake.exe --regenerate-during-build -SD:\bearpi-pico_h3863 -BD:\bearpi-pico_h3863\output\ws63\acore\ws63-loaderboot
CreateProcess failed: The system cannot find the file specified.

python path: C:\Users\���\AppData\Local\Programs\Python\Python311\python.exe
[ws63][acore] run custom cmd success!
D:\bearpi-pico_h3863\build\script.....\config.in
d:\bearpi-pico_h3863
Kconfig header saved to 'D:\bearpi-pico_h3863\output\ws63\acore\ws63-loaderboot\mconfig.h'
######### Build target:ws63_loaderboot failed

warning: the int symbol LFS_PARTITION_ID (defined at middleware/chips/ws63/Kconfig:105) has a non-int default 0x21 (undefined)

warning: default on the choice symbol MIDDLEWARE_SUPPORT_UPG_COMPRESS (defined at middleware/chips/ws63/Kconfig:52) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol MIDDLEWARE_SUPPORT_UPG_AB (defined at middleware/chips/ws63/Kconfig:59) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol MIDDLEWARE_SUPPORT_EXCEPT_REBOOT (defined at middleware/chips/ws63/Kconfig:85) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol MIDDLEWARE_SUPPORT_EXCEPT_WAITFOREVER (defined at middleware/chips/ws63/Kconfig:91) will have no effect, as defaults do not affect choice symbols

Not searching for unused variables given on the command line.

-- BUILD_PLATFORM: windows

-- BUILD_PLATFORM: windows

-- The C compiler identification is GNU 7.3.0

-- The ASM compiler identification is GNU

-- Found assembler: D:/bearpi-pico_h3863/tools/bin/compiler/riscv/cc_riscv32_musl_105/cc_riscv32_musl_fp_win/bin/riscv32-linux-musl-gcc.exe

-- The CXX compiler identification is GNU 7.3.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - failed

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - failed

-- Detecting CXX compile features

-- Detecting CXX compile features - done

LOSCFG_PLATFORM is set to ws63

LOSCFG_COMPILER_GNU_BINUTILS is set to y

LOSCFG_COMPILER_GCC is set to y

LOSCFG_COMPILER_TOOLCHAIN_MUSL is set to y

LOSCFG_COMPILER_RISCV_GCC_MUSL is set to y

LOSCFG_COMPILER_RISCV_UNKNOWN is set to y

LOSCFG_RISCV_COMPILER_OPTIONS_USER_DEFINED is set to
LOSCFG_RISCV_COMPILER_OPTIONS_LDM_STM is set to y

LOSCFG_RISCV_COMPILER_OPTIONS_EMIT_LLI is set to y

LOSCFG_COMPILER_OPTIMIZE_SIZE is set to y

LOSCFG_FAMILY_AIOT is set to y

LOSCFG_FAMILY is set to aiot

LOSCFG_PLATFORM is set to ws63

LOSCFG_PLATFORM_WS63 is set to y

LOSCFG_USING_BOARD_LD is set to y

LOSCFG_USING_BOARD_RESET_VECTOR is set to y

LOSCFG_ARCH_FPU_ENABLE is set to y

LOSCFG_APC_ENABLE is set to y

LOSCFG_ARCH_PMU is set to y

LOSCFG_ARCH_RISCV32 is set to y

LOSCFG_ARCH_RISCV_RV32IMC is set to y

LOSCFG_ARCH_RISCV_RV32F is set to y

LOSCFG_ARCH_LINXCORE_131 is set to y

LOSCFG_KERNEL_MIN is set to y

LOSCFG_SCHED is set to y

LOSCFG_SCHED_SQ is set to y

LOSCFG_BASE_CORE_TIMESLICE is set to y

LOSCFG_BASE_CORE_TIMESLICE_TIMEOUT is set to 2

LOSCFG_BASE_CORE_TSK_MONITOR is set to y

LOSCFG_TASK_STACK_DYNAMIC_ALLOCATION is set to y

LOSCFG_BASE_CORE_TSK_LIMIT is set to 28

LOSCFG_BASE_CORE_TSK_MIN_STACK_SIZE is set to 1024

LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE is set to 2048

LOSCFG_BASE_CORE_TSK_SWTMR_STACK_SIZE is set to 2048

LOSCFG_BASE_CORE_TSK_IDLE_STACK_SIZE is set to 1024

LOSCFG_BASE_CORE_TSK_DEFAULT_PRIO is set to 10

LOSCFG_BASE_CORE_TICK_PER_SECOND is set to 100

LOSCFG_BASE_CORE_USE_SINGLE_LIST is set to y

LOSCFG_STARTUP_STACK_SIZE is set to 0x4000

LOSCFG_KERNEL_MEM_ALLOC is set to y

LOSCFG_KERNEL_MEM_BESTFIT is set to y

LOSCFG_KERNEL_MEM_SLAB_EXTENTION is set to y

LOSCFG_ARCH_INTERRUPT_TAKEOVER is set to y

LOSCFG_ARCH_INTERRUPT_PREEMPTION is set to y

LOSCFG_HWI_PRE_POST_PROCESS is set to y

LOSCFG_HWI_WITH_ARG is set to y

LOSCFG_IRQ_STACK_SIZE is set to 0x2000

LOSCFG_NMI_STACK_SIZE is set to 0x800

LOSCFG_PLATFORM_HWI_LIMIT is set to 96

LOSCFG_HWI_PRIO_LIMIT is set to 7

LOSCFG_EXC_STACK_SIZE is set to 0x800

LOSCFG_BASE_CORE_SWTMR is set to y

LOSCFG_BASE_CORE_SWTMR_LIMIT is set to 16

LOSCFG_BASE_IPC_QUEUE is set to y

LOSCFG_QUEUE_DYNAMIC_ALLOCATION is set to y

LOSCFG_BASE_IPC_QUEUE_LIMIT is set to 16

LOSCFG_BASE_IPC_EVENT is set to y

LOSCFG_BASE_IPC_MUX is set to y

LOSCFG_MUTEX_WAITMODE_PRIO is set to y

LOSCFG_BASE_IPC_MUX_LIMIT is set to 60

LOSCFG_BASE_IPC_SEM is set to y

LOSCFG_BASE_IPC_SEM_LIMIT is set to 32

LOSCFG_KERNEL_PRINTF is set to y

LOSCFG_KERNEL_PRINTF_SIZE_EXTEND is set to y

LOSCFG_KERNEL_RINGBUF is set to y

LOSCFG_BASE_CORE_SYS_RES_CHECK is set to y

LOSCFG_LIB_LIBC is set to y

LOSCFG_LIB_LIBM is set to y

LOSCFG_LIB_FORMAT is set to y

LOSCFG_COMPAT_CMSIS is set to y

LOSCFG_COMPAT_CMSIS_VER_2 is set to y

LOSCFG_COMPAT_LINUX is set to y

LOSCFG_COMPAT_LINUX_PENDLIST is set to y

LOSCFG_COMPAT_LINUX_TIMER is set to y

LOSCFG_COMPAT_LINUX_COMPLETION is set to y

LOSCFG_COMPAT_LINUX_WAITQUEUE is set to y

LOSCFG_COMPAT_LINUX_DRIVER_BASE is set to y

LOSCFG_NET_IPERF is set to y

LOSCFG_BACKTRACE is set to y

LOSCFG_SERIAL_OUTPUT_ENABLE is set to y

LOSCFG_KERNEL_CPUP is set to y

LOSCFG_DRIVERS_BASE is set to y

LOSCFG_RISCV_HIMIDEERV200_PLIC is set to y

LOSCFG_TIMER_VENDOR is set to y

LOSCFG_DRIVERS_UART_VENDOR is set to y

LOSCFG_DRIVERS_SIMPLE_UART is set to y

LOSCFG_CC_NO_STACKPROTECTOR is set to y

CMAKE_TOOLCHAIN_FILE is defined ahead, skip auto-config compiler

CMAKE_TOOLCHAIN_FILE is defined ahead, skip auto-config compiler

OUT:D:/bearpi-pico_h3863/output/ws63/acore/ws63-liteos-app/kernel/liteos/liteos_v208.5.0
LITEOS_MODULE_DEP_LIBS_PATH:
LITEOS_DEP_LIBS_INT:
LITEOS_DEP_LIBS_EXT:gcc;gcc_eh
LITEOS_BASELIB:m;gcc;gcc_eh
LOS_INTF_DEP_TARGETS:

-- COM_HEADER-includeD:/bearpi-pico_h3863/output/ws63/acore/ws63-liteos-app/kernel/liteos/liteos_v208.5.0/menuconfig/include/menuconfig.h

-- D:/bearpi-pico_h3863/drivers/chips/ws63/porting/patch/sfc_patch.c is not found, finding libplat_patch.a in D:/bearpi-pico_h3863/drivers/chips/ws63/porting/patch/ws63-liteos-app

-- D:/bearpi-pico_h3863/drivers/chips/ws63/rom_config/acore/output/rom_callback.S is not found, finding librom_callback.a in D:/bearpi-pico_h3863/drivers/chips/ws63/ws63-liteos-app

GEN_TARGET_SRC = D:/bearpi-pico_h3863/output/ws63/acore/acore.c
PRECOMPILE_TARGET = D:/bearpi-pico_h3863/output/ws63/acore/acore.etypes
TARGET_INCLUDE = D:/bearpi-pico_h3863/middleware/chips/ws63/nv/nv_config/include;D:/bearpi-pico_h3863/middleware/utils/common_headers/native

-- D:/bearpi-pico_h3863/middleware/utils/at/at_bt_cmd/src/at_bt_cmd_register.c is not found, finding libbt_at.a in D:/bearpi-pico_h3863/middleware/utils/at/at_bt_cmd/ws63-liteos-app

-- D:/bearpi-pico_h3863/middleware/utils/at/at_radar_cmd/at/at_radar.c is not found, finding libradar_at.a in D:/bearpi-pico_h3863/middleware/utils/at/at_radar_cmd/ws63-liteos-app

Build wifi device with rom repo!

-- D:/bearpi-pico_h3863/protocol/wifi/rom_code/ws63/source/alg/iot_alg/device/alg_main.c is not found, finding libwifi_driver_dmac.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/wifi/rom_code/ws63/source/common/romable/wifi_rom_data.c is not found, finding libwifi_rom_data.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/wifi/source/host/feature/interface/hmac_feature_interface.c is not found, finding libwifi_driver_hmac.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/wifi/source/host/forward/hmac_rx_data.c is not found, finding libwifi_driver_tcm.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/wifi/source/alg/iot_alg/host/alg_txbf.c is not found, finding libwifi_alg_txbf.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/wifi/source/alg/iot_alg/host/alg_temp_protect.c is not found, finding libwifi_alg_temp_protect.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/wifi/source/alg/iot_alg/host/alg_anti_interference.c is not found, finding libwifi_alg_anti_interference.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/wifi/source/alg/iot_alg/host/alg_edca_opt.c is not found, finding libwifi_alg_edca_opt.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/wifi/source/alg/iot_alg/host/alg_cca_intrf_mode.c is not found, finding libwifi_alg_cca_opt.a in D:/bearpi-pico_h3863/protocol/wifi/ws63-liteos-app

BGTP_PROJECT=ws63
BGTP_ROM_VERSION=true
BGTP_DEVICE_ONLY=false

-- D:/bearpi-pico_h3863/protocol/bt/controller/bgtp/null is not found, finding libbgtp.a in D:/bearpi-pico_h3863/protocol/bt/controller/bgtp/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/bt/controller/bgtp/null is not found, finding libbgtp_rom_data.a in D:/bearpi-pico_h3863/protocol/bt/controller/bgtp/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/bt/host/bg_common/null is not found, finding libbg_common.a in D:/bearpi-pico_h3863/protocol/bt/host/bg_common/ws63-liteos-app

BG COMMON BTH_ROM_LIST:null
BTH_ROM_LIST:null

-- D:/bearpi-pico_h3863/protocol/bt/host/bt/null is not found, finding libbt_app.a in D:/bearpi-pico_h3863/protocol/bt/host/bt/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/bt/host/bt/sdk/null is not found, finding libbth_sdk.a in D:/bearpi-pico_h3863/protocol/bt/host/bt/sdk/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/bt/host/bt/null is not found, finding libbt_host.a in D:/bearpi-pico_h3863/protocol/bt/host/bt/ws63-liteos-app

BTH_ROM_LIST:null

BTH_PUBLIC_HEADER_LIST=

-- D:/bearpi-pico_h3863/protocol/bt/host/gle/null is not found, finding libbth_gle.a in D:/bearpi-pico_h3863/protocol/bt/host/gle/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/radar/alg_ai/radar_ai_attention_layer.c is not found, finding libradar_ai.a in D:/bearpi-pico_h3863/protocol/radar/alg_ai/ws63-liteos-app

-- project_name:

-- D:/bearpi-pico_h3863/protocol/radar/plat/utils/radar_fft.c is not found, finding libradar_sensing.a in D:/bearpi-pico_h3863/protocol/radar/plat/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/bt/controller/chba/null is not found, finding libsle_chba_user.a in D:/bearpi-pico_h3863/protocol/bt/controller/chba/ws63-liteos-app

-- D:/bearpi-pico_h3863/protocol/bt/controller/chba/null is not found, finding libsle_netdev.a in D:/bearpi-pico_h3863/protocol/bt/controller/chba/ws63-liteos-app

-- Configuring done

-- Generating done

-- Build files have been written to: D:/bearpi-pico_h3863/output/ws63/acore/ws63-liteos-app

[0/1] Re-running CMake...

ninja: error: rebuilding 'build.ninja': subcommand failed

FAILED: build.ninja
C:\Users\���\AppData\Local\Programs\Python\Python311\Lib\site-packages\cmake\data\bin\cmake.exe --regenerate-during-build -SD:\bearpi-pico_h3863 -BD:\bearpi-pico_h3863\output\ws63\acore\ws63-liteos-app
CreateProcess failed: The system cannot find the file specified.

python path: C:\Users\���\AppData\Local\Programs\Python\Python311\python.exe
flashboot start build .....
['C:\Users\���\AppData\Local\Programs\Python\Python311\python.exe', 'build.py', 'ws63-flashboot']
loaderboot start build .....
['C:\Users\���\AppData\Local\Programs\Python\Python311\python.exe', 'build.py', 'ws63-loaderboot']
[ws63][acore] run custom cmd success!
D:\bearpi-pico_h3863\build\script.....\config.in
d:\bearpi-pico_h3863
Kconfig header saved to 'D:\bearpi-pico_h3863\output\ws63\acore\ws63-liteos-app\mconfig.h'
######### Build target:ws63_liteos_app failed

================================ [FAILED] Took 18.32 seconds ================================

0 Answers