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.

TMS320F280033: Compilation errors after code sharing

Part Number: TMS320F280033
Other Parts Discussed in Thread: C2000WARE

Hi,

I am trying to share a ccs project to one more colleague. This is executed properly when executed in my system. But in their system it is resulting in compilation errors. The error message is as follows:

**** Build of configuration Debug for project 001_PHASE_C ****
 
"C:\\ti\\ccs1260\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 

Building file: "../application/main.c"

Invoking: C2000 Compiler

"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/CCS/Learning/001_PHASE_C" --include_path="C:/CCS/Learning/001_PHASE_C/drivers" --include_path="C:/CCS/Learning/001_PHASE_C/hal" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/CCS/Learning/001_PHASE_C/Debug/syscfg" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="application/main.d_raw" --include_path="C:/Users/10861368/commTI/001_PHASE_C_V5/001_PHASE_C_V5/001_PHASE_C/Debug/syscfg" --obj_directory="application"  "../application/main.c"

>> Compilation failure

application/subdir_rules.mk:9: recipe for target 'application/main.obj' failed

"../application/main.c", line 56: fatal error #1965: cannot open source file "stdlib.h"

1 catastrophic error detected in the compilation of "../application/main.c".

Compilation terminated.

gmake: *** [application/main.obj] Error 1

gmake: Target 'all' not remade because of errors.
 
**** Build Finished ****

NOTE:

1) my includes in project properties 

  • Hi Ashwin,

    This is most likely because your local paths do not match your colleague's.

    Any path names should refer to their system variables, i see you have a hard coded C:/ti/ccs... path. This may be different than your colleague's.

    Please double check your path names to make sure you're using the appropriate system variables when sharing.

    Best,

    Ryan Ma

  • Hi Ryan,

    I checked this hard coded C:/ti/ccs..part in my colleague's system. It is mapped properly to wherever her respective files are stored. Please find the attached images for the configurations. 

    Additionally when we tried commenting out this line no 58, it then shows same error on line no 59.

     

  • Hi Ashwin,

    This looks like a driverlib.h include options error. Please refer to one of our C2000WARE examples on what include options are used and compare it with your project. 

    Best,

    Ryan Ma