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.

[参考译文] 在 CCS 中复制项目

Guru**** 664280 points
Other Parts Discussed in Thread: TMDSLCDK6748, AM1808
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1227614/to-copy-project-in-ccs

主题中讨论的其他器件:TMDSLCDK6748AM1808

您好!

 我们使用 TMDSLCDK6748板进行开发、我已经下载并安装了随评估套件一起提供的 SDK、 我已经导入和示例 enet_echo 并执行检查工作,它工作正常,现在为了实现 内部项目的 API  我试图从 CCS 复制示例项目(我之前执行过),但包括 libiraries 和其他文件不复制。

上面的包括示例工程、下面是复制的工程、因此这是从 SDK 导入的示例、并执行了该示例并将该工程复制为 CICC_Eth 粘贴。  

 

 

 请告诉我要遵循什么流程、以便复制原始工程的所有内容。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您如何复制该项目? 您是否 在使用 Project Explorer 中的复制选项?

    在任何情况下、原始工程都可能依赖于各种编译和路径变量、而这些变量不会正确地传递到复制工程中。 请检查这些。 有关这些变量的更多信息、请参阅:

    https://dev.ti.com/tirex/explore/node?node=A__APCOPn6qUQAjzKNUeB0cuQ__ccs_devtools__FUz-xrs__LATEST

    谢谢

    小标题

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    遵循给出的 AS 指令、仍然获得以下错误  


    ****项目 Enet ****的配置调试构建

    "C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake"-k all

    生成文件:"../cicc_eth.c"
    调用:C6000编译器
    -mv6740 -g --gcc --define=C6748 --define=lcdkC6748 --include_path="C:--include_path="C:/ti/SDK/Texas /../../../../../../include/hw /../../../../../../grlib/include /../../../../../../nandlib/include /../../../../../../third_party/lwip-1.3.2/src/include/ipv4 - cpdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_build/- ccd_path="cpd_path="- cpd_path_include_path="-/../../../../../../third_party/lwip-1.3.2/src/include - cpd_path=-include_path."/../../../../../../ipclite/include -/../../../../../../usblib/include /../../../../../../third_party/lwip-1.3.2 - cpd_path_path."/../../../../../../include/c674x/c6748 - cpd_include_path=-include_path."/../../../../../../include - css_path."."- ccs_path."-/../../../../../../include/c674x -/../../../../../../examples/lcdkC6748/enet_echo - c6748_path_path.".".include_path."- css_头-include_path=-ccs_path."."."-/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/include -/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/bin/cl6x - c6748_头 路径/../../../../../../third_party/lwip-1.3.2/src/include/lwip /../../../../../../third_party/lwip-1.3.2/ports/am1808/include /../../../../../../third_party/lwip-1.3.2/apps/echoserver_raw /Users/adithya.jayaram/OneDrive。

    >>编译失败
    subdir_rules.mk:9:目标"Cicc_Eth.obj"的配方失败
    命令行错误:无法打开源文件"C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/documents/new code/enet":参数无效
    1在"../CICC_Eth.c"的编译中检测到灾难性错误。
    编译终止。
    gmake:***[CICC_Eth.obj]错误1
    生成文件:"c:/ti/SDK/Texas instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/enet_echo/echoApp.c"
    调用:C6000编译器
    -mv6740 -g --gcc --define=C6748 --define=lcdkC6748 --include_path="C:--include_path="C:/ti/SDK/Texas /../../../../../../include/hw /../../../../../../grlib/include /../../../../../../nandlib/include /../../../../../../third_party/lwip-1.3.2/src/include/ipv4 - cpdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_build/- ccd_path="cpd_path="- cpd_path_include_path="-/../../../../../../third_party/lwip-1.3.2/src/include - cpd_path=-include_path."/../../../../../../ipclite/include -/../../../../../../usblib/include /../../../../../../third_party/lwip-1.3.2 - cpd_path_path."/../../../../../../include/c674x/c6748 - cpd_include_path=-include_path."/../../../../../../include - css_path."."- ccs_path."-/../../../../../../include/c674x -/../../../../../../examples/lcdkC6748/enet_echo - c6748_path_path.".".include_path."- css_头-include_path=-ccs_path."."."-/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/include -/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/bin/cl6x - c6748_头 路径/../../../../../../third_party/lwip-1.3.2/src/include/lwip /../../../../../../third_party/lwip-1.3.2/ports/am1808/include /../../../../../../third_party/lwip-1.3.2/apps/echoserver_raw /Users/adithya.jayaram/OneDrive /ti/SDK/Texas。

    >>编译失败
    subdir_rules.mk:16:目标"echoApp.obj"的配方失败
    命令行错误:无法打开源文件"C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/documents/new code/enet":参数无效
    1在"C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/enet_echo/echoApp.c"的编译中检测到灾难性错误。
    编译终止。
    gmake:***[echoApp.obj]错误1.
    构建文件:"C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0/C6748_StarterWare_1_20_03_03/third_party/lwip-1.3.2/ports/am1808/lwiplib.c"
    调用:C6000编译器
    -mv6740 -g --gcc --define=C6748 --define=lcdkC6748 --include_path="C:--include_path="C:/ti/SDK/Texas /../../../../../../include/hw /../../../../../../grlib/include /../../../../../../nandlib/include /../../../../../../third_party/lwip-1.3.2/src/include/ipv4 - cpdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_build/- ccd_path="cpd_path="- cpd_path_include_path="-/../../../../../../third_party/lwip-1.3.2/src/include - cpd_path=-include_path."/../../../../../../ipclite/include -/../../../../../../usblib/include /../../../../../../third_party/lwip-1.3.2 - cpd_path_path."/../../../../../../include/c674x/c6748 - cpd_include_path=-include_path."/../../../../../../include - css_path."."- ccs_path."-/../../../../../../include/c674x -/../../../../../../examples/lcdkC6748/enet_echo - c6748_path_path.".".include_path."- css_头-include_path=-ccs_path."."."-/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/include -/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/bin/cl6x - c6748_头 路径/../../../../../../third_party/lwip-1.3.2/src/include/lwip /../../../../../../third_party/lwip-1.3.2/ports/am1808/include /../../../../../../third_party/lwip-1.3.2/apps/echoserver_raw /Users/adithya.jayaram/OneDrive /ti/SDK/Texas。

    >>编译失败
    subdir_rules.mk:23:目标"lwiplib.obj"的配方失败
    命令行错误:无法打开源文件"C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/documents/new code/enet":参数无效
    1在"C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/third_party/lwip-1.3.2/ports/AM1808/lwiplib.c"编译中检测到灾难性错误。
    编译终止。
    gmake:***[lwiplib.obj]错误1.
    gmake:由于错误、未重制目标"all"。

    ****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    和 include 仍然没有添加、这与以前是一样的

      

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    ]>编译失败
    subdir_rules.mk:16:目标"echoApp.obj"的配方失败
    命令行错误:无法打开源文件"C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/documents/new code/enet":参数无效
    1在"C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/enet_echo/echoApp.c"的编译中检测到灾难性错误。
    编译终止。
    gmake:***[echoApp.obj]错误1.
    构建文件:"C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0/C6748_StarterWare_1_20_03_03/third_party/lwip-1.3.2/ports/am1808/lwiplib.c"
    调用:C6000编译器
    -mv6740 -g --gcc --define=C6748 --define=lcdkC6748 --include_path="C:--include_path="C:/ti/SDK/Texas /../../../../../../include/hw /../../../../../../grlib/include /../../../../../../nandlib/include /../../../../../../third_party/lwip-1.3.2/src/include/ipv4 - cpdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_build/- ccd_path="cpd_path="- cpd_path_include_path="-/../../../../../../third_party/lwip-1.3.2/src/include - cpd_path=-include_path."/../../../../../../ipclite/include -/../../../../../../usblib/include /../../../../../../third_party/lwip-1.3.2 - cpd_path_path."/../../../../../../include/c674x/c6748 - cpd_include_path=-include_path."/../../../../../../include - css_path."."- ccs_path."-/../../../../../../include/c674x -/../../../../../../examples/lcdkC6748/enet_echo - c6748_path_path.".".include_path."- css_头-include_path=-ccs_path."."."-/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/include -/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/bin/cl6x - c6748_头 路径/../../../../../../third_party/lwip-1.3.2/src/include/lwip /../../../../../../third_party/lwip-1.3.2/ports/am1808/include /../../../../../../third_party/lwip-1.3.2/apps/echoserver_raw /Users/adithya.jayaram/OneDrive /ti/SDK/Texas。

    在构建输出中、我看到:

    -- preinclude="C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/documents/new code/enet"

    preinclude 选项需要预包含文件。 您仅提供了一个目录。 这就是为什么您会获得:

    命令行错误:无法打开源文件"C:/Users/adithya.jayaram/OneDrive -恒联科技有限公司/Documents/new code/enet":无效参数

    您是否尝试指定预包含文件? 还是简单地使用 include 搜索路径? 如果是后者,则需要将该路径放在--include_path 字段中,而不是--preinclude 字段中。

    谢谢

    小标题

    [/quote]