本文介绍了带有SDCC插件的Eclipse-始终存在java.lang.NullPointerException错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用C/C ++安装了最新的Eclipse IDE,安装了SDCC,并将net.souurceforge.eclipsesdcc.1.0.0插件放入Eclipse插件&中.功能文件夹.当启动Eclipse时,开始使用带有SDCC工具链的MC51系列(SDCC)创建项目,单击完成",它总是会出现java.lang.NullPointerException错误.我在Windows Vista和Windows XP计算机上都做同样的事情,同样的问题.

I had installed latest Eclipse IDE with C/C++, installed SDCC and put the net.souurceforge.eclipsesdcc.1.0.0 plugin into the Eclipse Plugins & Features folder. When startup Eclipse, start to create a project using MC51 family (SDCC) with SDCC Tools Chain, click "Finish", it always come up with an error of java.lang.NullPointerException. I do the same thing on both Windows Vista and Windows XP machine, same problem.

我在设置上缺少什么吗?

Am I missing something on the setting?

非常感谢您.

马丁

推荐答案

以上解决方案非常有帮助-谢谢大家!为了澄清,我必须使用Alexander.P和Urgo的答案才能在Eclipse中成功创建MCS51家族(SDCC)项目.这就是我所做的...

The solutions above were very helpful - thanks, everyone! To clarify, I had to use the answers from both Alexander.P and Urgo to be able to successfully create an MCS51 family (SDCC) project in Eclipse. Here's what I did ...

  1. 为Windows安装了32位版本的Eclipse.

  1. Installed 32 bit version of Eclipse for Windows.

已安装eclipseSDCC插件.

Installed eclipseSDCC plugin.

将"os"文件夹从"Eclipse \ plugins \ net.sourceforge.eclipsesdcc.win32_1.0.0"复制到"Eclipse \ plugins \ net.sourceforge.eclipsesdcc_1.0.0".

Copied "os" folder from "Eclipse\plugins\net.sourceforge.eclipsesdcc.win32_1.0.0" to "Eclipse\plugins\net.sourceforge.eclipsesdcc_1.0.0".

设置项目以使用内部构建器:项目->属性-> C/C ++构建->构建器设置选项卡->构建器类型=内部构建器.

Set project to use internal builder: Project -> Properties -> C/C++ Build -> Builder Settings tab -> Builder type = Internal builder.

这篇关于带有SDCC插件的Eclipse-始终存在java.lang.NullPointerException错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 06:52