TI中文支持网
TI专业的中文技术问题搜集分享网站

SimpliciTI V1.1.1 在 CCS5.4下编译的问题

我使用CCS5.4准备编译SimpliciTI-CCS-1.1.1中的CCTV30EM/Simple-Peer-to-Peer例程。

打开看到Properties-General-Compiler version 显示的是 TI3.2.1, Effective complier version 显示的是TI4.1.5

直接build可以通过,仅显示一个警告:This project was created using a version of compiler that is not currently installed: 3.2.1 [MSP430]. Another version of the compiler will be used during build: 4.1.5. Please install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties. 

但是只要我选择Compiler version为 TI 4.1.5,就再也改不回来了,而且编译直接出错。 Errors occurred during the build. Errors running builder 'CDT Builder' on project 'Project'. java.lang.NullPointerException 请问下这是什么情况?如何解决?

Ling Zhu2:

 你好,请尝试把工程所在的 workspace 文件夹底下的 .metadata 文件夹删除,再重新编译。

Bin Peng:

回复 Ling Zhu2:

也不行,情况一样。唯一的区别是要重新Import project。

Ling Zhu2:

回复 Bin Peng:

 把工程文件夹里的Debug Release目录都删掉,删除之后,把工程clean一下再build呢?

如果还是不行,有一个解决办法就是新建一个工程,把原工程的源文件添加进去就OK了。

Bin Peng:

回复 Ling Zhu2:

我做了如下工作:

1、卸载SimpliciTI整个软件包

2、将E:\workspace下面所有文件和文件夹全部删除

3、重新安装SimpliciTI软件包到D:\Texas Instruments

4、打开CCSv5.4,指定工作区路径到E:\workspace

5、Import project 路径为:D:\Texas Instruments\SimpliciTI-CCS-1.1.1\Projects\Examples\CC430EM\Simple_Peer_to_Peer

6、修改 compiler version 为TI V4.1.5

7、build projectt

然后就出现上述错误

并没有出现Debug或Release目录,只出现了\CC430F6137-LinkTo目录。

Bin Peng:

回复 Bin Peng:

现在还发现一个问题

不知道是不是这个引起的。但是这个又该怎么处理呢? 

Bin Peng:

回复 Bin Peng:

我用了CC4305137-LinkTo的模式,编译就正常,除了有如下的提示外。

This project was created using a version of compiler that is not currently installed: 3.2.1 [MSP430]. Another version of the compiler will be used during build: 4.1.5. Please install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties.

此图示正常编译过的CC430F5137-LinkTo的Active Configure

此图是CC430F6137-LinkTo Active的工程编译,两者之间没有任何代码不同,工程设置也完全相同。唯一的区别是Compiler Version. 正常的是TI V3.2.1,错误的是TI V4.1.5

请教一下该怎么弄。

Bin Peng:

回复 Bin Peng:

我做了许多测试,几乎可以肯定是Complier Version 4.1.5的Bug,至少是与CCS5.4配合的Bug,请确认。

Lina Lian:

回复 Bin Peng:

Bin Peng,

你那个 gmake:*** no rule to make ……这个问题我见过,在最新的CCS及compiler版本上,只要把杀毒软件和防火墙关了,就完全没有问题了。O(∩_∩)O~

可能是最新版本中,某些后台文件和杀毒软件冲突,我装的是360, 关了它就好了。你试试看看对你可以不可以。O(∩_∩)O~

赞(0)
未经允许不得转载:TI中文支持网 » SimpliciTI V1.1.1 在 CCS5.4下编译的问题
分享到: 更多 (0)