View topic - Not working simple helloworld program with qnx momentics 6.3

Page 1 of 1

Not working simple helloworld program with qnx momentics 6.3

PostPosted: Tue Aug 07, 2007 4:15 pm
by meiko
I'm using qnx momentics for a proyect and I wanted to change somethings in the code a friend started to write, but when I tried to run it I got an error. As I had never used the qnx momentics I tried to do a simple helloworld program to see if it worked, but it gave me the same error when i try to run it. The compilation is ok, but I can't run it.
> The error is the following:
>
>
> Error starting process
> java.io.IOException: Exec error:Launching failed
> org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:230)
> org.eclipse.cdt.utils.spawner.Spawner.<init>(Spawner.java:57)
> org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:85)
> org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.exec(LocalRunLaunchDelegate.java:159)
> org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launch(LocalRunLaunchDelegate.java:125)
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:150)
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:792)
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> Exec error:Launching failed
> java.io.IOException: Exec error:Launching failed
> org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:230)
> org.eclipse.cdt.utils.spawner.Spawner.<init>(Spawner.java:57)
> org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:85)
> org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.exec(LocalRunLaunchDelegate.java:159)
> org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launch(LocalRunLaunchDelegate.java:125)
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:150)
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:792)
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
>
>
> I just don't know much about this so if anyone could help me it would be great.
Thank u

RE: Not working simple helloworld program with qnx momentics

PostPosted: Wed Aug 08, 2007 10:39 am
by micro
The problem is not the code or the program itself, but the execution of the program.
If your momentics is selfhosted, so IDE and OS on the same host, try running the programm in a simple shell
If your momentics is hosted on another pc, you will have to create a Target first, so the IDE knows where to start your app

Also, what kind of project did you create? Make-Project? QNX-Project? PhAB?
For a simple Hello World App for the console a Standard C Project would suffice

solve the problem

PostPosted: Mon Aug 11, 2008 10:43 am
by karthik
have

RE: solve the problem

PostPosted: Mon Aug 11, 2008 11:07 am
by karthik
have you got solution for this problem ...

please let me know what to do

PostPosted: Thu Aug 27, 2009 6:19 am
by avanoah
Yes exactly i am facing this problem. How can get rid from it??