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/TMS320F28069: fatal error: cannot open source file "limits.h" (appearing after installing "controlSUIT for C2000")

Part Number: TMS320F28069
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

Hi.

I just installed "controlSUITE for C2000", but no my Project won't build (it built OK previously with no controlSUITE installed) . I get this error Message:

"C:/ti/controlSUITE/device_support/f2803x/v124/DSP2803x_common/include/IQmathLib.h", line 86: fatal error: cannot open source file "limits.h"

How can I get forward ?

Best Regards Terje Bøhler

  • Terje,

    I will recommend that you install C2000Ware. It has the latest device support and collateral for the F2806x.

    Are you trying build an existing project or one of the example in C2000Ware? Are there specific libraries you are trying to include in your project?

    Regards,
    Ozino
  • Hi Ozino.

    I simply try to re-compile (re-generate) some old Sw another person has generated (successfully) a while a go.
    I'm afraid your recomondations above didn't help (the ERROR persists):

    I now did the following:
    1) Installed the C2000Ware_1_00_06_00 as instructed in mail/response above
    (I observe it was copied/installed to a new catalog: C:/ti/C2000/...)
    2) Restarted my PC
    3) Started my CCS (version 6.1.12) and my project was automatically imported (as expected)
    4) Build my project ...
    ==> THE SAME ERROR OCCURE:
    "C:/ti/controlSUITE/device_support/f2803x/v124/DSP2803x_common/include/IQmathLib.h", line 86: fatal error: cannot open source file "limits.h"
    >> Compilation failure
    1 catastrophic error detected in the compilation of "../BridgelessPFC-Main.c". …"


    When I inspect the "Properties + Include Options" on my project I see this:
    "C:/ti/controlSUITE/device_support/f2803x/v124/DSP2803x_headers/include"
    "C:/ti/controlSUITE/device_support/f2803x/v124/DSP2803x_headers/source"
    "C:/ti/controlSUITE/device_support/f2803x/v124/DSP2803x_headers/cmd"
    "C:/ti/controlSUITE/device_support/f2803x/v124/DSP2803x_common/include"
    "C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers"
    "C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.2/include"
    "C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.2/asm"
    "C:/ti/controlSUITE/libs/math/IQmath/v15c/include"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/include"

    Maybe my Project now should read include files from another catalog (e.g. under "C:/ti/C2000/...")?
    Do I have to manually change some "Properties settings"?

    I very much appreciate further assistance with this issue to make my project compile.

    Best regards
    Terje Bøhler
  • Hi Terje,

    Yes, you will have to modify the project properties to update the include and file search paths for the IQmath lib and other libraries and device support.

    Regards,
    Ozino
  • Terje,

    Still having issues with this post?

    Regards,
    Ozino