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.

To Copy Project in CCS

Other Parts Discussed in Thread: TMDSLCDK6748, AM1808

HI,

 we're using TMDSLCDK6748 board for our development, and I've downloaded and installed the SDK which comes along with evaluation kit, and I've imported and example enet_echo and executed to check the working and it worked fine , now to implement the API for internal project  I tried to copy the example project from CCS(which I executed before) but include libiraries and other files are not copying.

above includes are example project includes and below is the copied project, so this is the example imported from SDK and executed it and copy pasted the project as Cicc_Eth. 

 

 

 please let me know what process to follow so that all the contents of the original projects can be copied.

  • Hello,

    How are you copying the project? Are you using the copy option inside the Project Explorer?

    In any case, it is likely that the original project relies on various build and path variables which is not properly carrying over to the copied project. Please check these. For more information on these variables, please see:

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

    Thanks

    ki

  • Hi,

    Did follow the as instruction given, still getting the following error 


    **** Build of configuration Debug for project enet ****

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

    Building file: "../Cicc_Eth.c"
    Invoking: C6000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/bin/cl6x" -mv6740 -g --gcc --define=c6748 --define=lcdkC6748 --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/include" --include_path="C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/build/c674x/cgt_ccs/c6748/lcdkC6748/enet_echo" --include_path="../../../../../../../examples/lcdkC6748/enet_echo" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../ipclite/include" --include_path="../../../../../../../nandlib/include" --include_path="../../../../../../../third_party/lwip-1.3.2" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include/ipv4" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include/lwip" --include_path="../../../../../../../third_party/lwip-1.3.2/ports/am1808/include" --include_path="../../../../../../../third_party/lwip-1.3.2/apps/echoserver_raw" --preinclude="C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="Cicc_Eth.d_raw" "../Cicc_Eth.c"

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'Cicc_Eth.obj' failed
    Command-line error: cannot open source file "C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet": Invalid argument
    1 catastrophic error detected in the compilation of "../Cicc_Eth.c".
    Compilation terminated.
    gmake: *** [Cicc_Eth.obj] Error 1
    Building file: "C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/enet_echo/echoApp.c"
    Invoking: C6000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/bin/cl6x" -mv6740 -g --gcc --define=c6748 --define=lcdkC6748 --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/include" --include_path="C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/build/c674x/cgt_ccs/c6748/lcdkC6748/enet_echo" --include_path="../../../../../../../examples/lcdkC6748/enet_echo" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../ipclite/include" --include_path="../../../../../../../nandlib/include" --include_path="../../../../../../../third_party/lwip-1.3.2" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include/ipv4" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include/lwip" --include_path="../../../../../../../third_party/lwip-1.3.2/ports/am1808/include" --include_path="../../../../../../../third_party/lwip-1.3.2/apps/echoserver_raw" --preinclude="C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="echoApp.d_raw" "C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/enet_echo/echoApp.c"

    >> Compilation failure
    subdir_rules.mk:16: recipe for target 'echoApp.obj' failed
    Command-line error: cannot open source file "C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet": Invalid argument
    1 catastrophic error detected in the compilation of "C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/enet_echo/echoApp.c".
    Compilation terminated.
    gmake: *** [echoApp.obj] Error 1
    Building file: "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"
    Invoking: C6000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/bin/cl6x" -mv6740 -g --gcc --define=c6748 --define=lcdkC6748 --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/include" --include_path="C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/build/c674x/cgt_ccs/c6748/lcdkC6748/enet_echo" --include_path="../../../../../../../examples/lcdkC6748/enet_echo" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../ipclite/include" --include_path="../../../../../../../nandlib/include" --include_path="../../../../../../../third_party/lwip-1.3.2" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include/ipv4" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include/lwip" --include_path="../../../../../../../third_party/lwip-1.3.2/ports/am1808/include" --include_path="../../../../../../../third_party/lwip-1.3.2/apps/echoserver_raw" --preinclude="C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="lwiplib.d_raw" "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"

    >> Compilation failure
    subdir_rules.mk:23: recipe for target 'lwiplib.obj' failed
    Command-line error: cannot open source file "C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet": Invalid argument
    1 catastrophic error detected in the compilation of "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".
    Compilation terminated.
    gmake: *** [lwiplib.obj] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • And includes are still not added, it's same as before

      

  • >> Compilation failure
    subdir_rules.mk:16: recipe for target 'echoApp.obj' failed
    Command-line error: cannot open source file "C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet": Invalid argument
    1 catastrophic error detected in the compilation of "C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/examples/lcdkC6748/enet_echo/echoApp.c".
    Compilation terminated.
    gmake: *** [echoApp.obj] Error 1
    Building file: "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"
    Invoking: C6000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/bin/cl6x" -mv6740 -g --gcc --define=c6748 --define=lcdkC6748 --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c6000_8.3.6/include" --include_path="C:/ti/SDK/Texas Instruments/pdk_C6748_2_0_0_0/C6748_StarterWare_1_20_03_03/build/c674x/cgt_ccs/c6748/lcdkC6748/enet_echo" --include_path="../../../../../../../examples/lcdkC6748/enet_echo" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../ipclite/include" --include_path="../../../../../../../nandlib/include" --include_path="../../../../../../../third_party/lwip-1.3.2" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include/ipv4" --include_path="../../../../../../../third_party/lwip-1.3.2/src/include/lwip" --include_path="../../../../../../../third_party/lwip-1.3.2/ports/am1808/include" --include_path="../../../../../../../third_party/lwip-1.3.2/apps/echoserver_raw" --preinclude="C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="lwiplib.d_raw" "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"

    In your build output, I see:

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

    the--preinclude option is expecting a preinclude file. You only provided a directory. This is why you are getting:

    Command-line error: cannot open source file "C:/Users/adithya.jayaram/OneDrive - HCL Technologies Ltd/Documents/new code/Enet": Invalid argument

    Are you trying to specify the preinclude file? or simply an include search path? If it is the latter, then you need to put that path in the --include_path field and not the --preinclude field.

    Thanks

    ki