This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

导入starterware例程时选择copy projects into workspace,但例程gpioLEDBlink报错提示#1965: cannot open source file "soc_AM335x.h"

1. 过程

导入工程gpioLEDBlink时,不选择copy projects into workspace,执行效果是LED灯连续闪烁。

现在导入工程选择了copy projects into workspace,将其复制到C盘的workspace,提示

'Invoking: ARM Compiler'

"C:/ti/AM335X_StarterWare_02_00_01_01/examples/beaglebone/gpio/gpioLEDBlink.c",

line 60: fatal error #1965: cannot open source file "soc_AM335x.h"

1 catastrophic error detected in the compilation of "C:/ti/AM335X_StarterWare_02_00_01_01/examples/beaglebone/gpio/gpioLEDBlink.c".

Compilation terminated.

我已经修改了projects->build->ARM Compiler->Include Options这里的头文件路径,包含了soc_AM335x.h,可为什么还是提示无法打开soc_AM335x.h呢。

下图是修改前后的对比图。

2.  环境

CCS6.1.2

AM335X_StarterWare_02_00_01_01

望工程师们给予提示,谢谢。