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/PROCESSOR-SDK-OMAPL138: Including TI DSP Libraries in a DSP project

Part Number: PROCESSOR-SDK-OMAPL138
Other Parts Discussed in Thread: OMAPL138

Tool/software: Code Composer Studio

I have been trying to include the Ipc library in a dsp project. It is kind of irriating becuase includes folder I can see the /home/local/ti/ipc_3_46_00_02/packages folder but for some reason when I do the #include <ti/ipc/MessageQ.h>  I get the an error: can't open source file. "ti/ipc/MessageQ.h". Can anyone explain to me the proper way to include things in DSP projects. This is getting to be frustrating. 

Thanks,

Jorden Luke

  • Jorden,

    Based on the way the #include is setup you would need to add /home/local to your compiler include search path so that it can find the file

    If you go to your project and right click on it and select properties you can set the include search path below:

    Regards,

    John

  • This is a screen shot of the the environment set up. in the Project Explorer you can clearly see that in the includes directory there is the /ti/ipc_3_46_00_02/packages. Then showing the /ti/ipc/ directories you end up with the MessageQ.h. But the error that you see in the editor next to the #include says it can't open source file. 

    I am not sure what to do next. Or even why I am still having this error.

  • Jorden,

    Could you please show a screenshot of what your compiler include paths look like (under Project Properties->Build->Compiler->Include Options)?

    Also could you please copy and paste the full output of the CCS build console to a text file and attach it here?
  • Projects->Build->Compiler->Include Options

    Build errors

    Live Long and Prosper,

    Jorden Luke

  • Jorden,

    Thank you for those screenshots. I would also like to see the output in the Console view, not just the Problems view. That will show the entire command line with all options passed to the compiler and might give some additional insight.

    Also please let us know the version of CCS, SDK, and other toolsets you are using.
  • I  am using the lastest version of CCS 7.2.0 and I am using the Processor SDK.

    This is the copy of the text out of the console window. It isn't helpful to me so I hope it is to you.

    Buildfile generation error occurred..
    Cannot build project. Referenced project 'DSP_IPC' contains build-errors.
    Build stopped..

  • Is this the result of specifically building the DSP_IPC project? If not, could you right-click on the DSP_IPC project, do Rebuild Project and capture the contents of the Console view?
  • that is what it out puts everything time I build it or rebuild it or do a clean build.

  • Jorden,

    I apologize for the delayed reply. From looking at your screenshots it appears that the DSP_IPC project is a plain CCS project, not a RTSC project, and you are trying to add IPC to it? Is that so? I don't believe that will work as the IPC header files in turn reference other BIOS files, so I imagine you would need to start off with a RTSC project. It also appears that the DSP_IPC project is set up as a dependent project.

    Unfortunately I don't have expertise with IPC projects so I would refer you to the OMAPL138 device forum. The people who watch that forum should be able to direct your question to the RTOS experts if needed. Normally I would move this thread over there, but I'm concerned that it may get overlooked as there has already been a a bit of a discussion, so I would request you to kindly start a new post in the OMAPL13x Processors forum.

    Thank you for your understanding and I apologize again that I couldn't be of further help.