Christian Leutloff
|
Launching binaries of converted QNX C++ project fails
|
Christian Leutloff
10/07/2008 5:23 AM
post14560
|
Launching binaries of converted QNX C++ project fails
Using the same set of .project, .cproject and .cdtproject does work with this version of the IDE 4.5:
!SESSION 2008-10-07 10:55:46.152 -----------------------------------------------
eclipse.buildId=I20080717
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86
whereas the newer build fails:
!SESSION 2008-10-07 10:44:47.741 -----------------------------------------------
eclipse.buildId=I20080915
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86 -data D:\workspace-tau
I've tried to ways to start the binary. The first try is to start it from the context menu of the Binary in the C++
project view. This lead to this error message in the .log:
!ENTRY com.qnx.tools.ide.qde.debug.core 4 102 2008-10-07 10:46:51.130
!MESSAGE C Project not specified
!SUBENTRY 1 com.qnx.tools.ide.qde.debug.core 4 102 2008-10-07 10:46:51.130
!MESSAGE
Using the Run dialog I get these log messages:
!ENTRY org.eclipse.core.jobs 4 2 2008-10-07 10:48:13.205
!MESSAGE An internal error occurred during: "Launching binname targetname".
!STACK 0
java.lang.NullPointerException
at org.eclipse.cdt.launch.AbstractCLaunchDelegate.setBuildConfiguration(AbstractCLaunchDelegate.java:565)
at org.eclipse.cdt.launch.AbstractCLaunchDelegate.buildForLaunch(AbstractCLaunchDelegate.java:541)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:732)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:608)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:899)
at org.eclipse.debug.internal.ui.DebugUIPlugin$7.run(DebugUIPlugin.java:1102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I'll attach the project files as a ZIP, because I'm not able to attach more than a single file. (The C++ program itself
does only call crypt() and print the result to cout.)
|
|
|