|Issues With Building C program [message #653006]
||Mon, 07 February 2011 23:06
| No real name
Registered: February 2011
I am taking a C programming class currently, and we are starting with a Hello World program. All of the code was given, we just need to get a compiler working. I got it working with windows visual C++ fine, but it eats up a lot of drive space, and I want something portable, hence using eclipse. I downloaded CDT for eclipse, all the plugins are there, got MinGW folder in the folder I have eclipse folder in(dont know if it matters where the folders are). When creating a new program I select mingw toolchain and continue. |
First thing I notice is that #include <stdio.h> gives me a warning that it is not recognized . Why is this? Then I get the build error
**** Internal Builder is used for build ****
gcc -O0 -g3 -Wall -c -fmessage-length=0 -oHelloWorld.o ..\HelloWorld.c
Internal Builder: Cannot run program "gcc": Launching failed
Build error occurred, build is stopped
Time consumed: 28 ms.
Not sure if this is related to unrecognized code or not? I tried all this before and the library was recognized, but I got binary not found error, so this is strange to me. Any help would be appreciated.
Powered by FUDForum
. Page generated in 0.02192 seconds