完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
本帖最后由 一只耳朵怪 于 2018-6-25 14:14 编辑
各位专家,在CCS5.1中,我利用File-New-Ccs project建立了一个新的工程,工程选择为Empty project。在main.c里面输入如下代码: #include #include #include <ti/csl/csl_chip.h> void main(void) [ uint32_t coreID = CSL_chipReadReg (CSL_CHIP_DNUM); return; ] 为什么Build工程时会出现错误。如下: error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "lk.out" not built。是不是在工程设置的地方需要设置一下? 谢谢大家解答。 |
|
相关推荐
8个回答
|
|
|
您好,
需要在properties->CCS build->C6000 linker->file search path中添加csl lib,如"C:Program FilesTexas Instrumentspdk_C6678_1_0_0_17packagesticsllibti.csl.ae66" 另外请注意以后在发帖时将问题全部贴上,不要只贴一部分,这样方便解答,谢谢 |
|
|
|
|
zbb9612 发表于 2018-6-25 05:55 ANDY 你好, 在这个文件夹下有很多类似的文件,比如还有ti.csl.ae66.mk,请问在建立工程时,我该怎么选择那一个文件呢?是不是只要用到了CSL函数就必须按照您说的方法添加csl lib?谢谢。 |
|
|
|
|
zbb9612 发表于 2018-6-25 05:55 ANDY 你好, 为什么6678开发板的例子SRIO_LoopbackDioIsrexampleproject的File search path没有CSL lib,工程的设置如下 我在论坛里下载的工程文件IPC_example_on_6678,在File Search Path中除了添加ti.csl.ae66,还需要添加什么文件吗?因为添加ti.csl.ae66后build工程后出现错误如下 Description Resource Path Location Type #10010 errors encountered during linking; "IPC_example_on_6678.out" not IPC_example_on_6678 C/C++ Problem #10234-D unresolved symbols remain IPC_example_on_6678 C/C++ Problem unresolved symbol CSL_intcGlobalEnable, first referenced in ./ipc_interrupt.obj IPC_example_on_6678 C/C++ Problem unresolved symbol CSL_intcGlobalNmiEnable, first referenced in ./ipc_interrupt.obj IPC_example_on_6678 C/C++ Problem unresolved symbol CSL_intcHwControl, first referenced in ./ipc_interrupt.obj IPC_example_on_6678 C/C++ Problem unresolved symbol CSL_intcInit, first referenced in ./ipc_interrupt.obj IPC_example_on_6678 C/C++ Problem unresolved symbol CSL_intcOpen, first referenced in ./ipc_interrupt.obj IPC_example_on_6678 C/C++ Problem unresolved symbol CSL_intcPlugEventHandler, first referenced in ./ipc_interrupt.obj IPC_example_on_6678 C/C++ Problem 谢谢。 |
|
|
|
|
斌无非师范 发表于 2018-6-25 06:12 您好! 1. ti.csl.ae66.mk 是makefile文件,添加ti.csl.ae66即可 2. 再 添加 ti.csl.intc.ae66,注意路径的设置 |
|
|
|
|
MAZHILEI 发表于 2018-6-25 06:30 你好,请问有没有文件或者链接,说明什么情况下需要添加 ti.csl.intc.ae66,或者其它的文件,这个遵循的原则是什么?谢谢 |
|
|
|
|
|
您好! 从你贴的error可以看出使用了intc的相关API。 原则,你用了哪个模块的API就得添加相应的lib. |
|
|
|
|
zbb9612 发表于 2018-6-25 05:55 打开一个工程,编译出现以下错误,是缺少哪个链接库 undefined first referenced symbol in file --------- ---------------- _CACHE_clean D:\software\TS-AVoIP-64x Experiment\TS-AVoIP-64x Experiments\TS-AVoIP-64x_examples\Lab6.2-DM642_image_DTC\debug\video_ntsc_pal.obj _CACHE_enableCaching D:\software\TS-AVoIP-64x Experiment\TS-AVoIP-64x Experiments\TS-AVoIP-64x_examples\Lab6.2-DM642_image_DTC\debug\video_ntsc_pal.obj _CACHE_setL2Mode D:\software\TS-AVoIP-64x Experiment\TS-AVoIP-64x Experiments\TS-AVoIP-64x_examples\Lab6.2-DM642_image_DTC\debug\video_ntsc_pal.obj _CSLDM642_LIB_ D:\software\TS-AVoIP-64x Experiment\TS-AVoIP-64x Experiments\TS-AVoIP-64x_examples\Lab6.2-DM642_image_DTC\debug\video_ntsc_pal.obj _DAT_close ..libvport.l64 D:\software\TS-AVoIP-64x Experiment\TS-AVoIP-64x Experiments\TS-AVoIP-64x_examples\Lab6.2-DM642_image_DTC\debug\video_ntsc_pal.obj _DAT_fill ..libvport.l64 D:\software\TS-AVoIP-64x Experiment\TS-AVoIP-64x Experiments\TS-AVoIP-64x_examples\Lab6.2-DM642_image_DTC\debug\video_ntsc_pal.obj _EDMA_allocTable ..libvport.l64 error: unresolved symbols remain error: errors encountered during linking; "./debug/DM642_image_DTC.out" not built >> Compilation failure Build Complete, 1 Errors, 0 Warnings, 0 Remarks. |
|
|
|
|
guoguoguilai 发表于 2018-6-25 07:15 你用的是DM642平台么,请把问题发到达芬奇子论坛,这里只管C64及keystone,谢谢。 |
|
|
|
|
只有小组成员才能发言,加入小组>>
549 浏览 0 评论
1613 浏览 0 评论
2047 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1513 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1337 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1756浏览 29评论
2781浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1724浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1634浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1645浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 03:32 , Processed in 0.917472 second(s), Total 87, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3233