Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] CDT does not recognize binary files

Have you enabled AIX binary parser in your project's properties ? 
-----------------------------------
With best regards, Oleg Krasilnikov
Software designer, Eclipse team.


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Ivan Popivanov
Sent: Tuesday, June 07, 2005 5:41 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] CDT does not recognize binary files

Any suggestions as how to investigate?

Thanks!

Ivan Popivanov wrote:

> Hi,
>
> I have been trying to run CDT on AIX. When I start eclipse, I get the 
> error message which I pasted at the end of this note, but Eclipse 
> starts. Then I created a simple C++ project, compiled and tried to 
> run. When I try to run, I open the dialog box to browse for the 
> executable, go to the Debug directory and try to select the 
> executable, for all files however I have the warning saying that I 
> need to pick a binary file. I tried to type the file path, but the 
> "Run" button remained grayed. The executable exists and I can run it 
> from the command line. Any suggestions what's wrong?
>
> My second question is how to debug a problem like that :-) ... Thanks!
>
> Ivan
>
>
------------------------------------------------------------------------
------------------------------------- 
>
> java.lang.UnsatisfiedLinkError: Can't find library spawner  
> (libspawner.a or .so) in sun.boot.library.path or
> java.library.path
> sun.boot.library.path=/usr/java14/jre/bin
>
java.library.path=/usr/java14/jre/bin:/usr/java14/jre/bin/classic:/usr/j
ava14/jre/bin:/usr/lib 
>
>        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1914)
>        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>        at java.lang.System.loadLibrary(System.java:905)
>        at 
>
org.eclipse.cdt.utils.spawner.ProcessFactory.<init>(ProcessFactory.java:
35) 
>
>        at 
>
org.eclipse.cdt.utils.spawner.ProcessFactory.getFactory(ProcessFactory.j
ava:47) 
>
>        at 
>
org.eclipse.cdt.utils.spawner.EnvironmentReader.getEnvVars(EnvironmentRe
ader.java:49) 
>
>        at 
>
org.eclipse.cdt.core.CommandLauncher.getEnvironment(CommandLauncher.java
:67) 
>
>        at 
>
org.eclipse.cdt.make.internal.core.scannerconfig.DefaultExternalScannerI
nfoProvider.setEnvironment(DefaultExternalScannerInfoProvider.java:228) 
>
>        at 
>
org.eclipse.cdt.make.internal.core.scannerconfig.DefaultExternalScannerI
nfoProvider.invokeProvider(DefaultExternalScannerInfoProvider.java:111) 
>
>        at 
>
org.eclipse.cdt.managedbuilder.internal.scannerconfig.ManagedBuildCPathE
ntryContainer$1.run(ManagedBuildCPathEntryContainer.java:184) 
>
>        at 
>
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java(Compiled 
> Code))
>        at org.eclipse.core.runtime.Platform.run(Platform.java:747)
>        at 
>
org.eclipse.cdt.managedbuilder.internal.scannerconfig.ManagedBuildCPathE
ntryContainer.calculateEntriesDynamically(ManagedBuildCPathEntryContaine
r.java:193) 
>
>        at 
>
org.eclipse.cdt.managedbuilder.internal.scannerconfig.ManagedBuildCPathE
ntryContainer.getPathEntries(ManagedBuildCPathEntryContainer.java:218) 
>
>        at 
>
org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntr
ies(PathEntryManager.java:175) 
>
>        at 
>
org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntr
ies(PathEntryManager.java:159) 
>
>        at 
>
org.eclipse.cdt.core.model.CoreModel.getResolvedPathEntries(CoreModel.ja
va:724) 
>
>        at 
>
org.eclipse.cdt.internal.core.model.CProject.getResolvedPathEntries(CPro
ject.java:400) 
>
>        at 
>
org.eclipse.cdt.internal.core.model.CProject.computeSourceRoots(CProject
.java:595) 
>
>        at 
>
org.eclipse.cdt.internal.core.model.CProject.getAllSourceRoots(CProject.
java:502) 
>
>        at 
>
org.eclipse.cdt.internal.core.model.CModelManager.create(CModelManager.j
ava:276) 
>
>        at
org.eclipse.cdt.core.model.CoreModel.create(CoreModel.java:69)
>        at 
>
org.eclipse.cdt.internal.ui.editor.CDocumentProvider.createTranslationUn
it(CDocumentProvider.java:770) 
>
>        at 
>
org.eclipse.cdt.internal.ui.editor.CDocumentProvider.createFileInfo(CDoc
umentProvider.java:799) 
>
>        at 
>
org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDoc
umentProvider.java:462) 
>
>        at 
>
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEdit
or.java:2869) 
>
>        at 
>
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.j
ava:173) 
>
>        at 
>
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(Abstrac
tDecoratedTextEditor.java:1073) 
>
>        at 
> org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:287)
>        at 
>
org.eclipse.cdt.internal.ui.editor.CEditor.doSetInput(CEditor.java:221)
>        at 
>
org.eclipse.ui.texteditor.AbstractTextEditor$15.run(AbstractTextEditor.j
ava:2233) 
>
>        at 
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext
.java:303) 
>
>        at 
> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
>        at 
>
org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:
588) 
>
>        at 
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
>        at 
>
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:58
5) 
>
>        at 
> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1653)
>        at 
>
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEd
itor.java:2247) 
>
>        at 
>
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.jav
a:2265) 
>
>        at 
>
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:719)
>        at 
>
org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.j
ava:788) 
>
>        at 
>
org.eclipse.ui.internal.EditorManager.access$12(EditorManager.java:774)
>        at 
> org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:959)
>        at 
>
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java:616) 
>
>        at org.eclipse.core.runtime.Platform.run(Platform.java:747)
>        at 
>
org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.ja
va:933) 
>
>        at 
> org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:926)
>        at 
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
>        at 
>
org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:9
22) 
>
>        at 
>
org.eclipse.ui.internal.EditorManager.restoreEditorState(EditorManager.j
ava:1498) 
>
>        at 
>
org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:88
5) 
>
>        at 
>
org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:24
70) 
>
>        at 
>
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.jav
a:1372) 
>
>        at 
> org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1224)
>        at 
> org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1185)
>        at
org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1096)
>        at 
>
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java:616) 
>
>        at org.eclipse.core.runtime.Platform.run(Platform.java:747)
>        at 
> org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1029)
>        at 
>
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfig
urer.java:167) 
>
>        at 
>
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor
.java:652) 
>
>        at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
>        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
>        at 
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:2
54) 
>
>        at 
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
>        at 
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
>        at 
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiva
tor.java:335) 
>
>        at 
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
273) 
>
>        at 
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
129) 
>
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:79) 
>
>        at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:41) 
>
>        at java.lang.reflect.Method.invoke(Method.java:386)
>        at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
>        at org.eclipse.core.launcher.Main.run(Main.java:704)
>        at org.eclipse.core.launcher.Main.main(Main.java:688)
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>
>


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top