• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » Include_path is misssing its parameter 'dir'
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Include_path is misssing its parameter 'dir'

    Include_path is misssing its parameter 'dir'

    This question is answered
    Trey German
    Posted by Trey German
    on May 18 2012 14:03 PM
    Genius14770 points

    CCS Guru's,

    I know you have seen this before, and I've searched and read the other posts pertaining to this topic, but have not been able to find a solution.  I had some CCSv4 projects that imported into 5 and they stopped working.  I've checked the include paths and macros and everything looks good to me.  I updated my CCS (to 5.1.1) and codegen tools, but that didn't help either.  Any ideas why these macros wouldn't resolve?  All the source files are linked in with these macros and they work.

    See below for the pertinent information:

    Snippet from the build log (every file has this same error)

    'Building file: C:/controlsuite_gitorious_dev/device_support/f2802x/version/f2802x_common/source/spi.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv5/tools/compiler/c2000/bin/cl2000" -v28 -ml -mt -O0 -g --include_path="C:/TI/ccsv5/tools/compiler/c2000/include" --include_path="" --define=_DEBUG --diag_warning=225 --gen_func_subsections=on --preproc_with_compile --preproc_dependency="spi.pp"  "C:/controlsuite_gitorious_dev/device_support/f2802x/version/f2802x_common/source/spi.c"
    error: option --include_path is missing its parameter 'dir'
    gmake: *** [spi.obj] Error 1

    Include Paths:

    Path Variables:

    Regards,

    Trey

    Trey German

    C2000 Applications

    If a post answers your question, please mark it with the "verify answer" button.
    Visit these helpful C2000 Links!
    C2000 TI Wiki Pages
    TI Forum Sitemap
    ControlSUITE
    C2000 Getting Started
    CLA FAQs
    Workshop Material!
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Trey German
      Posted by Trey German
      on May 18 2012 14:07 PM
      Genius14770 points

      I see 5.2 just went live... I'll try that while I'm waiting for a response :)

      Trey

      Trey German

      C2000 Applications

      If a post answers your question, please mark it with the "verify answer" button.
      Visit these helpful C2000 Links!
      C2000 TI Wiki Pages
      TI Forum Sitemap
      ControlSUITE
      C2000 Getting Started
      CLA FAQs
      Workshop Material!
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on May 18 2012 14:15 PM
      Guru103710 points

      Hi Trey,

      The problem is that you have defined a path variable using another path variable.  This is not supported.  Try changing the INSTALL_ROOT_... path variable in your screenshot to use an absolute path.

      Keep us informed.

      Best Regards,

      LIsa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Trey German
      Posted by Trey German
      on May 18 2012 14:29 PM
      Genius14770 points

      Hi Lisa,

      Thanks for the quick response.  I feel like this functionality should work for two reasons:

      a) the Path Variables Dialog clearly states that "Path variables specify locations in the file system, including other path variables with the syntax '${VAR}'..."

      Am I misinterpreting this statement?

      b) this was a working CCSv4 project that broke when imported into CCSv5.  CCSv5 created the macro referencing a macro not I.  If this is not an acceptable use of macros, why is CCS doing this?

      Regards,
      Trey

      Trey German

      C2000 Applications

      If a post answers your question, please mark it with the "verify answer" button.
      Visit these helpful C2000 Links!
      C2000 TI Wiki Pages
      TI Forum Sitemap
      ControlSUITE
      C2000 Getting Started
      CLA FAQs
      Workshop Material!
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on May 18 2012 14:50 PM
      Guru103710 points

      Hi Trey,

      ok, my humblest appologies.   I have confirmed we actually do now support this with v5 and I just tried it myself.

      Could you still please confirm that things work if you put an absoute path there?

      I amost looks like the import wizard created a broken or partial path there ...

      Best Regards,

      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Archaeologist
      Posted by Archaeologist
      on May 18 2012 14:53 PM
      Mastermind41435 points

      Trey German
      --include_path=""

      I suspect this is your problem.  I don't see where the empty path came from in that dialog.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AartiG
      Posted by AartiG
      on May 18 2012 15:08 PM
      Verified Answer
      Verified by Trey German
      Guru70585 points

      Trey German
      error: option --include_path is missing its parameter 'dir'

      Trey,

      I have seen this error appear when a macro is not resolved properly so you are on the right track here. However, I see in your screenshot that you checked the macro under "Path Variables", but where you also need to check is under Project Properties->C/C++ Build->Build Variables. Do you see the INSTALLROOT_F2802x_VERSION macro properly resolved under "Build Variables"? If not, try setting it/adjusting it there and see if that helps.

      I agree that the import tool should have handled this properly and when reading the macros.ini file should have set this macro correctly in 2 places - under "Path Variables" and under "Build Variables". If it is not doing so, it could be a bug.

      If this exhibits the same behavior with CCS 5.2 as well it would be helpful if you could share the project so we can determine if there is a bug here.


      If a post answers your question please mark it with the "Verify Answer" button

      Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
      Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Trey German
      Posted by Trey German
      on May 18 2012 15:38 PM
      Genius14770 points

      Aarti,

      Alright, I think I've got it figured out now.  When I originally imported these into 5 I was using 5.0.9 and the Path variable was set, but the build variable was not.  Upgrading versions didn't help because the project was already a CCSv5 project so CCS didn't mess with any of the settings.  I rolled back the examples in git to when they were still v4 and re-imported in 5.2 and everything worked fine.  Sorry for the false alarm and thanks for the quick support!


      Regards,

      Trey

      Trey German

      C2000 Applications

      If a post answers your question, please mark it with the "verify answer" button.
      Visit these helpful C2000 Links!
      C2000 TI Wiki Pages
      TI Forum Sitemap
      ControlSUITE
      C2000 Getting Started
      CLA FAQs
      Workshop Material!
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jimbo
      Posted by Jimbo
      on Sep 07 2012 07:54 AM
      Intellectual805 points

      I am also getting the following error message

      error: option --include_path is missing its parameter 'dir'

      I tried checking path variables against build variables listed under Project Properties->Build->MSP430 Compiler (I can't find Project Properties->C/C++ Build on CCS v5.2), and sure enough, one of the build variables is given as "".  I'd like to change this to the correct path, but I can't do it in the flag summary window.  Any ideas on how to change build variables?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Sep 07 2012 09:31 AM
      Guru103710 points

      Hi,

      have you seen this wiki:

      http://processors.wiki.ti.com/index.php/Include_paths_and_options

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use