PDA

View Full Version : [SOLVED] problem programming in c in eclipse under Ubuntu



nir2000
November 19th, 2010, 04:48 PM
Hi everybody!
I have just started using Eclipse for programming in c, after using it for Java.
Unfortunately with no help. When I try to compile a simple program, after I installed the environment for c\c++ , I get the message "Launch failed. Binary not found" whenever I try to compile a simple program.
Please if somebody knows the solution to this problem let me know.
Thank in advance
Nir

spjackson
November 19th, 2010, 05:06 PM
I have just started using Eclipse for programming in c, after using it for Java.
Unfortunately with no help. When I try to compile a simple program, after I installed the environment for c\c++ , I get the message "Launch failed. Binary not found" whenever I try to compile a simple program.

Here's an old thread that answers your question. Coincidentally it was resurrected yesterday. http://ubuntuforums.org/showthread.php?t=983597

nir2000
November 20th, 2010, 08:52 AM
it did not help.
sorry

GregBrannon
November 20th, 2010, 09:20 AM
Does the source compile and run from the command line or using another IDE like Geany?

Majorix
November 20th, 2010, 09:42 AM
Maybe you should install the whole build-essential package. Try

sudo apt-get install build-essential

nir2000
November 24th, 2010, 11:11 AM
Sorry for the trouble, I should have simply chosen "Executable project" in the project opened up window. And that solved the problem.
Nir