Andes Workshop
http://forum.andestech.com/

Errors occurred during the build
http://forum.andestech.com/viewtopic.php?f=23&t=715
Page 1 of 1

Author:  cindy [ Fri Jun 28, 2013 11:20 am ]
Post subject:  Errors occurred during the build

When building code, errors occurred.
The message shows "Errors occurred during the build".
Attachment:
error.gif
error.gif [ 22.51 KiB | Viewed 7657 times ]


In the .log file, it shows:

Code:
!ENTRY org.eclipse.core.resources 4 75 2013-xx-xx xx:xx:xx.xxx
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.eclipse.cdt.managedbuilder.core 4 75 2013-06-25 15:09:58.687
!MESSAGE Errors running builder 'CDT Builder' on project 'xxxxxxxxxxxx'.
!STACK 0
java.lang.NullPointerException
   at org.eclipse.cdt.managedbuilder.internal.core.Tool.getOutputExtension(Tool.java:2305)
   at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addRuleForSource(GnuMakefileGenerator.java:2314)
   at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addFragmentMakefileEntriesForSource(GnuMakefileGenerator.java:2068)
   at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addSources(GnuMakefileGenerator.java:1979)
   at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.populateFragmentMakefile(GnuMakefileGenerator.java:980)
   at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.regenerateMakefiles(GnuMakefileGenerator.java:900)
   at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:997)
   at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:864)
   at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:739)
   at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:501)
   at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:450)
   at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
   at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
   at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
   at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
   at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)
   at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:432)
   at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305)
   at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


The root cause is no corresponding toolchains.
After installing toolchains, compiling is successful.

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/