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.

Including library files

Other Parts Discussed in Thread: TMS320F2812, SYSBIOS

Hi,

I am using CCS v 5 to write my code for TMS320F2812. Including library files to my project gives me huge number of errors. The examples provided with CCS installation have same compilation errors as well. I have made sure and included the required library paths. For example, I use clk.h in my program. I have put C:/ti/bios_6_33_05_46/packages/ti/bios/include in the included path. However, clk.h has includes like: #include <xdc/runtime/Types.h>, #include <ti/sysbios/knl/Clock.h>, etc which do not match up with my directory structure and hence leads to compilation errors. I have tried shuffling around the files to get around a few errors but this seems to be a huge task and not very practical. Is there something else I should try?

Note: I have 2 installations of CCS (one is v2.2 and other is v5).

Thanks,

Darshana

  • Please show us the exact text of the first error.

  • Here is the error I get when I include the path for clk.h

    "C:/ti/bios_6_33_05_46/packages/ti/bios/include/clk.h", line 49: fatal error #5: could not open source file "xdc/runtime/Types.h"

    I do have Types.h at C:\ti\xdctools_3_23_03_53\packages\xdc\runtime, but including this doesn't change the error, since clk.h has the include specified as: #include <xdc/runtime/Types.h>

    I have attached my code which has nothing  but a main function and a couple of includes. I can't even get to compile that. 3603.temp2.zip

    I also tried compiling the ClockExample provided by TI with CCS installation. That doesnt work either.

  • Hi,

    darshana garach said:

    "C:/ti/bios_6_33_05_46/packages/ti/bios/include/clk.h", line 49: fatal error #5: could not open source file "xdc/runtime/Types.h"

    I do have Types.h at C:\ti\xdctools_3_23_03_53\packages\xdc\runtime, but including this doesn't change the error, since clk.h has the include specified as: #include <xdc/runtime/Types.h>

     
    have you tried to add "C:\ti\xdctools_3_23_03_53\packages" to your include path?
     
    Best regards,
    Christian