Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse+SDCC - java.lang.NullPointerException error when creating new project
Eclipse+SDCC - java.lang.NullPointerException error when creating new project [message #1411251] Fri, 22 August 2014 20:06 Go to next message
Eclipse GuestFriend
Messages: 93
Registered: February 2013
Location: Vienna
Member
Hi,

Luna 4.4, latest CDT, SDCC 3.4.0, SDCC plugin (1.0.0) downloaded and copied to the eclipse directory. Everything 32 bit on a 64 bit Windows 7. Everything is cleanly installed.

When I try to create a new C project for an 8051 controller using File->New->Project...->C/C++->C Project->Project Type - Others - MCS51 family (SDCC)and choose the SDCC Tool Chain I get an error message saying that the project cannot be created due to an internal error. The details say: java.lang.NullPointerException...

A regular Visual C++ project can be created with no problems.

I've searched and seen people asking the same question over the years but couldn't find any working response...

I'd also appreciate recommendations for any other toolchain that will allow me to compile for 8051 controllers (specifically, TI's CC2540).

Thanks!

[Updated on: Fri, 22 August 2014 20:06]

Report message to a moderator

Re: Eclipse+SDCC - java.lang.NullPointerException error when creating new project [message #1422542 is a reply to message #1411251] Sat, 13 September 2014 01:38 Go to previous message
K W is currently offline K WFriend
Messages: 1
Registered: September 2014
Junior Member
I'm trying to accomplish the exact same thing (ie compile for TI CC2540), but have had no luck with the Eclipse SDCC plugin. Since sourceforge shows no new files on that plugin for 8.5 years, I think perhaps there might need to be some work done on it.

I've never tried to make an eclipse plug-in before, so I'm not sure where to start or even what the SDCC plugin is trying to accomplish. I attempted to import the source from the package that's available on sourceforge into an eclipse Plug-In Project, but I wasn't able to figure out how to resolve all of the dependencies.

What would be helpful is for someone to take a glance at the SDCC plugin and tell us what it's supposed to do and then perhaps point us at a reference for how to get started making plugins that does that.

I'm more than happy to work some on this, but it's difficult to know where to start.
Previous Topic:[SOLVED] Out-of-source auto-tools build
Next Topic:CDT does not instruct GDB to load shared library sources
Goto Forum:
  


Current Time: Sat Nov 09 04:48:54 GMT 2024

Powered by FUDForum. Page generated in 0.02955 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top