Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Cant compile even hello world(Type Program "make" not found in PATH )
Cant compile even hello world [message #1855465] Sun, 16 October 2022 08:07 Go to next message
Eclipse UserFriend
Hello eclipsers,

I am a beginner and used to visual studio code, where i click on run, and what i wrote will compile and execute.

How in the world can i run my code in eclipse. Any fix i try, any solution i google doesnt work.

Do i need a masters to run hello world with this?

where can i learn to use it from beginning?

Im on Ubuntu 20.

Best regards
Re: Cant compile even hello world [message #1855466 is a reply to message #1855465] Sun, 16 October 2022 10:50 Go to previous messageGo to next message
Eclipse UserFriend
You could follow this tutorial:

https://www.vogella.com/tutorials/Eclipse/article.html
Re: Cant compile even hello world [message #1855467 is a reply to message #1855465] Sun, 16 October 2022 14:23 Go to previous message
Eclipse UserFriend
On an Ubuntu, you need to install the package build-essential.

Before attempting on Eclipse, try from the console:

nano hello.c

#include <stdio.h>

int main(void)
{
printf("Hello\n");
return 0;
}

Control-O, accept output file name with an Enter
Control-X

gcc -o hello hello.c

If everything works, you know that the basic compilation is OK.
Previous Topic:non-managed c++ projects and scanner
Next Topic:Start GDB with "target extended-remote"
Goto Forum:
  


Current Time: Tue Jul 08 03:14:53 EDT 2025

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

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

Back to the top