Computer Science Canada NetBeans w/ C++ |
Author: | DemonWasp [ Sun Jan 30, 2011 6:28 pm ] |
Post subject: | RE:NetBeans w/ C++ |
It looks like gcc can't find cc1plus. Check that cc1plus is on your environment's PATH variable. You can check this by typing 'cc1plus' (without quotes) at the cmd prompt and hitting enter; if it says "can't find command", you will need to add its directory to your path (google that); if it gives output, then it is correctly installed. If you change your PATH variable, you will need to restart NetBeans for it to take effect. |
Author: | DemonWasp [ Sun Jan 30, 2011 8:25 pm ] |
Post subject: | RE:NetBeans w/ C++ |
Sounds like the problem has nothing to do with NetBeans, but with your install of MinGW. Try this article: http://zieaon.co.uk/MinGW-cc1plus.html You should be able to use g++ at the command-line before you try running it through NetBeans. |
Author: | DemonWasp [ Mon Jan 31, 2011 1:28 am ] |
Post subject: | RE:NetBeans w/ C++ |
Try googling the specific error message if this link doesn't help. |
Author: | Xupicor [ Tue Feb 22, 2011 5:43 pm ] |
Post subject: | RE:NetBeans w/ C++ |
How did you manage to install MinGW without g++? Well, to be sure you have pretty complete set of tools, install MSYS (you may need it, but it's not essential for basic stuff) and this MinGW "distro": http://nuwen.net/mingw.html Then download GDB from MinGW download page (it'll need libexpat...). Actually, just follow this step-by-step tutorial of mine to do it: http://thenewboston.com/forum/viewtopic.php?f=129&t=8056 Sorry if linking to other forums is against the rules, I plan to move it somewhere, but at the moment it's where I posted it first. |