From: isenhand on 25 Feb 2010 03:02 I've come across this error: NMAKE : fatal error U1073: don't know how to make '\atlsd.lib' I have atlsd.lib in my source file: ATL_LIBS= C:\WinDDK\7600.16385.0\lib\ATL\amd64 TARGETLIBS=\ $(ATL_LIBS)\atlsd.lib \ $(SDK_LIB_PATH)\strsafe.lib \ $(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\oleaut32.lib \ $(MFC_LIBS)\mfcs42ud.lib \ $(MFC_LIBS)\mfc42ud.lib \ $(WIN7_LIBS)\user32.lib I can see the atlsd.lib in the C:\WinDDK\7600.16385.0\lib\ATL\amd64 directory and the path is correct so to my mind it should link as it does with the other libraries (which it has no problem with). I did find this page: http://blogs.msdn.com/wpdblog/archive/2007/01/31/building-driver-samples-from-the-wdk.aspx I followed the instructions and copied the amd64 lib files and set ATL_LIBS to : ATL_LIBS=C:\WinDDK\7600.16385.0\lib\copied_altmfc\amd64 in my source file. However, I get the same error message. So, am I doing something silly again or ... ?
From: Pavel A. on 25 Feb 2010 19:05 Insert spaces or tabs before lines $(ATL_LIBS)\atlsd.lib \, $(MFC_LIBS)\mfcs42ud.lib \ etc. so that it does not start ftom 1st column. --pa "isenhand" <isenhand(a)discussions.microsoft.com> wrote in message news:62821434-4840-4167-B944-5BAE50392A9D(a)microsoft.com... > I've come across this error: > NMAKE : fatal error U1073: don't know how to make '\atlsd.lib' > > I have atlsd.lib in my source file: > ATL_LIBS= C:\WinDDK\7600.16385.0\lib\ATL\amd64 > > TARGETLIBS=\ > $(ATL_LIBS)\atlsd.lib \ > $(SDK_LIB_PATH)\strsafe.lib \ > $(SDK_LIB_PATH)\kernel32.lib \ > $(SDK_LIB_PATH)\advapi32.lib \ > $(SDK_LIB_PATH)\oleaut32.lib \ > $(MFC_LIBS)\mfcs42ud.lib \ > $(MFC_LIBS)\mfc42ud.lib \ > $(WIN7_LIBS)\user32.lib > > I can see the atlsd.lib in the C:\WinDDK\7600.16385.0\lib\ATL\amd64 > directory and the path is correct so to my mind it should link as it does > with the other libraries (which it has no problem with). > > I did find this page: > > http://blogs.msdn.com/wpdblog/archive/2007/01/31/building-driver-samples-from-the-wdk.aspx > > I followed the instructions and copied the amd64 lib files and set > ATL_LIBS > to : > ATL_LIBS=C:\WinDDK\7600.16385.0\lib\copied_altmfc\amd64 > > in my source file. However, I get the same error message. So, am I doing > something silly again or ... ? >
From: isenhand on 26 Feb 2010 02:07 Thx, but it made no differance. "Pavel A." wrote: > Insert spaces or tabs before lines $(ATL_LIBS)\atlsd.lib \, > $(MFC_LIBS)\mfcs42ud.lib \ etc. > so that it does not start ftom 1st column. > --pa >
From: alberto on 26 Feb 2010 13:21 Not to be picky, but it should be "copied_atlmfc", not "copied_altmfc", at least it should be so if you exactly follow the instructions in aa973571.aspx. Is that just a typo in your email, or is it written that way in your sources file ? ? Alberto. On Feb 25, 3:02 am, isenhand <isenh...(a)discussions.microsoft.com> wrote: > I've come across this error: > NMAKE : fatal error U1073: don't know how to make '\atlsd.lib' > > I have atlsd.lib in my source file: > ATL_LIBS= C:\WinDDK\7600.16385.0\lib\ATL\amd64 > > TARGETLIBS=\ > $(ATL_LIBS)\atlsd.lib \ > $(SDK_LIB_PATH)\strsafe.lib \ > $(SDK_LIB_PATH)\kernel32.lib \ > $(SDK_LIB_PATH)\advapi32.lib \ > $(SDK_LIB_PATH)\oleaut32.lib \ > $(MFC_LIBS)\mfcs42ud.lib \ > $(MFC_LIBS)\mfc42ud.lib \ > $(WIN7_LIBS)\user32.lib > > I can see the atlsd.lib in the C:\WinDDK\7600.16385.0\lib\ATL\amd64 > directory and the path is correct so to my mind it should link as it does > with the other libraries (which it has no problem with). > > I did find this page: > > http://blogs.msdn.com/wpdblog/archive/2007/01/31/building-driver-samp... > > I followed the instructions and copied the amd64 lib files and set ATL_LIBS > to : > ATL_LIBS=C:\WinDDK\7600.16385.0\lib\copied_altmfc\amd64 > > in my source file. However, I get the same error message. So, am I doing > something silly again or ... ?
From: isenhand on 1 Mar 2010 02:13 <<Is that just a typo in your email>> It's a typo in the original path, but it shouldn't matter so long as it is consistent, which as far as I can see it is. However, there does appear to be something wrong with that path as I move the lib to another director and it linked. On to my next problem now ... Thanks. "alberto" wrote: > Not to be picky, but it should be "copied_atlmfc", not > "copied_altmfc", at least it should be so if you exactly follow the > instructions in aa973571.aspx. Is that just a typo in your email, or > is it written that way in your sources file ? ? > > Alberto. > > > On Feb 25, 3:02 am, isenhand <isenh...(a)discussions.microsoft.com> > wrote: > > I've come across this error: > > NMAKE : fatal error U1073: don't know how to make '\atlsd.lib' > > > > I have atlsd.lib in my source file: > > ATL_LIBS= C:\WinDDK\7600.16385.0\lib\ATL\amd64 > > > > TARGETLIBS=\ > > $(ATL_LIBS)\atlsd.lib \ > > $(SDK_LIB_PATH)\strsafe.lib \ > > $(SDK_LIB_PATH)\kernel32.lib \ > > $(SDK_LIB_PATH)\advapi32.lib \ > > $(SDK_LIB_PATH)\oleaut32.lib \ > > $(MFC_LIBS)\mfcs42ud.lib \ > > $(MFC_LIBS)\mfc42ud.lib \ > > $(WIN7_LIBS)\user32.lib > > > > I can see the atlsd.lib in the C:\WinDDK\7600.16385.0\lib\ATL\amd64 > > directory and the path is correct so to my mind it should link as it does > > with the other libraries (which it has no problem with). > > > > I did find this page: > > > > http://blogs.msdn.com/wpdblog/archive/2007/01/31/building-driver-samp... > > > > I followed the instructions and copied the amd64 lib files and set ATL_LIBS > > to : > > ATL_LIBS=C:\WinDDK\7600.16385.0\lib\copied_altmfc\amd64 > > > > in my source file. However, I get the same error message. So, am I doing > > something silly again or ... ? > > . >
|
Pages: 1 Prev: How to stop driver loading on pci dev with wrong class code? Next: Create a Virtual Monitor |