debug and run c++ code [message #97968] |
Mon, 29 March 2004 00:25  |
Eclipse User |
|
|
|
Originally posted by: ra2833.hotmail.com
Hello,
I get the error
Build error
(Exec error: Launching failed)
when i attempt to dubug as >> 1 C local application
------------------------------------------------------------ -------
I get the error
Launch failed no binaries
when i attempt to debug as >> 1 C local application
------------------------------------------------------------ -------
i read the "FAQ Building C/C++ Projects" number 5, so i went ahead and
installed cygwin, becuause when i type make, i got the message that says
or equivalent "command not found".
but now what, i have no idea what cygwin is, (okay i hear it is a UNIX
shell). so, how do i put the make command on my windows xp path, or
better yet can some tell me all the details that i need to do, to my
system in refrence to eclipse, and cygwin in order to be able to edit,
comple and run C/C++ code?
please keep in mind that i have no clue of what i am doing when it comes
to eclipse and cygwin as far as configurations. it would be so so so
helpful if someone writes stuff for me as if i was a biggner in anything
to do with computers.
thank you ever so much to whom ever or group of people whom will help me
in advance.
i am using eclipse 3.0 with cdt 1.2.1
Hector
|
|
|
Re: debug and run c++ code [message #97999 is a reply to message #97968] |
Mon, 29 March 2004 03:58  |
Eclipse User |
|
|
|
Hector wrote:
> Hello,
>
> I get the error
>
> Build error
> (Exec error: Launching failed)
>
> when i attempt to dubug as >> 1 C local application
> ------------------------------------------------------------ -------
> I get the error
>
> Launch failed no binaries
>
> when i attempt to debug as >> 1 C local application
> ------------------------------------------------------------ -------
>
> i read the "FAQ Building C/C++ Projects" number 5, so i went ahead and
> installed cygwin, becuause when i type make, i got the message that says
> or equivalent "command not found".
>
> but now what, i have no idea what cygwin is, (okay i hear it is a UNIX
> shell). so, how do i put the make command on my windows xp path, or
> better yet can some tell me all the details that i need to do, to my
> system in refrence to eclipse, and cygwin in order to be able to edit,
> comple and run C/C++ code?
First of all, you have cygwin installed? If yes, did you select the
proper build tools within the setup of cygwin. You'll need gcc and make.
Afterwards, try open cygwin bash from the start-menu entry. Type in the
shell: 'make --version' and 'gcc --version'. The tools should show their
version info.
Next, try open a normal Windows command prompt (go start menu, "Run...",
type 'cmd' in the textfield). In their, type the same as above. If the
version informations are shown, it sould be running in CDT now. But! You
need to restart Eclipse (and actually any console, program, window that
needs information from the environment) everytime you change your
environment.
On error, change your Windows PATH settings by adding 'C:\cygwin\bin' in
front of the other PATH entries. (I assume cygwin is installed under
C:\cygwin as per default). After changing this, try the last stept above
again.
> please keep in mind that i have no clue of what i am doing when it comes
> to eclipse and cygwin as far as configurations. it would be so so so
> helpful if someone writes stuff for me as if i was a biggner in anything
> to do with computers.
>
> thank you ever so much to whom ever or group of people whom will help me
> in advance.
>
> i am using eclipse 3.0 with cdt 1.2.1
Woow, this configuration is totally wrong at all. (*sigh* people are
still not able to read the informations provided at the CDT download
page *sigh*).
CDT 1.2.1 is only for Eclipse R2.1.x. CDT 2.0M7 is only for Eclipse
3.0M7. When using Eclipse 3.0 M8, for probably this week, give CDT-team
some time to catch up, or use one of the daily builds but be prepared
that they are not well tested.
|
|
|
Powered by
FUDForum. Page generated in 0.03677 seconds