473,791 Members | 3,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do you setup Eclipse to work with C++?

7 New Member
Hello,

I am trying to setup Eclipse once again to work for compiling C++. I have followed several guides and still have had no luck. I get an error of launch failed no binaries when I try to compile code.

I also have 2 warnings that are showing up which are as follows:

Error launching external scanner info generator (g++ -E -P -v -dD C:/Users/Jared/workspace/.metadata/.plugins/org.eclipse.cdt .make.core/specs.cpp)

Error launching external scanner info generator (gcc -E -P -v -dD C:/Users/Jared/workspace/.metadata/.plugins/org.eclipse.cdt .make.core/specs.c)

I miss using this program and hopefully someone can help me in here. :) I feel like I have tried everything, but there must be something I missed.

Thank you,
Jared
Aug 24 '07 #1
6 12316
epots9
1,351 Recognized Expert Top Contributor
did u download and install Eclipse IDE for C/C++ Developers?
Aug 24 '07 #2
JosAH
11,448 Recognized Expert MVP
did u download and install Eclipse IDE for C/C++ Developers?
I guess s/he did otherwise Eclipse wouldn't be trying to launch a GNU compiler.
My guess is that the OP didn't install a version of the GNU compiler suite. MinGW
is a valid option to install.

kind regards,

Jos
Aug 24 '07 #3
MaStA
7 New Member
I've tried everything you all just said. Yes I'm using the IDE for C++. I installed MinGW. I tried changing some options within eclipse, but had no luck.

I think the program is looking for something and isn't finding it. Maybe an environment that needs to be added? I'm not sure, but for a clean install of the eclipse program and for it to function what must be done from scratch? If you install MinGW do you need to do anything within eclipse for it to know that is what it's supposed to be using? Would using Vista x64 have anything to do with the problem? I wouldn't think so, but I figured I would add that. I think I was having the same issues with Vista x86 anyhow.

Thanks,
Jared
Aug 24 '07 #4
Nepomuk
3,112 Recognized Expert Specialist
Possibly following theese Instructions might help, even if you're using a GNU compiler. I guess, it's worth trying...
Aug 25 '07 #5
MaStA
7 New Member
Possibly following theese Instructions might help, even if you're using a GNU compiler. I guess, it's worth trying...
I will give another one of those links showing how to set it up a shot. Found one with pictures and all so it should...be fairly simple.

Thanks!

Jared
Aug 25 '07 #6
MaStA
7 New Member
Well I still get the no binaries error. I have now found it is because there is no binary folder under the project I create. I have gone through the troubleshooting on this one site for that problem, but still cannot get one up.

I downloaded the Eclipse IDE for C/C++ Developers and extracted that. It doesn't say you need to have Eclipse Classic first, but do you? It seems you should be able to just download the IDE for C++ and extract that and it work fine. I have done all of the following as well:

Installed the CDT

Installed (not just downloaded) MinGW

Installed (not just downloaded) MSYS

Set up your path environment variable

It looks like the two warnings I was getting are now gone though :)

Thanks,
Jared
Aug 25 '07 #7

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

Similar topics

0
1900
by: Sam Smith | last post by:
I've just downloaded and installed Eclipse and the C++ plugin (CDT). The editor looks really good! However, I do not know how I should integrate my MinGw g++ compiler with Eclipse. I hope that someone on this list has already setup this environment and is also willing to share the knowledge! Thanks in advance! Sam
4
2210
by: junee | last post by:
I tried to develop php on eclipse installed are prerequisites but it didn't work help me, if any one experienced with it succeeded. it is 0.7 build help plz
14
9336
by: Camellia | last post by:
Hi all, Can anyone please tell me how to pass an EOF signal in Eclipse? I've googled it and searched the CDT manual but still couldn't find it. I've tried ctrl+c and ctrl+d, they don't work. Any suggestions are appreciated:)
16
4016
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 is no longer obvious to me that one would be much more productive in python for medium sized projects. Sure, all that Java static typing can be painful, but Eclipse takes
10
2428
by: See_Red_Run | last post by:
Hi, I am trying to figure out how to get started with PHP/MySQL. Everything I've read so far says to start with PHP first. I was expecting something like Visual Basic Express or some other type of free IDE. So I discovered that I needed to download a virtual server, so I downloaded OmniSecure and followed the set up instructions as far as I could figure them out. So here is where I'm stuck. 1) While trying to set up and configure...
15
3695
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 environment for C++ programming, the targets would be both Unix and Windows. If there is any Eclipse/C++ developer out there, could you share your recommendations, tips, opinions, etc.
7
4509
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. What is the difference? Which one to choose? I would like to debug my applications. Please help. Thanks in advance. /RAM/
9
1563
by: Mirko Kralj | last post by:
Hi to all, I was trying out the Eclipse PDT IDE and I'm impressed. I just want to know about the development logic you are using with this IDE. For example, I installed AppDev and configured Eclipse to use it's www folder as workspace. Now I want to define various virtual hosts on my PC for testing the code inside AppDev. The idea is to call Firefox (or any other browser I like)
0
9517
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10428
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10156
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9997
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.