Part Number:TMDSDSK6713
在ccs上进行Hello world例程编译的时候出现问题,系统找不到指定的路径
Shine:
是自己写的helloworld测试程序吗?方便把工程发一下吗?CCS版本是多少?
,
Tao Chen:
hello.zip是CCS11.0自带的例程,而且之前我在ccs 6.0上出现过同样的问题
,
Shine:
我用CCS v10.3编译您的工程,可以编译。**** Clean-only build of configuration Debug for project hello ****
"C:\\ti\\ccs1030\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O DEL /F "hello.hex" "hello.out" DEL /F "hello.obj" DEL /F "hello.d" Could Not Find C:\Users\workspace_v10\hello\Debug\hello.hexCould Not Find C:\Users\workspace_v10\hello\Debug\hello.objCould Not Find C:\Users\workspace_v10\hello\Debug\hello.dFinished clean
**** Build Finished ****
**** Build of configuration Debug for project hello ****
"C:\\ti\\ccs1030\\ccs\\utils\\bin\\gmake" -k -j 4 all -O Building file: "../hello.c"Invoking: C6000 Compiler"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-c6000_8.3.8/bin/cl6x" –include_path="C:/Users/workspace_v10/hello" –include_path="C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-c6000_8.3.8/include" -g –diag_warning=225 –diag_wrap=off –display_error_number –preproc_with_compile –preproc_dependency="hello.d_raw" "../hello.c"Finished building: "../hello.c" Building target: "hello.out"Invoking: C6000 Linker"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-c6000_8.3.8/bin/cl6x" -g –diag_warning=225 –diag_wrap=off –display_error_number -z -m"hello.map" -i"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-c6000_8.3.8/lib" -i"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-c6000_8.3.8/include" –reread_libs –diag_wrap=off –display_error_number –warn_sections –xml_link_info="hello_linkInfo.xml" –rom_model -o "hello.out" "./hello.obj" -llibc.a <Linking>warning #10247-D: creating output section ".text" without a SECTIONS specificationwarning #10247-D: creating output section ".const" without a SECTIONS specificationwarning #10247-D: creating output section ".fardata" without a SECTIONS specificationwarning #10247-D: creating output section ".cinit" without a SECTIONS specificationwarning #10247-D: creating output section ".stack" without a SECTIONS specificationwarning #10247-D: creating output section ".sysmem" without a SECTIONS specificationwarning #10247-D: creating output section ".far" without a SECTIONS specificationwarning #10247-D: creating output section ".switch" without a SECTIONS specificationwarning #10247-D: creating output section ".cio" without a SECTIONS specificationwarning #10210-D: creating ".stack" section with default size of 0x400; use the -stack option to change the default sizewarning #10210-D: creating ".sysmem" section with default size of 0x400; use the -heap option to change the default sizeFinished building target: "hello.out"
**** Build Finished ****
,
Shine:
请看一下下面网上的方法是否有帮助。https://stackoverflow.com/questions/47484991/code-composer-studio-msp430-compile-error-recipe-for-target-failed
,
Tao Chen:
我使用了10.3,关闭卸载了我所有的杀毒软件,但还是出现了同样的问题。
,
Shine:
自己新建一个工程可以编译吗?
,
Tao Chen:
还是一样的问题 找不到gmake的路径
,
Shine:
请问您的电脑操作系统是什么?以前用CCS v6也不能新建工程编译吗?
,
Tao Chen:
WIN10 使用V6 V10.3 V11都是同样的问题
,
Shine:
请换一个没有装过ccs的电脑,下载offline版本的ccs,然后用adiministrator管理员的身份安装在默认路径C:\ti,安装时防火墙,杀毒软件都关掉。请按照下面网站上的安装步骤。https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_installation.html