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.

CCS: Compiler error for working code of CCS 6.2

Expert 2875 points
Other Parts Discussed in Thread: MATHLIB

Tool/software: Code Composer Studio

Hi,

What is the problem of he following compilation error?

Thanks.

Steve

Building file: "../src/imet.c"
Invoking: C6000 Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6600 --include_path="C:/ti/xdctools_3_32_00_06_core/packages/" --include_path="C:/ti/xdctools_3_23_04_60/packages" --include_path="C:/ti/mathlib_c66x_3_1_1_0/packages" --include_path="C:/ti/mathlib_c66x_3_1_1_0/packages/ti/mathlib" --include_path="../inc" --include_path="C:/P4/dsp/alg/include" --include_path="C:/P4/dsp/comm/include" --include_path="C:/P4/dsp/alg/projs/met" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --output_file="../src" --preproc_with_compile --preproc_dependency="src/imet.d_raw" --obj_directory="src" "../src/imet.c"

>> Compilation failure
src/subdir_rules.mk:9: recipe for target 'src/imet.obj' failed
"C:\Users\squ\AppData\Local\Temp\{1A61D55A-3991-400A-A358-01718AE64E0C}", ERROR! at EOF: [E1500] file access error: failed to open "..\src" for writing
"C:\Users\squ\AppData\Local\Temp\{1A61D55A-3991-400A-A358-01718AE64E0C}", ERROR! : [E1000] Failed to write object file : ..\src
gmake: *** [src/imet.obj] Error 1

  • The problem is this option to cl6x ...

    SGQ said:
    --output_file="../src"

    It is possible this occurs because of some problem in how CCSv9 imports the project from CCSv6.2.  But for now, you need manually fix it.  Either match how it was done in the CCSv6.2 project, or just remove the option and take the default, which is src\imet.obj.  

    Thanks and regards,

    -George