• 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 » CCS 5.0.3.00028 Headless Build Requires X
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
  • Forums

    CCS 5.0.3.00028 Headless Build Requires X

    This question is answered
    Dan Christensen
    Posted by Dan Christensen
    on Mar 21 2012 10:19 AM
    Prodigy220 points

    Hello,

    I am trying to perform a headless build (for the purposes of continuous integration), but am getting an error whenever I try the build without some kind of X server running, with the DISPLAY environment variable set.

    This is easily reproduced by creating a new workspace ('test'), and then a new project ('simple') based on the "Hello World" example.

    Then, invoke the headless build, importing the existing project into a new workspace:
    install/ccsv5/eclipse/jre/bin/java -jar install/ccsv5/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import test/simple -build simple/Debug -data test2 -vmargs -Dorg.eclipse.cdt.core.console=org.eclipse.cdt.core.systemConsole

    This results in the following console messages:
    Create.
    Opening 'simple'.
    Refreshing '/simple'.
    Managed Build system manifest file error: Could not load value handler com.ti.ccstudio.managedbuild.core.options.OutputFileOptionValueHandler in option com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.OUTPUT_FILE.

    Managed Build system manifest file error: Could not load value handler com.ti.ccstudio.managedbuild.core.options.OutputFileOptionValueHandler in option com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE.1558814483.

    Managed Build system manifest file error: Could not load value handler com.ti.ccstudio.managedbuild.core.options.OutputFileOptionValueHandler in option com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE.1558814483.

    Managed Build system manifest file error: Could not load value handler com.ti.ccstudio.managedbuild.core.options.OutputFileOptionValueHandler in option com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE.1558814483.

    Managed Build system manifest file error: Could not load value handler com.ti.ccstudio.managedbuild.core.options.OutputFileOptionValueHandler in option com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE.1558814483.

    The workspace log is also attached:
    0434.workspace.log.txt

    The only workaround I could think of was to use xvfb, which is what I'm doing for now.  I haven't tested to see if it is fixed in the latest version, but I did see a similar issue which was.

    Thanks,
    Dan

    code composer ccs code Composer studio CCSv5 CCS5 CCS 5 CCS v5
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Mar 21 2012 12:16 PM
      Guru119215 points

      Hi Dan,

      It looks like you are using the commands for v4. The commands have been updated for v5. See:

      http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create#Working_with_CCSv5

      Thanks

      ki

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your 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.
    • MartinS
      Posted by MartinS
      on Mar 21 2012 12:51 PM
      Verified Answer
      Verified by Dan Christensen
      Expert7705 points

      Ki, Dan, 

      The command that Dan is using is actually a CDT command rather than CCS. However, CCS headless commands have the same issue in that they need to have a valid DISPLAY configured. The only workaround that exists today is to configure xvfb as Dan has already done. 

      Martin

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Dan Christensen
      Posted by Dan Christensen
      on Mar 21 2012 13:37 PM
      Prodigy220 points

      Martin,

      Thanks for the quick reply.  Is there any plan to remove the valid DISPLAY requirement for headless builds?

      Thanks,
      Dan

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Judson Wilson
      Posted by Judson Wilson
      on Mar 23 2012 20:25 PM
      Intellectual620 points

      Dan Christensen

      Martin,

      Thanks for the quick reply.  Is there any plan to remove the valid DISPLAY requirement for headless builds?

      Thanks,
      Dan

      I, too, am voting for this to get done.  I am running into the same exact error.

      Dan, I assume you are using Jenkins or Hudson?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • MartinS
      Posted by MartinS
      on Mar 26 2012 07:19 AM
      Expert7705 points

      Dan, 

      You are currently using a standard eclipse command. Unfortunately, the best I can offer is to suggest filing a bugzilla with community. CDT project's main page is at link below:

      http://www.eclipse.org/projects/project.php?id=tools.cdt


      CCS equivalent commands to do headless builds are documented here. Currently, they have the same issue. However, I have filed a new bug report requesting to support building of projects without DISPLAY configured. The id for this is SDSCM00043588 and you can track it status using link below. 

      https://cqweb.ext.ti.com/cqweb/main?command=GenerateMainFrame&service=CQ&schema=SDo-Web&contextid=SDOWP&username=readonly&password=readonly

      Martin

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Dan Christensen
      Posted by Dan Christensen
      on Mar 26 2012 10:29 AM
      Prodigy220 points

      Judson Wilson

      Dan, I assume you are using Jenkins or Hudson?

      TeamCity for continuous integration.

      MartinS

      Dan, 

      You are currently using a standard eclipse command. Unfortunately, the best I can offer is to suggest filing a bugzilla with community. CDT project's main page is at link below:

      http://www.eclipse.org/projects/project.php?id=tools.cdt


      CCS equivalent commands to do headless builds are documented here. Currently, they have the same issue. However, I have filed a new bug report requesting to support building of projects without DISPLAY configured. The id for this is SDSCM00043588 and you can track it status using link below. 

      https://cqweb.ext.ti.com/cqweb/main?command=GenerateMainFrame&service=CQ&schema=SDo-Web&contextid=SDOWP&username=readonly&password=readonly

      Martin

      I've been using CDT through the Xilinx SDK to perform headless builds since their v12.1 tools (which uses CDT 6) through their current release (v13.4, which uses CDT 7.0.2).  I noticed that CCS 5.0.3 uses CDT 7.0.1.  The log I attached also indicates that the "standard eclipse command" is certainly running "CCS stuff" in order to perform the build.  This, along with the past experience using Xilinx's modified eclipse environment, makes me skeptical of the DISPLAY requirement being introduced in a version of CDT.

      That being said, I'm not an eclipse expert.  If it is a CDT issue, and a bug being filed would be useful, I would ask that your end file the issue with the CDT developers.  From my perspective, TI is my tool vendor for this particular issue.

      Thanks again for your time,
      Dan

      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