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.

Driverlib compiling problem when set to Release mode. cannot open source file inc/hw_regaccess.h

Hi Everyone

I'm having an issue with CCS 6.0 studio compiling for release mode with driverlib.  The compiler is telling me that it cannot open inc/hw_regaccess.h file but I can clearly see that the file is there and is available.  

If the configuration is set to debug mode, it will compile.  Does anyone know why I"m getting this error even when the file is in the proper location?

I never had this happen before and it used to work fine with release mode compilation.


Thanks

  • if you're compiling a file from the deprecated folder, the compiler looks in deprecated\inc\ for the header files. Where they aren't.
    use #include "./inc/...h" instead.
    include directives are relative to the currently compiled file or to the default include folders. But the inc folder is not in inside a default include folder nor a sub-folder of deprecated. So its content can't be found.

**Attention** This is a public forum