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.

Command-line error: cannot open command file 1 catastrophic error detected in this compilation.

Hi,

  I've been using CCS to successfully build this project for a few months now.  After a trip to corporate HQ, (where i didn't change any code in CCS), I was unable to compile after I returned, getting the subject error(also shown below).  The "file" it can't find is numbered, and changes with every build attempt..

Thing I've tried based on the wiki:

  1. updating my temp file directory to c:\windows\temp.  (our IT group reinstalled Office while I was at HQ)
  2. Tried in a new workspace.
  3. Clean then build.
  4. Rebuild all.
  5. uninstall and re-install CCS altogether. (now it crashes even faster..:) )

Now I'm still stuck, and running out of ideas.  Can anyone offer insight into what is actually going wrong here?

Thanks,

Don

**** Build of configuration Debug for project ResistivityReceiver ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -j 8 all
'Building file: ../Accumulate.c'
'Building file: ../Calculate.c'
'Building file: ../Comms.c'
'Building file: ../Config.c'
'Building file: ../DDS.c'
'Building file: ../DSP28xxx_SectionCopy_nonBIOS.asm'
'Building file: ../F2806x_Adc.c'
'Building file: ../F2806x_CodeStartBranch.asm'
'Invoking: C2000 Compiler'
'Invoking: C2000 Compiler'
'Invoking: C2000 Compiler'
'Invoking: C2000 Compiler'
'Invoking: C2000 Compiler'
'Invoking: C2000 Compiler'
'Invoking: C2000 Compiler'
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt --float_support=fpu32 -O4 --opt_for_speed=3 --preinclude="C:/Users/dmcmanus/workspace_v6_0/ResistivityReceiver/globals.h" --include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" --include_path="C:/Users/dmcmanus/workspace_v6_0/ResistivityReceiver" --include_path="/packages/ti/xdais" --include_path="C:/ws/ResistivityReceiver/v136/F2806x_headers/include" --include_path="C:/ws/ResistivityReceiver/v136/F2806x_common/include" -g --keep_unneeded_statics --define="_DEBUG" --define="LARGE_MODEL" --quiet --display_error_number --optimizer_interlist --output_all_syms --cdebug_asm_data --preproc_with_compile --preproc_dependency="Accumulate.pp" "../Accumulate.c"
Command-line error: cannot open command file '\\0711212': No such file or directory
'Invoking: C2000 Compiler'
1 catastrophic error detected in this compilation.
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt --float_support=fpu32 -Ooff --preinclude="C:/Users/dmcmanus/workspace_v6_0/ResistivityReceiver/globals.h" --include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" --include_path="C:/Users/dmcmanus/workspace_v6_0/ResistivityReceiver" --include_path="/packages/ti/xdais" --include_path="C:/ws/ResistivityReceiver/v136/F2806x_headers/include" --include_path="C:/ws/ResistivityReceiver/v136/F2806x_common/include" -g --keep_unneeded_statics --define="_DEBUG" --define="LARGE_MODEL" --quiet --display_error_number --output_all_syms --cdebug_asm_data --preproc_with_compile --preproc_dependency="Calculate.pp" "../Calculate.c"
Compilation terminated.

Command-line error: cannot open command file '\\0243216': No such file or directory
>> Compilation failure
1 catastrophic error detected in this compilation.
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt --float_support=fpu32 -Ooff --preinclude="C:/Users/dmcmanus/workspace_v6_0/ResistivityReceiver/globals.h" --include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" --include_path="C:/Users/dmcmanus/workspace_v6_0/ResistivityReceiver" --include_path="/packages/ti/xdais" --include_path="C:/ws/ResistivityReceiver/v136/F2806x_headers/include" --include_path="C:/ws/ResistivityReceiver/v136/F2806x_common/include" -g --keep_unneeded_statics --define="_DEBUG" --define="LARGE_MODEL" --quiet --display_error_number --output_all_syms --cdebug_asm_data --preproc_with_compile --preproc_dependency="Comms.pp" "../Comms.c"
Compilation terminated.

  • What is the value of the TMP environment variable?

    -George

  • Hi George,

    TMP was not set.  I set it to C:\windows\temp, which did nothing at first.  But after a reboot, CCS got a little further in the compilation, and was giving me legitimate errors about a source file missing.  I fixed those, and then started getting errors pointing me to the metadata/ .log file(attached).  Now it dies there everytime I start CCS.  At this point, I can't start code composer, with either a blank work-space or an existing one.

    Thanks,
    Don

    1727..log.zip

  • I think I found my problem...apparently, i didn't fully uninstall CCS5 before reinstalling CCS6, though the uninstaller is no longer visible in control panel.  I was opening the old version when i used my toolbar link, rather than the start menu link.

    If I make sure to open CCS6, after setting both TMP and TEMP variables, and rebooting, I can compile again.

    Thanks!

    Don