Exec error: Launching failed [message #148827] |
Thu, 14 July 2005 15:10  |
Eclipse User |
|
|
|
Originally posted by: pbtranchinh.lycos.com
hi all!
I had sucessfully compiled and create my C++ application, but when I try
to step through the codes using debugger it says
Exe error: Launching failed.
i've looked through the internet and it says:
"This usually indicates that "make" is not on your path. Open a command
window and type "make". If you receive the equivalent of "command not
found" then you will need to ensure that the location of the make
executable is on your path. (If you have changed your build command to
something else, like "mingw32-make -f makefile" then this something else
needs to be on your path.)
Note that the managed build project will always use "make.exe". If
make.exe does not exist it will not work."
Sorry, but I have no idea what's saying? could some show me steps by steps
how to resolve this. Thank you. Oh, by the way, I am using window xp.
Eclipse version 3.1 and CDT version 3.0
|
|
|
|
|
Re: Exec error: Launching failed [message #148976 is a reply to message #148969] |
Fri, 15 July 2005 20:56   |
Eclipse User |
|
|
|
Originally posted by: plankton.softwitch.net
If you dont have any special purpose, You should use cygwin. Cygwin
emulates linux environment for windows. Cygwin contains many packages,
and you can choose them while install. In Devel category, There are GCC,
G++, GDB, MAKE, INDENT in it. You can also configurate tool chains
manually. anyway, using cygwin is much easier. After you install them,
you have to add directory paths into %path% in System Environment.
Finally, open command shell. (windows start -> run -> cmd[enter])
Type gdb, gcc, make, g++, indent in shell.
If they work, it's ready.
ps. You can also use my plugin to format c/c++ codes.
http://softwitch.net/wp/index.php/archives/2005/07/06/simple -indent-code-formatter-for-cdt/
steve wrote:
> I don't know. Could you show me how to check it and install it?
> I checked the gdb official website and they let me download it but all
> the files seem weird to me because I am a window user. I would really
> appreciated if you could help me. Thanks
>
|
|
|
|
|
|
Re: Exec error: Launching failed [message #149491 is a reply to message #149101] |
Sun, 17 July 2005 23:58  |
Eclipse User |
|
|
|
Originally posted by: pbtranchinh.lycos.com
I have installed the gdb.exe debugger.
In the debug dialog box, 'run,manage, configurations
Under the environments, and arguments tab I leave it blank
Under the debugger tab,
+ Debugger: Cygwin GDB Debugger
+ Check stop at main...
+ GDB Debugger : C:\gdb\bin\gdb.exe (location of gdb.exe)
+ GDB commnad : blank
Is it the right configuration? I hope these info give you some ideas.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.05475 seconds