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 v5.5 Could not open file



I have installed latest version of CCS (5.5.0.00077) on Windows 7 Professional 64-Bit .

I'm write asemmbly code.

I'm ccs reset perspective  .

 

CDT Build Console

________________________________________________________________________________________

**** Build of configuration Debug for project denmee ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building target: denmee.out'
'Invoking: ARM Linker'
"C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -g --diag_warning=225 --display_error_number --diag_wrap=off -z -m"denmee.map" --heap_size=0 --stack_size=0 -i"C:/ti/ccsv5/tools/compiler/arm_5.1.1/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="denmee_linkInfo.xml" -o "denmee.out" "./main.obj" "./lm4f120h5qr_startup_ccs.obj" "../lm4f120h5qr.cmd" -l"libc.a"
<Linking>

undefined first referenced
symbol in file
--------- ----------------
__STACK_TOP ./lm4f120h5qr_startup_ccs.obj

main C:\ti\ccsv5\tools\compiler\arm_5.1.1\lib\rtsv7M4_T_le_v4SPD16_eabi.lib<args_main.obj>

error #10234-D: unresolved symbols remain
>> Compilation failure
error #10010: errors encountered during linking; "denmee.out" not built
gmake: *** [denmee.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

_______________________________________________________________________________________

 

  • Your project does not have a 'main', which makes sense since you are creating an assembly project.

    The issue is that the 'lm4f120h5qr_startup_ccs.c' file and the cmd file that is in your project (generated by CCS) requires the run-time library and the run-time library requires a 'main'.


    If you don't need the the generated source file, you can remove it from your project and also the run-time library support from the build options.