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.

vlfft c6678

我是ccsv5.2的新手,在运行vlfft程序中遇到问题希望大家能够答疑解惑:

               在编译成功后,进行debug时会有以下错误提示:

Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'vlfft_evmc6678l'.
Generated resource conflict:
two resources of the same name: /vlfft_evmc6678l/Debug/.config/xconfig_vlfft_evmc6678l/package/cfg/configPkg/compiler.opt
generated by different tools
tool1: XDCtools
tool2: XDCtools

请问这个如何解决。

但如果编译后重新打开ccs,debug就能运行到板子上,然后又出现如下错误No source available for "main() at D:\ti\vlfft OK\evmc6678l\Debug\vlfft_evmc6678l.out:{3} 0xc20674c{4}" 请问如何解决?谢谢大家!

  • 先终止Debug模式,就是那个红色方块,Terminate。然后右键工程点击clean project后再进行Debug就没事了。

    我最近也在学这块板子,这个问题我遇到过。119472446这个是我建的QQ群,有兴趣可以加进来~一起学

  • 每次都要这样不是很烦吗。后面一个问题呢

  • 我是这样理解的。每次debug需要把工程下到板子上去运行,每次运行会生成一个.out文件。如果要修改工程后再debug的话就需要对板子初始化,清理掉.out文件再重新下载工程来运行。只是终止debug再clean project而已,和关掉CCS再打开从新编译相比省事多了。

    第二个问题的话,你需要将八个核配置好GEL文件后,在debug模式下,选中八个核,然后右键选择group那个选项,然后运行group 1就可以了。

  • 话说我只勾选了一个core,然后就找不到在哪把其他七个core勾选出来。我找找。感谢!说的有道理

  • 加群里面来一起学吧,这块板子自己啃的话真的是好难好难,一起学习一起进步嘛。群号我在上面留过了。哪里不懂得大家一起想办法。

  • 那个群号在哪?没看到啊?方便说下嘛?想一起交流交流

  • 已经看到了谢谢

  • 针对第一个问题:Errors occurred during the build.
    Errors running builder 'CDT Builder' on project 'vlfft_evmc6678l'.
    Generated resource conflict: 
    two resources of the same name: /vlfft_evmc6678l/Debug/.config/xconfig_vlfft_evmc6678l/package/cfg/configPkg/compiler.opt 
    generated by different tools 
    tool1: XDCtools 
    tool2: XDCtools

    在E2E英文论坛里有人问过了,并且该了解决方法,这是CCS5.2版本的独特的问题,5.1和5.3貌似都没有,链接是:https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/203656/737690#737690

    大致意思就是:5.2版本相对于5.1版本有个漏洞,就是如果文件中有多个CFG文件的话,就会提示该错误(DEBUG模式下,其他模式下没有问题),避免该错误的方法就是手动将系统多产生的CFG文件去除掉:

    the multiple .cfg files are in the generated .config/xconfig_app/package/cfg/ directory.  Previous CCS versions automatically treated any hidden directories (directories which start with a '.') as excluded from build.  This seems to have regressed in CCSv5.2.x - a CQ has been opened and will be addressed for CCSv5.3.0 - SDSCM00045081.  Until then, you can either delete the .config directory from the root of your project, or explicitly exclude it from build:

    1. Make the hidden directories visible in the Project Explorer by opening the view menu (small upside-down triangle in the top-right corner of the Project Explorer view), then Customize View…, then uncheck the “.* resources” item.
    2. Then, in Project Explorer, right-click on the directory, select Resource Configurations > Exclude from Build…, and exclude it for all build-configurations.