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.

Trouble Exporting Example Project and then Importing

Hi,

In CCS v5.2.1 I'm unable to export an example project and import it and build that code. Here are my steps:

1) Import Existing CCS Eclipse Projects > browse to find C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\PA_emacExample_exampleProject , leave Copy projects into workspace unchecked, > Finish

2) Clean, build, see that build is successful. Console output below:

**** Clean-only build of configuration Debug for project PA_emacExample_exampleProject ****

C:\ti\ccsv5\utils\bin\gmake -k clean
DEL /F "configPkg\compiler.opt" "configPkg\linker.cmd" "PA_emacExample_exampleProject.out"
The system cannot find the file specified.
gmake: [clean] Error 1 (ignored)
RMDIR /S/Q "configPkg\"
The system cannot find the file specified.
gmake: [clean] Error 2 (ignored)
DEL /F "classify1_bin.pp" "classify2_bin.pp" "cppi_device.pp" "cppi_qmss_mgmt.pp" "cpsw_mgmt.pp" "cpsw_singlecore.pp" "pa_mgmt.pp" "pam_bin.pp" "qmss_device.pp" "singlecore_osal.pp" "view_ale_table.pp"
Could Not Find C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\PA_emacExample_exampleProject\Debug\classify1_bin.pp
DEL /F "classify1_bin.obj" "classify2_bin.obj" "cppi_device.obj" "cppi_qmss_mgmt.obj" "cpsw_mgmt.obj" "cpsw_singlecore.obj" "pa_mgmt.obj" "pam_bin.obj" "qmss_device.obj" "singlecore_osal.obj" "view_ale_table.obj"
Could Not Find C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\PA_emacExample_exampleProject\Debug\classify1_bin.obj
'Finished clean'
' '

**** Build Finished ****

**** Build of configuration Debug for project PA_emacExample_exampleProject ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_example.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_24_06_63/xs" --xdcpath="C:/ti/edma3_lld_02_11_05_02/packages;C:/ti/ipc_1_24_03_32/packages;C:/ti/bios_6_33_06_50/packages;C:/ti/pdk_C6678_1_1_2_6/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.sdo.ipc.examples.platforms.evm6678.core0 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.2" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_example.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring cpsw_example.xe66 from package/cfg/cpsw_example_pe66.cfg ...
cle66 package/cfg/cpsw_example_pe66.c ...
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_example.cfg'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/classify1_bin.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="classify1_bin.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/classify1_bin.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/classify1_bin.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/classify2_bin.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="classify2_bin.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/classify2_bin.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/classify2_bin.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi/device/cppi_device.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="cppi_device.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi/device/cppi_device.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi/device/cppi_device.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cppi_qmss_mgmt.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="cppi_qmss_mgmt.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cppi_qmss_mgmt.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cppi_qmss_mgmt.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_mgmt.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="cpsw_mgmt.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_mgmt.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_mgmt.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_singlecore.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="cpsw_singlecore.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_singlecore.c"
"C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_singlecore.c", line 273: warning #112-D: statement is unreachable
"C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_singlecore.c", line 149: warning #179-D: variable "ct_show_ale" was declared but never referenced
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/cpsw_singlecore.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/pa_mgmt.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="pa_mgmt.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/pa_mgmt.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/pa_mgmt.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/pam_bin.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="pam_bin.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/pam_bin.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/fw/pam_bin.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss/device/qmss_device.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="qmss_device.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss/device/qmss_device.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss/device/qmss_device.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/singlecore_osal.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="singlecore_osal.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/singlecore_osal.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/singlecore_osal.c'
' '
'Building file: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/view_ale_table.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/cppi" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="view_ale_table.pp" --cmd_file="./configPkg/compiler.opt" "C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/view_ale_table.c"
'Finished building: C:/ti/pdk_C6678_1_1_2_6/packages/ti/drv/pa/example/emacExample/view_ale_table.c'
' '
'Building target: PA_emacExample_exampleProject.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -g --display_error_number --diag_warning=225 --diag_wrap=off -z -m"PA_emacExample_exampleProject.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --rom_model -o "PA_emacExample_exampleProject.out" -l"./configPkg/linker.cmd" "./view_ale_table.obj" "./singlecore_osal.obj" "./qmss_device.obj" "./pam_bin.obj" "./pa_mgmt.obj" "./cpsw_singlecore.obj" "./cpsw_mgmt.obj" "./cppi_qmss_mgmt.obj" "./cppi_device.obj" "./classify2_bin.obj" "./classify1_bin.obj" -l"libc.a"
<Linking>
'Finished building target: PA_emacExample_exampleProject.out'
' '

