Skip to main content



      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 16:58 Go to next message
Eclipse UserFriend
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 01:48 Go to previous messageGo to next message
Eclipse UserFriend
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?
Re: make all make: Nothing to be done for `all'. [message #641608 is a reply to message #641565] Fri, 26 November 2010 04:41 Go to previous messageGo to next message
Eclipse UserFriend
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 07:12 Go to previous message
Eclipse UserFriend
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?
Previous Topic:Flexible project structure
Next Topic:instructions do not match documentation
Goto Forum:
  


Current Time: Wed Aug 06 13:41:29 EDT 2025

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

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

Back to the top