TI中文支持网
TI专业的中文技术问题搜集分享网站

ccs5.2编译tms320vc5502时报错

Description Resource Path Location Type #10010 errors encountered during linking; "uart11.out" not built uart11    C/C++ Problem

Description Resource Path Location Type <a href="file:/D:/DSP/ccsv5/tools/compiler/dmed/HTML/10234.html">#10234-D</a>  unresolved symbols remain uart11    C/C++ Problem

Description Resource Path Location Type unresolved symbol __CSL_init, first referenced in ./main_uart1.obj uart11    C/C++ Problem unresolved symbol _CSL5502_LIB_, first referenced in ./main_uart1.obj uart11    C/C++ Problem

 unresolved symbol _UART_read, first referenced in ./main_uart1.obj uart11    C/C++ Problem

 unresolved symbol _UART_setup, first referenced in ./main_uart1.obj uart11    C/C++ Problem

 unresolved symbol _UART_write, first referenced in ./main_uart1.obj uart11    C/C++ Problem ,

源码用的是TI官网上C55xxcsl中的uart1.

参考过群里的帖子(CSL user guide第2.3 Compiling and Linking with the CSL Using Code Composer Studio章节, 有详细的步骤告诉你怎么添加csl库.),由于对ccs不熟,里面介绍的不是在ccs5.2上的错做,所以,没成功。求指点

ok star:

回复 noaming:

您好:

      非常感谢您热心的解答帮助,我编译的问题已经解决了,谢谢!

April April:

回复 ok star:

您好:

        刚接触DSP,也遇到了类似问题,请问你这个是怎么解决的呢

noaming:

回复 April April:

您好,工程编译需要添加所需要的头文件和库文件路径。

点击工程右键,找到build—-c6000 linker——file search path,

在右边第一个方框中点绿色加号,在filesystem中直接添加需要的库。

点击工程右键,找到build—-c6000 compiler——include option,

在右边第一个方框中点绿色加号,在filesystem中直接添加需要的头文件路径。

April April:

回复 noaming:

你好,已经解决了哈,谢了

Cheng Wang4:

回复 noaming:

您好,我在使用CCSV6开发msp430的时候,移植IAR的头文件时也出现了同样的问题,请问应该怎么解决?谢谢!

noaming:

回复 Cheng Wang4:

移植头文件后,需要把库也添加到工程里,如上面的方法一样。MSP430的问题,可以到下面链接中提问:

MSP430™16 位超低功耗 MCU

jing zhang7:

回复 noaming:

你好呀,就是我在编译的过程中,在console里出现了很多类似这样的问题,如下  (plus 但是在problem里没有错误呀,而且没法debug  也找不到out文件 )

**** Build of configuration RAM for project multictrl_c28 ****

"E:\\abcjingzhang\\ccsv5\\utils\\bin\\gmake" -k all 'Building file: E:/abcjingzhang/controlSUITE/device_support/f28m36x/v110/F28M36x_common/source/F28M36x_CodeStartBranch.asm''Invoking: C2000 Compiler'"E:/abcjingzhang/ccsv5/tools/compiler/c2000_6.1.3/bin/cl2000" –cmd_file="E:\abcjingzhang\controlSUITE\device_support\f28m36x\v110\F28M36x_headers\cmd\F28M36x_Headers_nonBIOS.cmd" -v28 -ml -mt –float_support=fpu32 –vcu_support=vcu0 -g –include_path="E:/abcjingzhang/ccsv5/tools/compiler/c2000_6.1.3/include" –include_path="E:/abcjingzhang/controlSUITE/libs/math/IQmath/v160/include" –include_path="D:/ti/xdais_7_21_01_07/packages/ti/xdais" –include_path="E:/abcjingzhang/controlSUITE/device_support/f28m36x/v110/F28M36x_common/include" –include_path="E:/abcjingzhang/controlSUITE/device_support/f28m36x/v110/F28M36x_headers/include" –include_path="E:/abcjingzhang/ccsv5/tools/compiler/c2000_6.1.3/include" –diag_warning=225 –preproc_with_compile –preproc_dependency="F28M36x_CodeStartBranch.pp" "E:/abcjingzhang/controlSUITE/device_support/f28m36x/v110/F28M36x_common/source/F28M36x_CodeStartBranch.asm"[MEMORY.]>> WARNING: more than one source file is specified; preprocessor output will be generated for last file onlyFatal error: could not open source file "MEMORY"1 fatal error detected in the compilation of "MEMORY".Compilation terminated.

XIUQING TANG:

回复 jing zhang7:

请问你的问题解决了么,我遇到了同样的问题。帮忙指导下

赞(0)
未经允许不得转载:TI中文支持网 » ccs5.2编译tms320vc5502时报错
分享到: 更多 (0)