Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to compile?
How to compile? [message #146756] Sat, 11 June 2005 17:28 Go to next message
Eclipse UserFriend
Originally posted by: patrick_chang.mail.utexas.edu

I am a starter for C++. So, this is probably a silly question to most of
people here.

But, how should I compile a C++ source file on Eclipse. I download Cygwin
gcc and CDP plug in, and am able to create a C++ project and inport some
files. What is the next step to compile and run the project? I tried
"Build make target" and received message: "Error launching builder (make -k
all )
(Exec error:Launching failed)"

Does this has something to do with the GNU make. I am not femiler with the
GNU make. Some earlier message mentioned about creating a make file, but I
don't know how to do it.

Any help is deeply appreciated. Thank you.
Re: How to compile? [message #148877 is a reply to message #146756] Fri, 15 July 2005 02:14 Go to previous message
Eclipse UserFriend
Originally posted by: kaypro.ntels.com

My solution is this :

1. Add Cygwin Path to Window System Path.

2.
File > New > Managed Make C++ Project
A makefile for this project is created automatically and the Eclipse will
manage it.
You don't need to edit this makefile.

3.
Project > Properties
C/C++ Build -> Tools Settings Tab
GCC C++ Compiler Command edit box : g++ -> write the full path.
GCC C++ Linker Command edit box : g++ -> write the full path.
C/C++ Build -> Build command item.
Uncheck "Use default command" and write the full path.



"Patrick Chang" <patrick_chang@mail.utexas.edu> wrote in message
news:d8fl2h$icc$1@news.eclipse.org...
>I am a starter for C++. So, this is probably a silly question to most of
>people here.
>
> But, how should I compile a C++ source file on Eclipse. I download Cygwin
> gcc and CDP plug in, and am able to create a C++ project and inport some
> files. What is the next step to compile and run the project? I tried
> "Build make target" and received message: "Error launching builder
> (make -k all )
> (Exec error:Launching failed)"
>
> Does this has something to do with the GNU make. I am not femiler with
> the GNU make. Some earlier message mentioned about creating a make file,
> but I don't know how to do it.
>
> Any help is deeply appreciated. Thank you.
>
>
>
Previous Topic:Disabling Binary Parsers
Next Topic:Create my toolchain
Goto Forum:
  


Current Time: Mon Jun 02 21:51:37 EDT 2025

Powered by FUDForum. Page generated in 0.24207 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top