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.

open declaration(Control + Click) Shows error

Other Parts Discussed in Thread: MSPWARE

Hi,

i have created a header file in that i'm including "driverlib.h" file. when i compile the code i didn't get any error but if i try to open "driverlib.h" by using control+click.  i'm getting error as " Could not find include file 'driverlib.h' on include paths" on status bar. if i include same file in .c files i'm not facing any problem.

Filename: Pinmap.h

#include <driverlib.h>

When  ctrl+click above i'm getting error.

Filename: main.c

#include <driverlib.h>

When  ctrl+click it opens driverlib.h.

Please help me.

ThankYou,

Ramesh Chand S

  • Hi Ramesh,

    Could you try importing a project that uses driverlib and confirm that the ctrl+click works or does not work for you??

    On CCS go to project -> Import CCS projects and import a project from here:

    C:\ti\msp\MSPWare_2_xx_xx_xx\driverlib\examples\MSP430F5xx_6xx\gpio <-- Use your mspware path

    I'm using F5xx_6xx\gpio just as an example.

    Please let us know your findings. By the way, which version of CCS are you using.

    Regards,

    David
  • Hi David,
    Thank you for the reply.
    i tried as per your guidelines, Control+Click is working.
    but for my project folder its working in .c files but not in .h files.
    i copied driverlib folder from respective controller in MSPWare_2_30_00_49, and pasted in my project folder and set the "Include Options" path to my project folder path.
    Now I'm not facing problem.
    I want to know how setting folder path from project folder will differ from setting folder path from MSPWare_2_30_00_49 in C directory.
    Thank You
  • Hi Ramesh,

    Please review chapter 4 "How to include driverlib into your existing project" in the MSP43xxx_DriverLib_Users_Guide-xxxx-xx-xx.pdf C:\ti\msp\MSPWare_2_xx_xx_xx\driverlib\doc).

    After following those steps, the ctrl + click should start working correctly.

    Best regards,

    David

**Attention** This is a public forum