[SOLVED]Failed to start program. Path or permissions wrong?
-
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..
-
Does the file exist in the place shown?
-
which place??
sorry i didn't get u... -
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 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.. -
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.
-
yes my file is which i want to run is created, its there in build directory...
-
So is creator trying to run that file? What does Projects->Run Settings say? What is it trying to execute?
-
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
-
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?
-
omg...
it is not there...
so wat shall i do then.. -
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...
-
Be sure and edit your first post to add [Solved] to the title. Thanks!