Tool/software: Code Composer Studio
Hello,
I am getting an error saying it cannot find source file "inc/hw_ints.h". I am not sure what to do to resolve this issue. Do I not have the right library installed, and if so which one is it?
Thank you
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.
Tool/software: Code Composer Studio
Hello,
I am getting an error saying it cannot find source file "inc/hw_ints.h". I am not sure what to do to resolve this issue. Do I not have the right library installed, and if so which one is it?
Thank you
Ruben,
You have the following line in your source file:
#include "inc/hw_ints.h"
The compiler is reporting that is it not able to open this file. The compiler needs to know the path to look in for #included files before it can open it. This information is provided to the compiler in the compiler's Include Options (--include_path). More info here.
In the case of TM4C devices, the path to Tivaware typically needs to be provided to the compiler as "inc/hw_ints.h" is inside TivaWare.
To fix the error, go to Project Properties->Build->Compiler->Include Options, and under --include_path options, add the path to your TivaWare installation (usually something like C:\ti\TivaWare_C_Series-2.1.4.178).