---F28027 CCS3.3 编译报错---
麻烦了,谁帮我看看,编译老是报这样的错误:----------------------------myfirst.pjt - Debug----------------------------
"C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -g -pdr -pdsw225 -fr"C:/CCStudio_v3.3/MyProjects/Debug" -i"C:/CCStudio_v3.3/MyProjects/DSP2802x_common/include" -i"C:/CCStudio_v3.3/MyProjects/DSP2802x_headers/include" -i"C:/CCStudio_v3.3/MyProjects/Include" -d"_DEBUG" -d"LARGE_MODEL" -ml -mt -v28 -@"../../Debug.lkf" "Example_2802xBUZZER.c"
"C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_EPwm4Regs C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_GpioCtrlRegs C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_GpioDataRegs C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_InitEPwm4Gpio C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_InitPieCtrl C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_InitPieVectTable C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_InitSysCtrl C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_SysCtrlRegs C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
code_start
error: unresolved symbols remain
warning: entry-point symbol "code_start" undefined
error: errors encountered during linking; "./Debug/myfirst.out" not built
>> Compilation failure
Build Complete,
1 Errors, 1 Warnings, 0 Remarks. 入口地址不对,默认是codestart,你在option里找找,改成main 回复【1楼】biansf2001花溅泪
入口地址不对,默认是codestart,你在option里找找,改成main
-----------------------------------------------------------------------
首先谢谢您,我改了,可是还是不行啊。 按您的说法 改了之后:
----------------------------myfirst.pjt - Debug----------------------------
"C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_EPwm4Regs C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_GpioCtrlRegs C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_GpioDataRegs C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_InitEPwm4Gpio C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_InitPieCtrl C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_InitPieVectTable C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_InitSysCtrl C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
_SysCtrlRegs C:\\CCStudio_v3.3\\MyProjects\\Debug\\Example_2802xBUZZER.obj
main
error: unresolved symbols remain
warning: entry-point symbol "main" undefined
error: errors encountered during linking; "./Debug/myfirst.out" not built
>> Compilation failure
Build Complete,
1 Errors, 1 Warnings, 0 Remarks.
页:
[1]