Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » hello world with eclipse c/c++(i want just run hello world)
hello world with eclipse c/c++ [message #1817947] Tue, 03 December 2019 08:23
Eclipse UserFriend
hi ,
i just want to run a simple hello world project.
i created a C managed build.
hello world ansi with MinGW

after building it just shows:

14:14:14 **** Rebuild of configuration Debug for project testproj ****
Info: Internal Builder is used for build
gcc -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\testproj.o" "..\\src\\testproj.c" 
gcc -o testproj.exe "src\\testproj.o" 

14:14:14 Build Finished. 0 errors, 0 warnings. (took 758ms)

so it maybe looks ok...

then i want to run it ... but it pops up a window : details:

Error starting process.
Cannot run program "C:\Users\u\eclipse-workspace3\lol\Debug\lol.exe": Launching failed
Cannot run program "C:\Users\u\eclipse-workspace3\lol\Debug\lol.exe": Launching failed
Cannot run program "C:\Users\u\eclipse-workspace3\lol\Debug\lol.exe": Launching failed



ah now finaly the error shows 0 errors...
Run As configurations:
testproj
Debug/testproj.exe


Used tools:
Currenct builder Gnu Make Builder

GCC Assembler
GCC Archiver
GCC C++ Compiler
GCC C Compiler
MinGW C Linker
MinGW C++ Linker


of course finaly my little code :
#include <stdio.h>
#include <stdlib.h>

int main(void) {
	puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
	return EXIT_SUCCESS;
}
Previous Topic:How to stop inserting same include stmt more than once
Next Topic:Debug Target is null
Goto Forum:
  


Current Time: Tue Jun 24 21:32:30 EDT 2025

Powered by FUDForum. Page generated in 0.03490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top