NMAKE Error
-
Hi, I got a project which is written in VC++ but while compiling its giving me following error in MS-VC 6.0. "Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. No configuration specified. Defaulting to MyProject - Win32 Debug. NMAKE : fatal error U1073: don't know how to make '"e:\win32app\microsoft visual studio\vc98\include\basetsd.h"' Stop. Error executing NMAKE." Please let me know which version of MS-VC6.0 will support this. OR do this project have 3rd party libraries. How to supress this NMAKE errors and complie the code successfully.
SNI
-
Hi, I got a project which is written in VC++ but while compiling its giving me following error in MS-VC 6.0. "Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. No configuration specified. Defaulting to MyProject - Win32 Debug. NMAKE : fatal error U1073: don't know how to make '"e:\win32app\microsoft visual studio\vc98\include\basetsd.h"' Stop. Error executing NMAKE." Please let me know which version of MS-VC6.0 will support this. OR do this project have 3rd party libraries. How to supress this NMAKE errors and complie the code successfully.
SNI
-
Hi, I got a project which is written in VC++ but while compiling its giving me following error in MS-VC 6.0. "Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. No configuration specified. Defaulting to MyProject - Win32 Debug. NMAKE : fatal error U1073: don't know how to make '"e:\win32app\microsoft visual studio\vc98\include\basetsd.h"' Stop. Error executing NMAKE." Please let me know which version of MS-VC6.0 will support this. OR do this project have 3rd party libraries. How to supress this NMAKE errors and complie the code successfully.
SNI
SNI wrote:
NMAKE : fatal error U1073: don't know how to make '"e:\win32app\microsoft visual studio\vc98\include\basetsd.h"'
Stop.
Error executing NMAKE."
Please let me know which version of MS-VC6.0 will support this.Have you verified that the file exists?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
SNI wrote:
NMAKE : fatal error U1073: don't know how to make '"e:\win32app\microsoft visual studio\vc98\include\basetsd.h"'
Stop.
Error executing NMAKE."
Please let me know which version of MS-VC6.0 will support this.Have you verified that the file exists?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
Thanks for your reply. I was able to resolve this problem but now I am facing following error ".\Release\MyApp.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'link.exe' : return code '0x460' Stop. Error executing NMAKE. " Do I need to change NMAKE file for this?
SNI
-
Thanks for your reply. I was able to resolve this problem but now I am facing following error ".\Release\MyApp.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'link.exe' : return code '0x460' Stop. Error executing NMAKE. " Do I need to change NMAKE file for this?
SNI
-
Thanks for your reply. I was able to resolve this problem but now I am facing following error ".\Release\MyApp.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'link.exe' : return code '0x460' Stop. Error executing NMAKE. " Do I need to change NMAKE file for this?
SNI
SNI wrote:
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
Unresolved externals means you're missing source files or libraries. To fix this, you should add the missing files to the command link of the linker (link.exe).
I tried to identify what is the problem for giving this kind of error and I found that one of function declared object of dialog class as follows Dlg_Details *pDet = NULL; and then it creates instance pDet = new Details_Dlg(); and here it is giving following err "error LNK2001: unresolved external symbol "public: __thiscall Dlg_Details::Dlg_Details(class CWnd *)" (??0Dlg_Details@@QAE@PAVCWnd@@@Z) .\Release\myapp.exe : fatal error LNK1120: 1 unresolved externals" when i commented out above line of code (creating instance using new) then appln compiles and link properly. I tried to go to the detail and found that the constructor of above class is declare as "Dlg_Details(CWnd* pParent = NULL)" in header file and its implementation as in .cpp file is as follows. "CDlg_Card_Details::CDlg_Card_Details(CWnd* pParent /*=NULL*/) : CDialog(Dlg_Details::IDD, pParent) { //{{AFX_DATA_INIT(Dlg_Details) .... .... variables are initialized } and I tried to changing its declaration in header file as Dlg_Details(CWnd* pParent) but still the problem persist. Can you suggest where this code going wrong during linking. Regds SNI Regds SNI
SNI
modified on Tuesday, July 12, 2011 8:20 AM