NetBeans IDE for C++: "Resolve Missing Native Build Tools" - c++

I recently bought a laptop with Windows 8.1 on it and I'm having trouble using the NetBeans C++ IDE on it. When I build, this is the window that comes up:
And I'm assuming these are my options:
I've tried using C:\MinGW\bin\gcc.exe in the field with the red asterisk but that has done nothing for me.
All help appreciated.

I use C++ in Netbeans 8.0* using gcc, g++ in Cygwin. Cygwin was installed first, and then Netbeans C++.
Everything was done automatically for me.
You are missing the C++ compiler. It would probably help to fill in that line (see the red asterisk).
You would probably have
C:\MINGW\bin\g++.exe.

Related

Change Mac Eclipse to Window Settings

from my computer class last year, I have a bunch of c++ programs. I made these programs in Microsoft visual c++ 2010. That program I used it only available on Windows so I needed another program for I can still code. I now have a Mac and I want to still be able to code, so I downloaded Eclipse. My question is, how do I change the Eclipse setting to be the same as the windows? For example, when I copy my coding, it finds (using namespace std) and (#include ) as an error. Thank you!
Which version of eclipse did you install? Unless you installed the versions of eclipse with C/C++ plugins, it's just a Java IDE.
But uh Eclipse kind of sucks anyways so I'd recommend trying Clion.

Which and how do i use a compiler with eclipse juno (newest one)?

i am learning c++ using eclipse. I have heard that i need a compiler with it. Which one should i use and how do i add it? Also if there is a better ide than eclipse for c++ please let me know. Thanks
Most Linux boxes come with GCC built right in. If not, fire up the package manager and install.
Mac I can't speak on.
For Windows your easiest choices are MinGW and Visual Studio.
My preference goes to MinGW because of tight integration with Eclipse.
If you go with using Visual Studio, learn using the IDE that comes with it. Once you know C++ and gain some experience, then try using using Eclipse with it as Eclipse doesn't work well out of the box with Visual Studio. Until you know what the error messages that will come your way mean, Visual Studio under Eclipse will just cause you grief.
As for better IDE, that's a matter of preference, but real men use ed and start fires by spitting on wood really, really fast.
EDIT
If anyone has experience with the current state of Clang support in Eclipse, please chime in.
You didn't say what operating system you're running on. For Windows, you can download Visual Studio Express. For Linux, GCC works well, so if g++ at a command prompt isn't found, you should install the build-essential package, like this:
sudo apt-get install build-essential

Eclipse for C++ Windows 7 64-bit PC

I am using 64-bit Windows 7 PC and I want to develop C/C++ programs using Eclipse IDE.
I have tried DOSBox but it was not working for me. Also, I din't liked it as well.
I just want to use Eclipse for the same. I tried using CDT Plugin in Eclipse but that doesn't worked.
When I create a new C++ project, there are different Tool Chains available - Cross GCC, Microsoft Visual C++, MinGW GCC. I really don't know what exactly it is. I tried all but I am getting error and snapshot attached :-
Basically, it is not able to detect what iostream, stdio, cout is.
I tried different solutions available on other posts but none worked for me.
I don't know what to do with it. I know I am having problem due to 64-bit Windows but I want to fix this now. Please help!
You need to install MinGW, and then select the MinGW toolchain when selecting a new project.
Well I tried different tool chains on Eclipse IDE, but nothing worked.
Then I installed CodeBlocks IDE and plugins for the same as well.
Sic: Now, I am running C/C++ codes on Code Blocks perfectly.
You need to download MinGW and install the C++ compiler, don't forget to add the MinGW bin to the system variables under "path".
I recommend you using Visual Studio Code. If you do install Visual Studio Code, make sure to install Code Runner plugin to make running C++ projects easier.

Is satisfactory Eclipse CDT debugging on Windows possible?

I am playing with Eclipse CDT for cross-platform development of a C++ project that has traditionally been developed in Visual Studio (currently 2008). On Linux, CDT is awesome: code navigation, debugging, etc. are almost as good as they are for Java. I was very excited to try it on Windows and hopefully have an alternative to Visual Studio.
But alas, the CDT debugger just doesn't seem to work right in Windows. I'm building with CMake + MinGW, and debugging with the "MinGW gdb" debugger in Eclipse. Sometimes it stops executing and I have to type gdb commands into the console to get it to continue; frequently it skips breakpoints altogether... (Note that MinGW's gdb seems to work 100% fine from the console, exactly as I would expect).
I am not looking for someone to solve these problems for me, but rather to tell me whether it is worth pursuing. Has someone gotten satisfactory results debugging C++ code in Eclipse CDT on Windows?
In the last year, I've switched to Code:Blocks. It allows you to create separate configurations for each platform. Supports all the typical things you'd expect from an IDE. It also integrates with MinGW. It's available on Windows, Mac (not well supported), and Linux.

Anybody there succeeded debugging C++ in Eclipse?

I wanted to shift from Visual Studio 2008 to Eclipse Helios for C++ dev. I tried in mac and found a lot of unstabilities while debugging. Then I tried on Linux and similar. This is the last problem I found:
http://www.eclipse.org/forums/index.php?t=msg&th=205832&start=0&S=0b23d01871ba30eea27e36afdf03712d
At the moment I am going to give up eclipse. I would just like to know how many of you succeeded using Eclipse Helios CDT for debugging C++ programs or if I am just a dammned, isolated case, before I give up or continue trying to go forward.
I use Eclipse Helios as my C++ IDE. Os is Ubuntu 10.04. I use it regularly for debugging and can't remember to have ever had any serious problems. I had never problems with "unstabilities" while working with projects of significant size including Qt applications.
I would suspect you are an isolated case. If you are more specific, we might be able to help. If you want to abandon Eclipse though, I have heard good things about Qt Creator but still consider Eclipse superior.
The only thing that bugs me while debugging is that the debugger doesn't respect breakpoints inside of template functions and source code is not shown for template functions. If I recall correctly, this is different for Qt Creator but am not sure right now.
I use Helios as well on Ubuntu 10.04, and Windows XP to debug my Qt projects built with mingw.
I've never had a problem.
I've never tried on a Mac though.