Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Won't Recognise Makefile
Won't Recognise Makefile [message #159772] Thu, 01 December 2005 11:01 Go to next message
Eclipse UserFriend
Originally posted by: dbingham.skidmore.edu

I'm having an impossible time getting eclipse 3.1.1 with CDT 3.0.1 to
recognise my makefile. I posted something about it, before I realized
this forum existed, here:
http://www.eclipse.org/newsportal/article.php?id=48386&g roup=eclipse.platform#48386

This is driving me nuts, I've tried everything I can think of to try and
still it won't recognise it. I've created both standard and managed make
C++ projects to no avail. I've tried moving the makefile around,
explicitly setting it to the makefile in preferences. I don't know what
else to do. I'm running this on ubuntu linux Breezy Badger 5.10, and
again it was working fine with no trouble at all under Debian.
Thanks, and sorry about the double post
Daniel
Re: Won't Recognise Makefile [message #159873 is a reply to message #159772] Sun, 04 December 2005 04:01 Go to previous messageGo to next message
Eclipse UserFriend
Alcon schrieb:
>
>
> This is driving me nuts, I've tried everything I can think of to try and
> still it won't recognise it. I've created both standard and managed
> make C++ projects to no avail. I've tried moving the makefile around,
> explicitly setting it to the makefile in preferences. I don't know what
> else to do.

Well, what you write is so general that it is not possible to answer.

Try the most simple case first:

Create a "Hello world" program with standard makefile.
Try make on the console.

If this doesn't work, post the makefile and the c file here.
What does
> make -version
say?

If it does work, add the make targets "all" and "clean" to the folder
that contains the makefile (it can be the source folder, it can be
one or more levels up in the directory hierarchy).

Than try to launch the make target from eclipse, I use the make view
for this purpose.

If you don't post your makefile, we can't help you.

Regards:

Uwe
Re: Won't Recognise Makefile [message #159887 is a reply to message #159873] Sun, 04 December 2005 20:52 Go to previous message
Eclipse UserFriend
Originally posted by: dbingham.skidmore.edu

My apologies for the messy post. The makefile was one that had worked
under Eclipse 3.1 and CDT 3.0.1 under a debian system and was only not
functioning under Ubuntu Breezy Badger (5.10) which I recently switched
to. I did finally get it working about an hour or so after I posted that
response. I'm still not entirely sure why it wasn't working, but I have a
suspicion that it may have worked in a previous attempt and I just didn't
recognise it. What I finally did was create a project following the exact
specifications in the helpfiles step by step. I created a standard make
C++ project and set my current source folder as its folder, instead of
transfering all the source into my workspace. It worked after I did that.
It's now working beautifully :)
Thanks for the response,
Alcon
Previous Topic:*** [neoc.exe] Error 1
Next Topic:How to link static libraries?
Goto Forum:
  


Current Time: Wed Jun 04 11:44:13 EDT 2025

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

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

Back to the top