**** Build Finished ****

3) Export... > File System > leave all checked, and select local destination , Finish 

4) Delete project, ( leave Delete project contents on disk  unchecked)

5) Import...  > Existing CCS Projects > Enter the directory of the locally saved Exported project ( C:\work\ti\pa_emac_example_rfr\PA_emacExample_exampleProject in my case), leave copy projects into workspace unchecked > Finish

6) Clean project  > Build project , see output below:

**** Clean-only build of configuration Debug for project PA_emacExample_exampleProject ****

C:\ti\ccsv5\utils\bin\gmake -k clean
DEL /F "configPkg\compiler.opt" "configPkg\linker.cmd" "PA_emacExample_exampleProject.out"
The system cannot find the file specified.
gmake: [clean] Error 1 (ignored)
RMDIR /S/Q "configPkg\"
The system cannot find the file specified.
gmake: [clean] Error 2 (ignored)
DEL /F "classify1_bin.pp" "classify2_bin.pp" "cppi_device.pp" "cppi_qmss_mgmt.pp" "cpsw_mgmt.pp" "cpsw_singlecore.pp" "pa_mgmt.pp" "pam_bin.pp" "qmss_device.pp" "singlecore_osal.pp" "view_ale_table.pp"
Could Not Find C:\work\ti\pa_emac_example_rfr\PA_emacExample_exampleProject\Debug\classify1_bin.pp
DEL /F "classify1_bin.obj" "classify2_bin.obj" "cppi_device.obj" "cppi_qmss_mgmt.obj" "cpsw_mgmt.obj" "cpsw_singlecore.obj" "pa_mgmt.obj" "pam_bin.obj" "qmss_device.obj" "singlecore_osal.obj" "view_ale_table.obj"
Could Not Find C:\work\ti\pa_emac_example_rfr\PA_emacExample_exampleProject\Debug\classify1_bin.obj
'Finished clean'
' '

**** Build Finished ****

**** Build of configuration Debug for project PA_emacExample_exampleProject ****

C:\ti\ccsv5\utils\bin\gmake -k all
gmake: *** No rule to make target `C:/ti/drv/pa/fw/classify1_bin.c', needed by `classify1_bin.obj'.
gmake: *** No rule to make target `C:/ti/drv/pa/example/emacExample/cpsw_example.cfg', needed by `configPkg/compiler.opt'.
gmake: *** No rule to make target `C:/ti/drv/pa/fw/classify2_bin.c', needed by `classify2_bin.obj'.
gmake: *** No rule to make target `C:/ti/drv/cppi/device/cppi_device.c', needed by `cppi_device.obj'.
gmake: *** No rule to make target `C:/ti/drv/pa/example/emacExample/cppi_qmss_mgmt.c', needed by `cppi_qmss_mgmt.obj'.
gmake: *** No rule to make target `C:/ti/drv/pa/example/emacExample/cpsw_mgmt.c', needed by `cpsw_mgmt.obj'.
gmake: *** No rule to make target `C:/ti/drv/pa/example/emacExample/cpsw_singlecore.c', needed by `cpsw_singlecore.obj'.
gmake: *** No rule to make target `C:/ti/drv/pa/example/emacExample/pa_mgmt.c', needed by `pa_mgmt.obj'.
gmake: *** No rule to make target `C:/ti/drv/pa/fw/pam_bin.c', needed by `pam_bin.obj'.
gmake: *** No rule to make target `C:/ti/drv/qmss/device/qmss_device.c', needed by `qmss_device.obj'.
gmake: *** No rule to make target `C:/ti/drv/pa/example/emacExample/singlecore_osal.c', needed by `singlecore_osal.obj'.
gmake: *** No rule to make target `C:/ti/drv/pa/example/emacExample/view_ale_table.c', needed by `view_ale_table.obj'.
gmake: Target `all' not remade because of errors.

**** Build Finished ****


What's going on here? I can see one obvious thing is that it's looking for C:/ti/drv/pa/example/emacExample/...., and the C:/ti/drv path doesn't exist. There is clearly some relative path, but I imagine the export project process is supposed to capture translate relative paths somehow. 

Thanks,

Ryan