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.

ARM compiler does not find include file in include path

Other Parts Discussed in Thread: CC2650

I am compiling an example for the CC2650, and am encountering the following error:

clem3 package/cfg/rfEasylinkRx_pem3.c ...
"package/cfg/rfEasylinkRx_pem3.c", line 2355: fatal error #1965: cannot open source file "inc/hw_types.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "package/cfg/rfEasylinkRx_pem3.c".
Compilation terminated.
gmake.exe: *** [package/cfg/rfEasylinkRx_pem3.oem3] Error 1
js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.

The directory that contains inc/hw_types.h is in the include path, and other files that compile cleanly also include it.

  • Steve Witt96188 said:
    I am compiling an example for the CC2650

    Which example is it? Is it from one of the TI packages?

    Steve Witt96188 said:
    The directory that contains inc/hw_types.h is in the include path

    Is it set in the include path for the XDCtools? This build failure is happening during the XDC build (which occurs before the source files in the project get built), so check if the include path is correctly set for the XDCtools.

    See this related post for where/how the include paths are set for the XDCtools.