Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VStudio NMAKE.exe - fatal error U1072: don't know how to make...

Status
Not open for further replies.

swordsman

Programmer
Dec 30, 2001
10
US
Hello,

I'm trying to use NMAKE to build my workspace. I <b>exported a makefile</b> (MyProject.mak), and <b>ran NMAKE</b> like this:
NMAKE.exe MyProject.mak CFG=&quot;MyProject - Win32 Release&quot;, as I've done successfully in the past.

One new complication: my Visual C++ project <b>imports a VB COM component</b> called LtvRulesDAL.dll. I build this component in VB, then use #import to use it in the VC++ application.

When I try to use NMAKE, it appears to <b>fail because of this imported component</b>, saying &quot;don't know how to make ...LtvRulesDAL.dll&quot; I don't want NMAKE to try to compile this COM DLL - why is it trying to? I checked the .mak file and there are no references to LtvRulesDAL.dll (I searched through it).

Any ideas greatly appreciated. Here's the <b>output of NMAKE</b>:

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

NMAKE : fatal error U1073: don't know how to make '&quot;releasedlls\ltvrulesdal.dll&quot;'
Stop.
NMAKE : fatal error U1077: '&quot;C:\Program Files\Microsoft Visual Studio\VC98\Bin\N
MAKE.EXE&quot;' : return code '0x2'
Stop.
 

Sorry for the newbie mistake, here's the post with proper formatting:

I'm trying to use NMAKE to build my workspace. I exported a makefile (MyProject.mak), and ran NMAKE like this:
NMAKE.exe MyProject.mak CFG=&quot;MyProject - Win32 Release&quot;, as I've done successfully in the past.

One new complication: my Visual C++ project imports a VB COM component called LtvRulesDAL.dll. I build this component in VB, then use #import to use it in the VC++ application.

When I try to use NMAKE, it appears to fail because of this imported component, saying &quot;don't know how to make ...LtvRulesDAL.dll&quot; I don't want NMAKE to try to compile this COM DLL - why is it trying to? I checked the .mak file and there are no references to LtvRulesDAL.dll (I searched through it).

Any ideas greatly appreciated. Here's the output of NMAKE:

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

NMAKE : fatal error U1073: don't know how to make '&quot;releasedlls\ltvrulesdal.dll&quot;'
Stop.
NMAKE : fatal error U1077: '&quot;C:\Program Files\Microsoft Visual Studio\VC98\Bin\N
MAKE.EXE&quot;' : return code '0x2'
Stop.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top