Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » make all make: Nothing to be done for `all'. (i cant compile imported C++ projects to eclipse CDT :()
icon9.gif   make all make: Nothing to be done for `all'. [message #641531] Thu, 25 November 2010 21:58 Go to next message
No real name is currently offline No real nameFriend
Messages: 3
Registered: November 2010
Junior Member
HELLO,

I was trying to import existing c++ project to the CDT eclipse.
this is what i did :
1. created a new Makefile project > Empty project
2. Gave it a name exactly as the exisiting c++ code's folder
3.selected the macOSX Gcc as the compiler type cuz my OS is mac.
4. and clicked finish

5. the project and all the files were imported..
6. right clicked on the project and selected properties
a. in builder Setting tab, i unchecked the Use Default Build command and Generate Makefiles automatically boxes.
b. In behaviour tab, i unchecked the Build on Resource Save(Auto Build).
c. then, i clicked Apply and ok.
Now, when i finally tried to compile the projecte, i got this error :


**** Build of configuration Default for project CPlusProj ****
make all
make: Nothing to be done for `all'.


Can anyone help me solve this? i can write a single file c++ code and compile it correctly and debug it but when i try to import projects, i get this error...

here is my eclipse version downloaded directly from eclipse.org:

Eclipse IDE for C/C++ Developers
Version: Helios Service Release 1

i have been on this problem for 2 days now Sad
Build id: 20100917-0705



Re: make all make: Nothing to be done for `all'. [message #641565 is a reply to message #641531] Fri, 26 November 2010 06:48 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Quote:
make all
make: Nothing to be done for `all'.

This means that all files are uptodate. Your project was already build.
So when you modify a source file, does it rebuild then?


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: make all make: Nothing to be done for `all'. [message #641608 is a reply to message #641565] Fri, 26 November 2010 09:41 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 3
Registered: November 2010
Junior Member
hi,

thanks for the reply..

i tried modifying the source file and rebuilt and once again it gave the same satement :

**** Build of configuration Default for project CPlusProj ****
make all
make: Nothing to be done for `all'.


i must stress that this is a working/existing project i wrote in devc++ . i just want to learn how to import it to eclipse. Also, going by your answer, i decided to run it after building it and here it says :

Launched failed. binaries not found
Re: make all make: Nothing to be done for `all'. [message #641637 is a reply to message #641608] Fri, 26 November 2010 12:12 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
No Real Name wrote on Fri, 26 November 2010 10:41
hi,

thanks for the reply..

i tried modifying the source file and rebuilt and once again it gave the same satement :

**** Build of configuration Default for project CPlusProj ****
make all
make: Nothing to be done for `all'.


i must stress that this is a working/existing project i wrote in devc++ . i just want to learn how to import it to eclipse. Also, going by your answer, i decided to run it after building it and here it says :

Launched failed. binaries not found


This sounds like your makefile does indeed nothing. That's why launching will fail then.
Can you execute "make all" on the command line (outside Eclipse) and will it then build your project?
You should also be aware that you will get the above message if make does not find a Makefile! So probably you did not define the correct build location in project properties?


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:Flexible project structure
Next Topic:instructions do not match documentation
Goto Forum:
  


Current Time: Fri Apr 26 04:42:13 GMT 2024

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

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

Back to the top