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.

Getting "ERROR: option --include_path is missing its parameter 'dir'" When trying to build BIOS Lab Files CCS 4.2

Download the Labs Solution Files From http://processors.wiki.ti.com/index.php/C6000_Embedded_Design_Workshop_Using_BIOS

Tried to build lab 3 "\Lab3 - BIOS LED"  and got the following error: "ERROR: option --include_path is missing its parameter 'dir'"

Same issue for labs 4 and 5. I searched for information in the Forums and have already made sure there are no empty macros, empty lines under includes.

I'm using CCS 4.2, BIOS 5_4, Code generation Tools TI v7.0.3

Can someone help?

Thanks!

  • Can you check all the include paths listed in your project settings and make sure that if they are set to a macro that the macro resolves properly, in other words, the macro is defined? It might help if you can copy the output you see in the build console into a text file and attach it here.

    In the meantime, I will also try to download and build this example and let you know what I find.

  • I looked under project properties, C6000 Compiler, Include Options, and compared the macros included there to the macros under the "Macros" tab "System Macros"

    The following ones matched:
    "${CG_TOOL_ROOT}/include"   C:/Program Files/Texas Instruments/bios_5_41_07_24
    "${PROJECT_BUILD_DIR}"      C:/BIOSv4/Labs/Lab3 - BIOS LED/Project
    "${BIOS_INCLUDE_DIR}"       C:/Program Files/Texas Instruments/bios_5_41_07_24/packages/ti/bios/include
    "${RTDX_INCLUDE_DIR}"       C:/Program Files/Texas Instruments/bios_5_41_07_24/packages/ti/rtdx/include

    But there is one that was present in the Compiler Include Options but not under the "Macros" tab "System Macros"
    "${TCONF_OUTPUT_DIR}"

    What should the path be ? Should it even be included ?  Is it required? This is included by default in labs 3, 4 and 5.

    Once I removed "${TCONF_OUTPUT_DIR}" from the Compiler Include Options, was able to build project (lab 3) successfully.

    Thanks!

  • Andres Gomez said:

    But there is one that was present in the Compiler Include Options but not under the "Macros" tab "System Macros"
    "${TCONF_OUTPUT_DIR}"

    The TCONF_OUTPUT_DIR macro will be created if you went through the new project wizard and selected a BIOS project instead of a non-BIOS project. I looked through the workshop student guide and the steps for Lab3 say to select empty DSP/BIOS v5.xx example from the template. If you did this I would expect the TCONF_OUTPUT_DIR to be created.

    Having said that though, that macro does not need to be in the include paths, so it is safe to remove it from the include paths list.

    The wiki page also contains a zip file of the labs/solutions for CCSv4 at the bottom of the page, so you could take a look and work from those projects as well.

  • Thanks for your response. The Labs I started working with (where I found the problem) were the solutions lab files.

    Did you try downloading the solutions and building the projects (labs 3, 4, 5) ?

    When I used the project wizard to create a new BIOS project (basic empty project), the "${TCONF_OUTPUT_DIR}" was not added to the Compiler Include Options, therefore

    there was no issues when building the project.

    I have resolved my problem and I appreciate your assistance. However, could you please try downloading the lab solutions and try to run the lab 3 project and share your results?

    Thank you!

  • Andres Gomez said:

    Did you try downloading the solutions and building the projects (labs 3, 4, 5) ?

    I just downloaded and extracted the solution files (Rev 5.93.zip), then imported the projects for lab3 and 4 and had no problems building them in CCS 4.2.4. I did not have to make any modifications or remove any of the include paths, so I'm not quite sure why you were having those problems (maybe you're using an older version of CCSv4 that may have had some issues).

    In any case, I'm glad to hear the issues are resolved and you are able to move forward.