Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » problem with make targets
problem with make targets [message #87391] Tue, 25 November 2003 22:05 Go to next message
Andrew McKinlay is currently offline Andrew McKinlayFriend
Messages: 7
Registered: July 2009
Junior Member
I set up an additional Make Target (to compile one .o)
When I try to build it I get:

Target Build Error

Error Building Target

Reason:
Internal Error

..log shows:

!ENTRY org.eclipse.cdt.make.ui 4 0 Nov 25, 2003 15:44:18.359
!MESSAGE Invalid thread access
!STACK 0
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:2330)
at org.eclipse.swt.SWT.error(SWT.java:2260)
at org.eclipse.swt.widgets.Widget.error(Widget.java:385)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:315)
at org.eclipse.swt.widgets.Control.isEnabled(Control.java:1108)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:1381)
at
org.eclipse.ui.internal.EditorManager.runProgressMonitorOper ation(EditorManager.java:966)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager .java:1095)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage .java:2353)
at
org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPa ge.java:2365)
at
org.eclipse.cdt.make.ui.TargetBuild.saveAllResources(TargetB uild.java:63)
at org.eclipse.cdt.make.ui.TargetBuild$2.run(TargetBuild.java:8 8)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1595)
at org.eclipse.cdt.make.ui.TargetBuild$1.run(TargetBuild.java:9 5)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:101)

Any suggestions?

My setup:

OS: Windows XP
Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
Eclipse Path: c:/eclipse
CDT Version: 1.2.0 (installed from update site)
MinGW Version: 3.1.0 (GDB 5.2.1)
MinGW Path: c:/mingw310

andrew

PS. The documentation is classic :-)
"In the Build Target box, type a build target."
Re: problem with make targets [message #87435 is a reply to message #87391] Wed, 26 November 2003 14:29 Go to previous messageGo to next message
David Inglis is currently offline David InglisFriend
Messages: 45
Registered: July 2009
Member
Please submit a bug for this here
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=CDT

Andrew McKinlay wrote:
> I set up an additional Make Target (to compile one .o)
> When I try to build it I get:
>
> Target Build Error
>
> Error Building Target
>
> Reason:
> Internal Error
>
> .log shows:
>
> !ENTRY org.eclipse.cdt.make.ui 4 0 Nov 25, 2003 15:44:18.359
> !MESSAGE Invalid thread access
> !STACK 0
> org.eclipse.swt.SWTException: Invalid thread access
> at org.eclipse.swt.SWT.error(SWT.java:2330)
> at org.eclipse.swt.SWT.error(SWT.java:2260)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:385)
> at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:315)
> at org.eclipse.swt.widgets.Control.isEnabled(Control.java:1108)
> at
> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:1381)
> at
> org.eclipse.ui.internal.EditorManager.runProgressMonitorOper ation(EditorManager.java:966)
>
> at
> org.eclipse.ui.internal.EditorManager.savePart(EditorManager .java:1095)
> at
> org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage .java:2353)
> at
> org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPa ge.java:2365)
> at
> org.eclipse.cdt.make.ui.TargetBuild.saveAllResources(TargetB uild.java:63)
> at org.eclipse.cdt.make.ui.TargetBuild$2.run(TargetBuild.java:8 8)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1595)
> at org.eclipse.cdt.make.ui.TargetBuild$1.run(TargetBuild.java:9 5)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:101)
>
>
> Any suggestions?
>
> My setup:
>
> OS: Windows XP
> Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
> Eclipse Path: c:/eclipse
> CDT Version: 1.2.0 (installed from update site)
> MinGW Version: 3.1.0 (GDB 5.2.1)
> MinGW Path: c:/mingw310
>
> andrew
>
> PS. The documentation is classic :-)
> "In the Build Target box, type a build target."
>
Re: problem with make targets [message #87484 is a reply to message #87435] Wed, 26 November 2003 23:39 Go to previous message
Andrew McKinlay is currently offline Andrew McKinlayFriend
Messages: 7
Registered: July 2009
Junior Member
Ok, I submitted a bug.

BTW The workaround is to save before trying to build a Make Target

David Inglis wrote:
> Please submit a bug for this here
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=CDT
>
> Andrew McKinlay wrote:
>
>> I set up an additional Make Target (to compile one .o)
>> When I try to build it I get:
>>
>> Target Build Error
>>
>> Error Building Target
>>
>> Reason:
>> Internal Error
>>
>> .log shows:
>>
>> !ENTRY org.eclipse.cdt.make.ui 4 0 Nov 25, 2003 15:44:18.359
>> !MESSAGE Invalid thread access
>> !STACK 0
>> org.eclipse.swt.SWTException: Invalid thread access
>> at org.eclipse.swt.SWT.error(SWT.java:2330)
>> at org.eclipse.swt.SWT.error(SWT.java:2260)
>> at org.eclipse.swt.widgets.Widget.error(Widget.java:385)
>> at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:315)
>> at org.eclipse.swt.widgets.Control.isEnabled(Control.java:1108)
>> at
>> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:1381)
>> at
>> org.eclipse.ui.internal.EditorManager.runProgressMonitorOper ation(EditorManager.java:966)
>>
>> at
>> org.eclipse.ui.internal.EditorManager.savePart(EditorManager .java:1095)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage .java:2353)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPa ge.java:2365)
>> at
>> org.eclipse.cdt.make.ui.TargetBuild.saveAllResources(TargetB uild.java:63)
>> at org.eclipse.cdt.make.ui.TargetBuild$2.run(TargetBuild.java:8 8)
>> at
>> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1595)
>> at org.eclipse.cdt.make.ui.TargetBuild$1.run(TargetBuild.java:9 5)
>> at
>> org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:101)
>>
>>
>> Any suggestions?
>>
>> My setup:
>>
>> OS: Windows XP
>> Eclipse Version: 2.1.2 (updated from 2.1.1 via update site)
>> Eclipse Path: c:/eclipse
>> CDT Version: 1.2.0 (installed from update site)
>> MinGW Version: 3.1.0 (GDB 5.2.1)
>> MinGW Path: c:/mingw310
>>
>> andrew
>>
>> PS. The documentation is classic :-)
>> "In the Build Target box, type a build target."
>>
>
Previous Topic:writing for other platforms
Next Topic:Support for Linux Motif on CDT 2.0
Goto Forum:
  


Current Time: Mon Dec 30 14:37:42 GMT 2024

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

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

Back to the top