![]() |
| ||
| C help with Eclipse I'm having trouble running C in eclipse. It first gives me weird syntax errors or tells me that # include <stdio.h> is an "Unresolved inclusion" It also will not let me build, saying "(Cannot run program "make": Launching failed)" Am I missing something? please help. Thanks |
| ||
| Re: C help with Eclipse Which platform are you running this on ? When I was running Eclipse 3.3 on Ubuntu 7.10, I remember encountering a similar error (for a Linux GCC toolchain based project), So I had to install the package build-essential (which includes GNU Make, GCC and other tools). However I do not have much idea about about the first problem. |
| ||
| Re: C help with Eclipse Hi there... If you are using Eclipse on Windows then read below... For windows, you should download eclipse-cpp-ganymede-win32.zip from http://eclispe.org. This comes with a inbuilt gnu compiler (gcc etc)... If still you are not able to compile please install MiniGW from http://minigw.org... This is free gnu compiler... Further if you have issues please post your problems... |
| ||
| Re: C help with Eclipse Quote:
ssharish |
| ||
| Re: C help with Eclipse im having the same problem.. i read the recommended thread but i dunno where the <stdio.h> file is... i mean what am i supposed to add to the Path and Symbols?? im using Eclipse IDE plateform.. =/ |
| ||
| Re: C help with Eclipse for "unresolved inclusion" when trying to use eclipse for C++ headers like <iostream> (in windows) 1. Download Automated MinGW Installer http://sourceforge.net/project/showf...?group_id=2435 2. In the environment variable for windows under "Path" add C:\MinGW\bin (or wherever you installed it) 3. Download Eclipse IDE for C/C++ Developers from http://www.eclipse.org/downloads/ 4. Restart the computer 5. In eclipse when creating a new project MiniGW GCC should show up in the toolchain After that if you get a "Launch failed binary not found" 1. Click the hammer button (build it) before you hit the play button (run it) |
| ||
| Re: C help with Eclipse Quote:
Pydev works. Java works. When I try to compile hello world in c++, I get these errors about the include files and not being able to run the program "make". |
| All times are GMT -4. The time now is 5:58 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC