Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Configuring CDT with nmake
Configuring CDT with nmake [message #168215] Sun, 16 April 2006 11:13 Go to next message
Eclipse UserFriend
Originally posted by: leol.intekom.co.za

Hi all

I am new to Eclipse and am trying to configure CDT to compile with nmake (MS
Visual Studio). I am running Eclipse 3 .0.2 with CDT version 2.

I have specified nmake in Project Build settings and added nmake to my Path;
but apart from that not sure what I am doing.

.....get following errors when attempting build

nmake all

Microsoft (R) Program Maintenance Utility Version 6.00.9782.0

Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

NMAKE : fatal error U1073: don't know how to make 'all'

Stop.



Any help will be appreciated



Leo
Re: Configuring CDT with nmake [message #168555 is a reply to message #168215] Thu, 20 April 2006 10:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arne.anka.ginguppin.de

i do know nothing about nmake and little about c++ -- but it seems to me
that you need some kind of Makefile.
Re: Configuring CDT with nmake [message #168600 is a reply to message #168555] Thu, 20 April 2006 15:13 Go to previous message
Eclipse UserFriend
arne anka wrote:
> i do know nothing about nmake and little about c++ -- but it seems to
> me that you need some kind of Makefile.

I expect Leo probably has existing Makefiles auto-generated by M$Dev,
and had made the tool chain use nmake instead of make, but was getting
the error message he did. So he does have "some kind of Makefile". The
problem I expect is that by default those makefiles are named
<project>.mak ... and nmake needs to have that makefile specified (-f)
on the commandline to pull in the makefile.

So trying to put the two pieces together, he'd have to either (1) from
the M$DEV side generate some default named makefile (such as "Makefile")
or (2) from the CDT side tell the tool chain the "-f <project>.mak" part.
--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Previous Topic:How to include external API header
Next Topic:Index Access
Goto Forum:
  


Current Time: Thu May 08 17:43:41 EDT 2025

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

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

Back to the top