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.

CCSv5 Ubuntu 12.04 - Interesting problem with include file

In my project I include the file cslr_device.h

Case 1   - when I include cslr_device.h and set the include path to the location of the file in my system which is

:/tiTools/MCSDK_3_1_1_4/pdk_keystone2_3_01_01_04/packages/ti/csl/device/k2h/src

I get tones of errors, it does not find any of the definitions

Case 2 - I copy the path and add it to the include file so the include file is

:/tiTools/MCSDK_3_1_1_4/pdk_keystone2_3_01_01_04/packages/ti/csl/device/k2h/src/cslr_device.h

No errors, builds wounderfully

Does anyone understand why?

Ran

  • Ran,

    I don't recall seeing this, therefore I can only have some guesses:

    A long shot, but I wonder if the source file that includes <cslr_device.h> has custom options, identified by a small wrench at its icon. If so, that may somehow be preventing the include directory from being properly added to this file.

    Can you right-click on this file and see if the include directory shows in its build options?

    Another idea: did you try to rebuild the entire project? Another long shot, but perhaps this option was not somehow being picked up?

    I will think of additional possibilities and reply here. In the meantime, if you copy the entire build output of both scenarios to .text files and attach them, that would be helpful to try to spot any differences.

    Regards,
    Rafael