Reputation: 39
I am new to eclipse using for C programming in Ubuntu.
When I run a c program it is displaying Launch failed binary not found
even after installing g++.
I installed g++ using following command
sudo apt-get install g++
second question is how to create makefile
and how it is useful ?
Upvotes: 1
Views: 274
Reputation: 5456
build-essential
and eclipse-cdt
. (you probably need gcc
, not g++
)Makefile
is a file that declares the order of building. it's very useful in large programs. (if you have just one .c file, don't use make)Upvotes: 1
Reputation: 1387
Remember to build your project first. The first time I used Eclipse+CDT I got the same error: I was trying to run the project without building it.
Upvotes: 2