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.

cannot find xdc/std.h- demo_dm6437 on ccsv5

Hi,

I am facing build errors while trying to build dm6437 demo on code composer v5.

I referred to the following threads

http://e2e.ti.com/support/embedded/bios/f/355/t/151321.aspx

i have checked all the include paths and even edited as indicated in the previous thread. i have added the taregt name and type as -D compiler options as well.

however i am still getting the error, "cannot to open source file xdc/std.h"

what am i missing.? is thr a different version of cygwin tool for xdc 2.95 and xdc 3.22.? is that a problem?

i both installed initially but then i unstalled xdc 2.95, still i am facing the build issue with demo6437 with ccsv5, xdc 3.22 and DSP/BIOS 5.41

Please help

  • newbieS said:
    however i am still getting the error, "cannot to open source file xdc/std.h"

    It's probably looking for std.h in the below path:

    <XDCTOOLS DIR>\packages\xdc

    You can add that to your list of include path (replace <XDCTOOLS DIR> with the actual path)

    You will get better support in the DM643x forums as they will have more expertise building the dm6437 demo

    Thanks

    ki

  • Hi Ki,

    Thanks for the response,

    I have already added that path in my includes folder.

    but still i get this error. it looks like this:

    C:/dvsdk_1_11_00_00/biosutils_1_00_02/packages/ti\bios\log\ndk\LogServerCgi.h", line 18: fatal error #5: could not open source file "ti/bios/include/std.h" 1 fatal error detected in the compilation of "../source/app_ndk.c".

    the #include<ti/bios/std.h> in LogServerCgi.h does not seems to be getting included.

    i have crossed check the include paths multiple times, the file is included and opening correctly.... it is not accuring in any other file except for in app_ndk.c,

    i dont uderstand ..

  • i tried to check the problem,

    i see that app_ndk.h is including xdc/std.h and LogServerCgi.h, and LogServerCgi.h is including ti/bios/include/std.h.

    is it because two different std.h files are being included at the same time that it is not able to compile?

    Please guide.

  • newbieS said:
    is it because two different std.h files are being included at the same time that it is not able to compile?

    It sounds likely.

    To be honest, I am not so familiar with the demo program. As I mentioned earlier, you should also post your question in the DM643x forums. They should be more familir with building it.

    ki