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

Not working simple helloworld program with qnx momentics 6.3

Discussion about the general applications that run on QNX6

Not working simple helloworld program with qnx momentics 6.3

Postby meiko » Tue Aug 07, 2007 4:15 pm

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
meiko
New Member
 
Posts: 1
Joined: Mon Jul 30, 2007 10:59 am

RE: Not working simple helloworld program with qnx momentics

Postby micro » Wed Aug 08, 2007 10:39 am

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
micro
Senior Member
 
Posts: 458
Joined: Thu Jul 22, 2004 8:41 pm

solve the problem

Postby karthik » Mon Aug 11, 2008 10:43 am

have
Last edited by karthik on Mon Aug 11, 2008 11:08 am, edited 2 times in total.
karthik
New Member
 
Posts: 3
Joined: Tue Apr 26, 2005 5:06 am

RE: solve the problem

Postby karthik » Mon Aug 11, 2008 11:07 am

have you got solution for this problem ...

please let me know what to do
karthik
New Member
 
Posts: 3
Joined: Tue Apr 26, 2005 5:06 am

Postby avanoah » Thu Aug 27, 2009 6:19 am

Yes exactly i am facing this problem. How can get rid from it??
avanoah
New Member
 
Posts: 1
Joined: Thu Aug 27, 2009 6:12 am


Return to QNX6 - Applications

Who is online

Users browsing this forum: No registered users and 1 guest