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.

CCS/MSP432P401R: Added files to Energia Imported Project Not Found on Build

Part Number: MSP432P401R
Other Parts Discussed in Thread: ENERGIA

Tool/software: Code Composer Studio

Hi,

I'm trying to move to CCS v9 from 8.3.  I have a project that uses Energia, and some libraries first written for Arduinos, as well as some driverlib type files.  They work fine with CCS 8.3.  I did the same procedure to get a project that will build that worked with 8.3, but it doesn't seem to work now.  The procedure is to Import the Energia sketch (.ino) to make an Energia project.  I have to add the v21 libraries as the v18 ones don't work in for me in CCS 8.3, and I do that in the preferences-CCS-Products, and select v21 on the Products tab of the General build settings.  Then I add all the .cpp and .h files.  I use links rather than copying.  When I build these new files I just tried to add are not found, and I get messages like 

fatal error: si5351.h: No such file or directory vna_2018.ino /vna_2018 line 3 C/C++ Problem

What do I need to do to actually add these files to my project?

Thanks,

Rob

  • Hi Rob,

    Rob Frohne said:
    fatal error: si5351.h: No such file or directory vna_2018.ino /vna_2018 line 3 C/C++ Problem

    Sounds like a missing include search path in the compiler options. Go to the project properties and check your include search path to make sure you have the path that points to the location of your si5351.h file.

    Thanks

    ki

  • Thanks Ki, that solved that issue. It was interesting to note that the path there seems like it should have worked. It was a relative path from the workspace, but when I changed it to an absolute path, it got a little further, so there is something funny going on there in that relative paths from the workspace don't seem to work.
    Again, thanks!
    Rob
  • what did the (relative) path look like?
  • It was without the quotes: "../Projects/WWU-VNA/2018 Simple VNA"
    It had spaces, but it fixed it when I just replaced the ".." with: "/home/frohro"
    without the quotes again.

    Rob