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.
Hi,
It seems that the building projects from Command line is broken in CCSv5.4.0.00091. I can build the project in GUI. The same command line worked in CCS 5.1.0.09000. I tried both Linux and Windows versions of CCS 5.4 and neither worked.
Thanks,
tamo2
------------------------------ log ----------------------------
/opt/ti/ccsv5/eclipse/eclipse -noSplash -data "/home/slroot/sl/trunk/workspace" -application com.ti.ccstudio.apps.projectBuild -ccs.configuration Release -ccs.projects sljpeg
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Wed May 22 17:59:58 PDT 2013]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
================================================================================
Pre processing...
================================================================================
Building...
!ERROR: Project 'sljpeg' could not be loaded!
================================================================================
CCS headless build complete!
Hello,
Your command looks fine. The feature is supported in 5.4 (I just tested it out myself). Can you get any project to build from the command line?
Thanks
ki
Hi Ki,
Thanks for the response.
I have tried all the projects I had and none worked. All of them were imported from CCS5.1, including ARM side and DSP side projects. I thought it might be something to do with the importing projects, so just created an ARM HelloWorld project with CCS5.4 using "Hello World C++ Project". Still the same problem. BTW, it takes very long time (~5 minutes?) to get the "!ERROR: Project xxx could not be loaded" message, with almost no CPU or Disk activities.
I attached the project. Can you please take a look?
Thanks,
tamo2
The project in the zip file is not valid. You are missing a '.ccsproject' file. I cannot even import this project to CCS via GUI.
> The project in the zip file is not valid. You are missing a '.ccsproject' file. I cannot even import this project to CCS via GUI.
Hmmm... that is interesting. The project is an ARM C/C++ project, and not a CCS project.
I didn't realize the difference between CCS ARM project and regular ARM C/C++ project. Anyway, most of our ARM projects are indeed ARM C/C++ project.
The same project can be built using the command line in CCSv5.1, so the question is, is this not supposed to work in CCSv5.4? If so, is there a way to build the project from command line?
> I have tried all the projects I had and none worked
I took this back. The DSP side project seems to build as expected.
Thanks,
tamo2
I take it that the DSP projects are CCS projects while the ARM projects are not, using a default CDT project and using GCC build tools. Is that correct?
Sorry for the delay,
You should not be using the CCS headless project builder for non-CCS projects. While it did work in CCSv5.1, it was probably by accident. For your standard Eclipse CDT projects, use the Eclipse CDT headless builder:
eclipse -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data <WORKSPACE> -build <PROJECT/CONFIGURATION>
ex:
> /opt/ti/ccsv5/eclipse -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "/home/slroot/sl/trunk/workspace" -build sljpeg/Release
Thanks
ki