473,383 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Installing eclipse for c/c++

ok, this might be a very stupid question, but I have googled, and I'm still stuck with it. I'm working on vista btw.

I downloaded eclipse for C/C++, created a new project, and entered a simple hello world program. Then (like in the java version of eclipse) I clicked the green play button (run).

An error message popped up..Launch failed no binairies...I figured I might not have a compiler installed, so i went to download a file "cdt-master-4.03.zip", and copied all files in it to my eclipse installation folder and ok-ed on overwriting existing files. Still no succes...I went to search some more...I found out something called 'MinGw" was a compiler I needed..So i installed it, and inside eclips in the preferences I set my compiler path to

**installation folder of wingw**/bin/

still no succes.
Any ideas?

I would appreciate if someone posted a step by step guide on how to do this, Because I have tried a lot of things, and I think I might have done something wrong..like overwriting crucial files..Maybe it's better to remove eclipse c/c++ and give it a fresh start.

Thanx
Apr 13 '08 #1
4 2055
oler1s
671 Expert 512MB
Just install Visual C++ express. It's your fastest path to getting to C++ right now. If you want to manually setup an IDE and a compiler, you need to put the compiler somewhere, then inform the IDE where the binaries are, where the includes are, and where the libraries are. You may also need to tell it the exact compiler executable or the like.

This is all pretty easy if you are an experienced C++ programmer, but it's a bit confusing for beginner.
Apr 14 '08 #2
I could do that, but is it suitable too for normal C, not C++?

I'm an experienced programmer in java, but not in C, so maybe if you could give me a bit more info on where to get the compiler, and where in eclipse I schould put the includes I can get it to work ;)
Apr 14 '08 #3
weaknessforcats
9,208 Expert Mod 8TB
So exactly how are you compiling your program?
Apr 14 '08 #4
Banfa
9,065 Expert Mod 8TB
So exactly how are you compiling your program?
Presumably they aren't yet :D

@Gangreen MSVC will happily compile C programs the Microsoft Compiler that comes with it compiles both C and C++ source, normally based on the file extension although there are compiler switches to force it one way or the other.

However if you really want to go ahead with trying to install Eclipse (I have to say I hated it) and MingW then try looking here or try Google which is how I found that.
Apr 14 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: gregsands | last post by:
Hi Im trying to install PHP 5.05 on Windows XP running Apache 2.0.54 Apache is running fine and ive made all the changes to the pnp.ini file and Apache config file, restarted Apache but all I get...
16
by: Amir Michail | last post by:
Hi, It seems to me that measuring productivity in a programming language must take into account available tools and libraries. Eclipse for example provides such an amazing IDE for java that it...
0
by: Husey | last post by:
Hi, I am trying to create a very simple EJB project which requires me to create a new jboss configuration in Eclipse. I keep getting the error message "An error has occurred. See error log for...
7
by: Alan Silver | last post by:
Hello, I have a Windows 2003 Server machine, running the latest IIS. I have been asked to add a Wordpress blog to a site, but this is only available as a PHP. Are there any issues with...
4
by: ramadeviirrigireddy | last post by:
Hi Can anyone tell me the exact site to install eclipse,tomcat and plug-ins(including versions) need for web application development . i saw so many sites and i got confused so asking you people...
16
by: Ananthu | last post by:
Hi I dont know how to connect mysql with ECLIPSE in RCP application. Please send me the sample code of connecting mysql sever with ECLIPSE in RCP application. Coding Part: RCP Application...
15
by: Ramon F Herrera | last post by:
I have been using Eclipse for a few weeks, and IMO there is no better IDE. Since my experience has been so productive -and hence satisfactory- in Java, I would like to use the same IDE...
7
by: R.A.M. | last post by:
Hello, I have started learning PHP5. I would like to programme in Windows XP and Fedora Linux. I have found two IDEs for PHP (if I understood correctly): - Eclipse PDT, - EasyEclipse for PHP....
3
by: ravit | last post by:
Hello All, I am trying to execute an application that is developed using eclipse libraries. Jface, SWT , etc. While I execute the application , i have received an exception which I am unable...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.