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.

Cannot access driverlib.h

Other Parts Discussed in Thread: MSP432WARE

Hello, I am getting the following errors and warnings in my code:

Error:

#1965 cannot open source file "driverlib.h" Lab_2_Demo_R1.c /Lab 2 Demo R1 line 47 C/C++ Problem

Warnings:

Invalid project path: Include path not found (C:\ti\tirex-content\msp432ware__3.50.00.02\driverlib\driverlib\MSP432P4xx). Lab 2 Demo R1 pathentry Path Entry Problem

This project was created using a version of compiler that is not currently installed: 15.12.3.LTS [MSP432]. Another version of the compiler will be used during build: 16.6.0.STS. See 'Help > Check for Updates' or visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compilers. See 'Help > Install New Software...' to install older compilers. Alternatively, migrate the project to one of the available compiler versions by adjusting project properties. Lab 2 Demo R1 properties Problems

I've done everything I could to fix this issue, including reinstalling, downloading MSP432Ware from resource explorer, and trying to download the compiler version 15.12.3.LTS, but nothing is working. I can't get CCS to recognize the MSP432 compiler. Please Help.

  • Cecilia Stout said:

    Error:

    #1965 cannot open source file "driverlib.h" Lab_2_Demo_R1.c /Lab 2 Demo R1 line 47 C/C++ Problem

    Warnings:

    Invalid project path: Include path not found (C:\ti\tirex-content\msp432ware__3.50.00.02\driverlib\driverlib\MSP432P4xx). Lab 2 Demo R1 pathentry Path Entry Problem

    Both these messages indicate that the compiler include path to find "driverlib.h" is not correct. I see that you downloaded MSP432Ware using Resource Explorer. If so, the path to driverlib.h should be C:\ti\tirex-content\msp\msp432ware__3.50.00.02\driverlib\driverlib\MSP432P4xx. Please check that this is the path in your tirex-content folder and then adjust the compiler include path in your project accordingly (under Project Properties->Build->Compiler->Include Options).

    Cecilia Stout said:
    This project was created using a version of compiler that is not currently installed: 15.12.3.LTS [MSP432]. Another version of the compiler will be used during build: 16.6.0.STS. See 'Help > Check for Updates' or visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compilers. See 'Help > Install New Software...' to install older compilers. Alternatively, migrate the project to one of the available compiler versions by adjusting project properties. Lab 2 Demo R1 properties Problems

    You should be able to install 15.12.3.LTS compiler by going to menu Help->Install New Software and selecting "Code Generation Tools Updates" in the "Work with:" drop-down, then selecting the 15.12.3.LTS version. Have you already done this? If so, can you please provide more details and also include a screenshot of your CCS Installation Details (menu Help->Installation Details) and a screenshot of the discovered compilers (menu Window->Preferences->Code Composer Studio->Build->Compilers).

    PS: which version of CCS are you using?

  • This fixed the issue. Thank you for your help!