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.

TMS320F2812: building CCS 3.x project in CCS 12.4

Part Number: TMS320F2812

Hi,

I am getting below compilation errors when I try to build the code, I get same kind of error for remaining files, not sure how to resolve it.

Building file: "C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/AppMsg.c"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/pmc" --include_path="/packages/ti/xdais" --include_path="C:/MCS_HVAD/code/PMC_code_trial/include" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --advice:performance=all --define=LARGE_MODEL --define=WDOG_ENABLED --define=TARGET_CPU_FLASH --diag_wrap=off --display_error_number --issue_remarks --verbose_diagnostics --quiet --abi=coffabi -k --asm_listing --asm_define=TARGET_FLASH=1 --asm_define=PLL_SETTING=8 --asm_define=FLASHWAIT=1028 --output_all_syms --asm_directory="C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/Release_Flash" --preproc_with_compile --preproc_dependency="AppMsg.d_raw" --obj_directory="C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/pmc/../Release_Flash" "C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/AppMsg.c"
remark #24038-D: --output_all_syms is deprecated and will be removed in a subsequent release. This is now the default behavior of the compiler.

>> Compilation failure
subdir_rules.mk:9: recipe for target 'C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/Release_Flash/AppMsg.obj' failed
Could Not Find C:\MCS_HVAD\code\PMC_code_trial\SE-0000-28-5 Rev 004-a Source\pmc.hex
"C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/AppMsg.c", line 29: fatal error #1965: cannot open source file "std.h"
#include <std.h>
^

1 catastrophic error detected in the compilation of "C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/AppMsg.c".
Compilation terminated.
gmake[1]: *** [C:/MCS_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-a Source/Release_Flash/AppMsg.obj] Error 1
gmake[1]: *** Waiting for unfinished jobs....

  • Hello Eashwar,

    Can you confirm the file path for std.h? This seems to be the main point of the error message. Are any of the include paths or linked files including the std.h header file correctly? You can check this within the Project Properties of your CCS project and looking into each directory.

    Best regards,

    Omer Amir

  • Hello Omer,

    I have included below files in include option. some of them appeared directly on opening the legacy project and few of them I added after reviewing some related posts.

    The legacy project includes std.h file as below

    Thanks,

    Veera

  • Hello,

    Have you checked the file locations to see if there is an std.h file present? Please do so before proceeding, to make sure this is not the case of just some missing file.

    Best regards,

    Omer Amir