Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » NPE when attempting to compile C project
NPE when attempting to compile C project [message #1111076] Tue, 17 September 2013 19:00
Eclipse User
CDT newbie here. I use Eclipse for Java, but I need it for a C project.
I downloaded and tried to compile this project: http://symas.com/mdb/
It's straight C.

I installed CDT, MinGW (on Windows), selected New / Makefile project
with existing code. Selected the C/C++ perspective, selected the
project, and hit Project / Build project. I get this error:

!MESSAGE Internal error building project mdb configuration Default
!STACK 0
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.append(Path.java:261)
at
org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription.addOutputs(BuildDescription.java:1028)
at
org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription.calculateOutputs(BuildDescription.java:1139)
at
org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription.handleMultiSteps(BuildDescription.java:837)
at
org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription.initDescription(BuildDescription.java:752)
at
org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription.init(BuildDescription.java:814)
at
org.eclipse.cdt.managedbuilder.internal.buildmodel.DefaultBuildDescriptionFactory.createBuildDescription(DefaultBuildDescriptionFactory.java:45)
at
org.eclipse.cdt.managedbuilder.buildmodel.BuildDescriptionManager.createBuildDescription(BuildDescriptionManager.java:107)
at
org.eclipse.cdt.managedbuilder.core.InternalBuildRunner.invokeBuild(InternalBuildRunner.java:104)
at
org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:753)

etc...

I probably failed to set something in the project properties, but I
don't know what.

Can anyone help?
Previous Topic:Logs of cdt-tests-runner
Next Topic:Unable to launch executable generated by Eclipse - error 193
Goto Forum:
  


Current Time: Thu Oct 30 19:16:56 GMT 2014

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

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