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.

CCS5.2编译出现问题

Other Parts Discussed in Thread: ADS1256

我在用CCS5.2编译先前已经编译成功的文件,并且这些代码下到开发板上是能够用的,但是现在编译每一个源代码时都出现错误,特意人为制造错误时,编译并没有检测到错误,下面是一部分错误

Command-line error: cannot open command file '\\0599216': Invalid argument
1 catastrophic error detected in this compilation.
Compilation terminated.

>> Compilation failure
gmake: *** [source/DSP2803x_SysCtrl.obj] Error 1
'Building file: ../source/DSP2803x_usDelay.asm'
'Invoking: C2000 Compiler'
"C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_usDelay.pp" --obj_directory="source" "../source/DSP2803x_usDelay.asm"
ERROR! : [E1000] Cannot open command file '\\0478814': Invalid argument
ERROR! : [E1000] Cannot open source file : No such file or directory

>> Compilation failure
gmake: *** [source/DSP2803x_usDelay.obj] Error 1
gmake: Target `all' not remade because of errors.

请问有谁知道这个问题怎么解决不??

  • 看起来像是文件路径错误的问题。

  • 今天试了,第一次编译程序是正常的,后来运行到另一个工作空间编译另一个程序出现这种问题,我又返回到第一次编译的程序工作空间,编译程序就出现同样的问题了

  • 把workspace中的这个程序给彻底删除掉,然后重新导入编译看看。

  • 建议你点击project下的clean一下      编译看看

  • 还是不行   错误依然出现

  • 错误还是一样的

  • 建议你把编译出错时的全局图截一下,帮助大家了解实际情况

  • 这个是我的编译错误,可以确定程序之前编译是正常的  而且已经在开发板上用过,请问你碰到过这个问题吗

    *** Build of configuration Debug for project ASignal ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../source/Ads1256_ECan.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/Ads1256_ECan.pp" --obj_directory="source" "../source/Ads1256_ECan.c"
    Command-line error: cannot open command file '\\0399216': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/Ads1256_ECan.obj] Error 1
    Command-line error: cannot open command file '\\0053616': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.

    >> Compilation failure
    'Building file: ../source/Ads1256_Eeprom.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/Ads1256_Eeprom.pp" --obj_directory="source" "../source/Ads1256_Eeprom.c"
    gmake: *** [source/Ads1256_Eeprom.obj] Error 1

    >> Compilation failure
    'Building file: ../source/Ads1256_IsrData.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/Ads1256_IsrData.pp" --obj_directory="source" "../source/Ads1256_IsrData.c"
    Command-line error: cannot open command file '\\0165216': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.

    >> Compilation failure
    gmake: *** [source/Ads1256_IsrData.obj] Error 1
    'Building file: ../source/Ads1256_Led.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/Ads1256_Led.pp" --obj_directory="source" "../source/Ads1256_Led.c"

    >> Compilation failure
    Command-line error: cannot open command file '\\0348816': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/Ads1256_Led.obj] Error 1
    'Building file: ../source/Ads1256_WR_RD.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/Ads1256_WR_RD.pp" --obj_directory="source" "../source/Ads1256_WR_RD.c"

    >> Compilation failure
    'Building file: ../source/Ads1256_isr.c'
    Command-line error: cannot open command file '\\0345616': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/Ads1256_WR_RD.obj] Error 1
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/Ads1256_isr.pp" --obj_directory="source" "../source/Ads1256_isr.c"
    Command-line error: cannot open command file '\\0066016': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.

    gmake: *** [source/Ads1256_isr.obj] Error 1
    >> Compilation failure
    'Building file: ../source/Ads1256_main.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/Ads1256_main.pp" --obj_directory="source" "../source/Ads1256_main.c"
    Command-line error: cannot open command file '\\0083616': Invalid argument

    >> Compilation failure
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/Ads1256_main.obj] Error 1
    'Building file: ../source/DSP2803x_Adc.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_Adc.pp" --obj_directory="source" "../source/DSP2803x_Adc.c"
    Command-line error: cannot open command file '\\0353616': Invalid argument

    >> Compilation failure
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/DSP2803x_Adc.obj] Error 1
    'Building file: ../source/DSP2803x_CSMPasswords.asm'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_CSMPasswords.pp" --obj_directory="source" "../source/DSP2803x_CSMPasswords.asm"
    ERROR! : [E1000] Cannot open command file '\\0084414': Invalid argument
    ERROR! : [E1000] Cannot open source file : No such file or directory

    >> Compilation failure
    gmake: *** [source/DSP2803x_CSMPasswords.obj] Error 1
    'Building file: ../source/DSP2803x_CodeStartBranch.asm'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_CodeStartBranch.pp" --obj_directory="source" "../source/DSP2803x_CodeStartBranch.asm"

    >> Compilation failure
    'Building file: ../source/DSP2803x_CpuTimers.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_CpuTimers.pp" --obj_directory="source" "../source/DSP2803x_CpuTimers.c"
    ERROR! : [E1000] Cannot open command file '\\0340814': Invalid argument

    ERROR! : [E1000] Cannot open source file : No such file or directory
    gmake: *** [source/DSP2803x_CodeStartBranch.obj] Error 1
    Command-line error: cannot open command file '\\0224416': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/DSP2803x_CpuTimers.obj] Error 1
    >> Compilation failure
    'Building file: ../source/DSP2803x_DefaultIsr.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_DefaultIsr.pp" --obj_directory="source" "../source/DSP2803x_DefaultIsr.c"

    Command-line error: cannot open command file '\\0229216': Invalid argument
    >> Compilation failure
    1 catastrophic error detected in this compilation.
    'Building file: ../source/DSP2803x_ECan.c'
    Compilation terminated.
    gmake: *** [source/DSP2803x_DefaultIsr.obj] Error 1
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_ECan.pp" --obj_directory="source" "../source/DSP2803x_ECan.c"
    Command-line error: cannot open command file '\\0099616': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.

    >> Compilation failure
    gmake: *** [source/DSP2803x_ECan.obj] Error 1
    'Building file: ../source/DSP2803x_EPwm.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_EPwm.pp" --obj_directory="source" "../source/DSP2803x_EPwm.c"
    Command-line error: cannot open command file '\\0228016': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.

    >> Compilation failure
    gmake: *** [source/DSP2803x_EPwm.obj] Error 1
    'Building file: ../source/DSP2803x_GlobalVariableDefs.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_GlobalVariableDefs.pp" --obj_directory="source" "../source/DSP2803x_GlobalVariableDefs.c"

    >> Compilation failure
    'Building file: ../source/DSP2803x_Gpio.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_Gpio.pp" --obj_directory="source" "../source/DSP2803x_Gpio.c"
    Command-line error: cannot open command file '\\0101216': Invalid argument

    1 catastrophic error detected in this compilation.
    >> Compilation failure
    Compilation terminated.
    gmake: *** [source/DSP2803x_GlobalVariableDefs.obj] Error 1
    Command-line error: cannot open command file '\\0138016': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/DSP2803x_Gpio.obj] Error 1
    'Building file: ../source/DSP2803x_I2C.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_I2C.pp" --obj_directory="source" "../source/DSP2803x_I2C.c"
    Command-line error: cannot open command file '\\0297216': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/DSP2803x_I2C.obj] Error 1

    >> Compilation failure
    'Building file: ../source/DSP2803x_Lin.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_Lin.pp" --obj_directory="source" "../source/DSP2803x_Lin.c"

    Command-line error: cannot open command file '\\0156816': Invalid argument
    >> Compilation failure
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/DSP2803x_Lin.obj] Error 1
    'Building file: ../source/DSP2803x_MemCopy.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_MemCopy.pp" --obj_directory="source" "../source/DSP2803x_MemCopy.c"

    >> Compilation failure
    'Building file: ../source/DSP2803x_PieCtrl.c'
    Command-line error: cannot open command file '\\0064416': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/DSP2803x_MemCopy.obj] Error 1
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_PieCtrl.pp" --obj_directory="source" "../source/DSP2803x_PieCtrl.c"

    >> Compilation failure
    'Building file: ../source/DSP2803x_PieVect.c'
    Command-line error: cannot open command file '\\0075616': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.
    gmake: *** [source/DSP2803x_PieCtrl.obj] Error 1
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_PieVect.pp" --obj_directory="source" "../source/DSP2803x_PieVect.c"
    Command-line error: cannot open command file '\\0178416': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.

    >> Compilation failure
    gmake: *** [source/DSP2803x_PieVect.obj] Error 1
    'Building file: ../source/DSP2803x_Sci.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_Sci.pp" --obj_directory="source" "../source/DSP2803x_Sci.c"
    Command-line error: cannot open command file '\\0400416': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.

    >> Compilation failure
    gmake: *** [source/DSP2803x_Sci.obj] Error 1
    'Building file: ../source/DSP2803x_Spi.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_Spi.pp" --obj_directory="source" "../source/DSP2803x_Spi.c"

    Command-line error: cannot open command file '\\0019216': Invalid argument
    >> Compilation failure
    1 catastrophic error detected in this compilation.
    'Building file: ../source/DSP2803x_SysCtrl.c'
    Compilation terminated.
    gmake: *** [source/DSP2803x_Spi.obj] Error 1
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_SysCtrl.pp" --obj_directory="source" "../source/DSP2803x_SysCtrl.c"
    Command-line error: cannot open command file '\\0302816': Invalid argument
    1 catastrophic error detected in this compilation.
    Compilation terminated.

    >> Compilation failure
    gmake: *** [source/DSP2803x_SysCtrl.obj] Error 1
    'Building file: ../source/DSP2803x_usDelay.asm'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="E:/New Laser Project/ASignal/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP2803x_usDelay.pp" --obj_directory="source" "../source/DSP2803x_usDelay.asm"
    ERROR! : [E1000] Cannot open command file '\\0296414': Invalid argument
    ERROR! : [E1000] Cannot open source file : No such file or directory

    >> Compilation failure
    gmake: *** [source/DSP2803x_usDelay.obj] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • 技术请教 QQ 501553464   TKS