我正在为一个项目编辑 empty.c 模板、并且我在构建时会遇到以下错误:
构建文件:"SYSCFG/ti_board_config.c"
调用:ARM 编译器
"c:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe -c -c -c -mcpu=cortex-R5 -mfloat-abi=hard -mfp=vfpv3-d16 -mlittle-endian -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/config/am243x/r5f -i"C:/Users/kyle.cribbs/workspace_v12/test_am243x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/FreeRTOS-Kernel/include -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source -i"dsoc_AM243X
subdir_rules.mk:45:目标"syscfg/ti_board_config.h"的配方失败
在 syscfg/ti_board_config.c:35包含的文件中:
在包含在 C:/Users/kyle.cribbs/workspace_v12/test_am243x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg/ti_board_config.h:62的文件中:
C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source network/enet/utils/include/enet_board.h:48:10:致命错误:未找到'enet.h'文件
#include
^~~~~~~~μ A
生成1个误差。
gmake:***[syscfg/ti_board_config.o]错误1.
构建文件:"SYSCFG/ti_board_open_close.c"
调用:ARM 编译器
"c:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe -c -c -mcpu=cortex-R5 -mfloat-abi=hard -mfp=vfpv3-d16 -mlittle-endian -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source /ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/config/am243x/r5f -i"C:/Users/kyle.cribbs/workspace_v12/test_am243x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/FreeRTOS-Kernel/include -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F -i"C
subdir_rules.mk:45:目标"syscfg/ti_board_open_close.o"的配方失败
在 syscfg/ti_board_open_close.c:37包含的文件中:
在包含在 C:/Users/kyle.cribbs/workspace_v12/test_am243x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg/ti_board_open_close.h:40的文件中:
在包含在 C:/Users/kyle.cribbs/workspace_v12/test_am243x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg/ti_board_config.h:62的文件中:
C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source network/enet/utils/include/enet_board.h:48:10:致命错误:未找到'enet.h'文件
#include
^~~~~~~~μ A
生成1个误差。
gmake:***[syscfg/ti_board_open_close.o]错误1.
生成文件:"SYSCFG/ti_power_clock_config.c"
调用:ARM 编译器
"c:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe /Users/kyle.cribbs/workspace_v12/test_am243x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg -c -c -mcpu=cortex-R5 -mfloat-abi=hard -mfp=vfpv3-d16 -mlittle-endian -i"C:-i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source /ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/config/am243x/r5f -i"C:/ti/mcu_plus_sdk_am243x_08_05_00_24/source/kernel/freertos/FreeRTOS-Kernel/include -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c -i"C
完成构建:"SYSCFG/ti_power_clock_config.c"
它看起来像是我的 empty.c 文件中包含的"ti_board_config.h"文件、可以找到"ti_board_config.c"文件中包含的"enet_board.h"文件、但无法找到"enet_board"文件中包括的"enet.h"文件。 我应该向库路径中添加什么内容吗?
谢谢