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 10.4 -编译问题(没有生成目标的规则)

Guru**** 2587365 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1028062/ccs-10-4---build-problems-no-rule-to-make-target

您好!

我最近安装了最新版本的 Code Composer Studio (10.4)。 此后、"Build Project"会损坏。

我尝试 了一个新的空白项目和 之前使用版本10.2的项目。

只有在我 以前清理项目时才会编译。

gmake: *** No rule to make target '../main.c C:/ti/ccs1040/ccs/ccs_base/arm/include/msp.h', needed by 'main.o'.
gmake: Target 'all' not remade because of errors.

gmake: *** No rule to make target '../main.c ../version.h ../buffer.h ../wifi.h', needed by 'main.o'.
gmake: *** No rule to make target '../mqtt.h ../memory.h ../config.h', needed by 'main.o'.
gmake: *** No rule to make target '../MSP432_hardware.h C:/ti/ccs1040/ccs/ccs_base/arm/include/msp.h', needed by 'main.o'.
gmake: Target 'all' not remade because of errors.

新版本的另一个问题是、我无法 使用编译器 GNU v9.2.1 (Linaro)编译 MSP432P4011项目。

对于带有 main.c 的新空项目:

error: ./main.o uses VFP register arguments, Test.out does not	Test		 	C/C++ Problem
error: ./startup_msp432p4011_gcc.o uses VFP register arguments, Test.out does not	Test		 	C/C++ Problem
error: ./system_msp432p4011.o uses VFP register arguments, Test.out does not	Test		 	C/C++ Problem

解决方案是什么?

谢谢你。