我在跑自己写的helloworld以及CCS自带的6678的例子时
可以进行单步调试,但过程中多次出现
Can't find a source file at "/db/rtree/library/trees/xdcprod/xdcprod-q45/product/Linux/xdctools_3_24_05_45_eng/packages/xdc/runtime/Core-params.c"Locate the file or edit the source lookup path to include its location.
这类问题
并且点击运行,也会报错
Can't find a source file at "/tmp/TI_MKLIB6sLCzz/SRC/exit.c"Locate the file or edit the source lookup path to include its location.
我按照网上说的http://blog.csdn.net/xiaoyulin/article/details/3747384
- From the editor error page, select the "Edit Source Lookup Path…" button and select the "Add…" button
- Or, in the eclipse IDE, go to menu Window -> Preferences -> C/C++ -> Debug-> Common Source Lookup Path -> Add.
- From the list of lookup containers, choose Path Mapping and OK. You get a New Mapping in the list.
- Select the mapping and then Edit. In the Modify the path mappings dialog, select Add, and then enter:
- /cygdrive/c as the compilation path and
- c:/ as the local file system path.
- Select OK, OK, OK to finish the dialogs.
- Terminate the debug session and restart; it should find your source files now 设置了映射路径,错误依然存在,请大家帮帮忙,非常感谢
Allen35065:
如图 edit source lookup路径
Muhua Chen:
回复 Allen35065:
您好,非常感谢您的回答。
点击Edit Source Lookup 进入后有多个添加选项,不知道该选哪一种,另外我并没有/tmp/TI_MKLIB6sLCzz/SRC/exit.c这个路径以及文件,该怎么处理?
Allen35065:
回复 Muhua Chen:
exit函数式标准库自带的,你可以不用关注
xiejun xie:
回复 Muhua Chen:
请问你的问题解决了吗? 我遇到了同样的问题 不知道怎么去掉这个错误, 求帮忙啊!!!