• 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 » Embedded Software » StarterWare » StarterWare forum » invalid link path
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

invalid link path

invalid link path

This question is answered
Kurt Jensen
Posted by Kurt Jensen
on Jan 24 2012 15:59 PM
Genius4860 points

I copied the entire C6748 StarterWare installation directory, c:\ti\C6748_StarterWare_1_20_02_02,  into my workspace directory.  I imported and built the drivers project, drivers_c674x_c6748. I then tried to link drivers.lib into my project. Under Build Options, C6000 Linker, File Search Path, I clicked the green plus (+), clicked the workspace button, then selected drivers_c674x_c6748/Debug/drivers.lib and clicked OK.  This gave me the path "${workspace_loc:/drivers_c674x_c6748/Debug/drivers.lib}". But...the path is really "${workspace_loc:/C6748_StarterWare_1_20_02_02/build/c674x/cgt_ccs/c6748/drivers/Debug/drivers.lib". drivers.lib file is never found.

I did not notice at first since I used the Workspace button. I will fix my reference to the proper path but this seems really odd.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Joe Coombs
    Posted by Joe Coombs
    on Jan 26 2012 09:51 AM
    Expert8845 points

    Kurt,

    If you copy the StarterWare CCS projects into your workspace, you will need to modify a lot of relative paths to get the projects building correctly.  Generally speaking, it's better to leave the projects in the original location (i.e. C:/ti/<Device>_StarterWare_<version>/build/cgt_ccs/...) and import them into CCS without copying them to your workspace.  (This is done by simply leaving a box unchecked during the import process.)  That way, you shouldn't have to change any paths in your imported projects.

    Hope this helps.  Let me know if you have any questions about the import process.

     


    Please click the  Verify Answer  button on this post if it answers your question.

     

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kurt Jensen
    Posted by Kurt Jensen
    on Jan 26 2012 10:08 AM
    Genius4860 points

    Actually, the sample projects build equally well from the install location and when copied to another location.  This is a welcome relief from previous samples that would not build anywhere without sometimes major modification.

    I need to copy everything into one directory because our code goes into source control. At some point it will all be extracted and built on another computer in order to run automated unit tests. In that case it is significantly easier to put everything under one directory.

    But, I digress.  The point of this post was not the install location or copying somewhere else.  The point was that CCS v5 let me create a completely invalid pointer to another project in the same workspace. I could probably manufacture an artificial example. It seemed much easier to use what we already had. If you follow the steps outlined then you will not be able to build the project.

    I accidently posted this to the BIOS forum.  Somebody moved it here.  It really should go into the Code Composer Studio forum as it has nothing to do with StarterWare.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joe Coombs
    Posted by Joe Coombs
    on Jan 27 2012 16:45 PM
    Verified Answer
    Verified by Baskaran Chidambaram
    Expert8845 points

    Kurt,

    I'm glad to hear that your projects are building correctly.  I guess if you copy the entire StarterWare folder structure (including source, headers, and binaries), then it should work out OK.  In general, I still recommend leaving the projects "in place" for most users.

    I recommend creating a new thread on the CCS forum to report the underlying project reference issue.  Since it's probably not unique to StarterWare projects, it would be best if you could recreate it using simple "hello world" type projects.  Otherwise, someone may think it's a StarterWare-specific question and move it back to this forum again. :)

     


    Please click the  Verify Answer  button on this post if it answers your question.

     

    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