[SOLVED]Failed to start program. Path or permissions wrong?
-
wrote on 23 Feb 2012, 09:18 last edited by
Hi,
i am having a problem while running the spectrum analyser example on my Windows machine.
the program is building properly without any errors..
but when i am running the program it shows me following error...
Failed to start program. Path or permissions wrong?
and the program is terminated...
i dont know wat to do with it...please help me with this...
thanx in advance..
-
wrote on 23 Feb 2012, 09:44 last edited by
Does the file exist in the place shown?
-
wrote on 23 Feb 2012, 09:47 last edited by
which place??
sorry i didn't get u... -
wrote on 23 Feb 2012, 12:40 last edited by
Maybe You've already executed an instance on your IDE environment. Or, You used a shadow make, the executable file will be linked under shadow directory
-
wrote on 23 Feb 2012, 13:26 last edited by
[quote author="foxyz" date="1330000801"]Maybe You've already executed an instance on your IDE environment. Or, You used a shadow make, the executable file will be linked under shadow directory[/quote]
from the time i started this its showing me error..
donno wat to do.. -
wrote on 23 Feb 2012, 13:48 last edited by
First thing: Please check whether the file you want to run was actually created. Go into your build directory and check that it is indeed where it should be.
-
wrote on 23 Feb 2012, 15:10 last edited by
So is creator trying to run that file? What does Projects->Run Settings say? What is it trying to execute?
-
wrote on 23 Feb 2012, 16:05 last edited by
it is trying to execute...
H:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\spectrum.exe
and the working directory is...
H:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug
-
wrote on 23 Feb 2012, 16:07 last edited by
So does H:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\spectrum.exe exist? Can you run it from the shell?
-
wrote on 23 Feb 2012, 16:09 last edited by
omg...
it is not there...
so wat shall i do then.. -
wrote on 23 Feb 2012, 16:14 last edited by
it is working now...
the exe file which i was searching was not there inH:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug
directory..
instead of that it was there in theH:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\debug
directory..
so i changed the run configuration and its working now....
thanx tobias for pointing out my mistake...
-
wrote on 23 Feb 2012, 18:40 last edited by
Be sure and edit your first post to add [Solved] to the title. Thanks!
1/13