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.

Compiler: <descriptors.h> not found during compile

Other Parts Discussed in Thread: MSP-EXP430F5529LP, MSP430WARE

Tool/software: TI C/C++ Compiler

Hi, I'm using CCS Cloud to compile out-of-box demo/example code. The compiler is throwing error 1965 at "include <descriptors.h>". descriptors.h exists and has already been found by the compiler (#include "descriptors.h"), but the <> include syntax means the file has be discoverable via project include-paths. However, this is a CCS Cloud environment and project paths are not editable...

It turns out that if the <> include is changed to an explicit "../../somedir/descriptors.h" then the compiler finds the file.

I don't really want to modify the example files in order to compile the example code.  If I must modify every <descriptors.h>, I'd rather modify it with a variable like:

<%PATHVAR%descriptors,h> so that PATHVAR can be defined once. (please forgive DOS-like example)

I'm not familiar enough with the compiler to know whether a #define can help here.

I tried

#define PATHVAR "../../somedir/"

#include <PATHVARdescriptors.h>

...of course this doesn't work.

Any ideas are appreciated!

Thanks/Cheers.

  • Please tell me exactly which example you are building.  Provide a link if you can.  Whoever supplies that example needs to address the problem.  

    Thanks and regards,

    -George

  • The device I'm trying to program is identified as: "MSP-EXP430F5529LP".
    The example I'm trying to use is located at:
    "C:\ti\msp\MSP430Ware_3_70_00_05\examples\boards\MSP-EXP430F5529LP\MSP-EXP430F5529LP_Software_Examples\Firmware\Source\OutOfBox_EmulStorageKeyboard"

    Nothing has worked "Out of the box". To begin with, device-drivers didn't install, then files were missing on flash drive. Example GUI still doesn't see device though COM-port-device seems healthy.
    After two days of "trying things", I'm not sure of the steps that led to downloading/installing "MSP430Ware".

    ... now I remember: The user-manual has "MSP430 USB Developers Package" link, and THAT page links to "MSPWare" (describing it containing the Developers Package). 

**Attention** This is a public forum