October 14, 2002
Check if the three mentioned files are actually in the ~/lib and ~/mfc/lib directory. They might be missing.

Jan



James Kirkham wrote:

> I check my settings here is what the console returned:
>
> C:\dm\bin>set
> ALLUSERSPROFILE=C:\Documents and Settings\All Users
> APPDATA=C:\Documents and Settings\James\Application Data
> CLIENTNAME=Console
> CommonProgramFiles=C:\Program Files\Common Files
> COMPUTERNAME=FAMILYPC
> ComSpec=C:\WINDOWS\system32\cmd.exe
> HOMEDRIVE=C:
> HOMEPATH=\Documents and Settings\James
> LIB=c:\dm\lib;c:\dm\mfc\lib;
> LOGONSERVER=\\FAMILYPC
> NUMBER_OF_PROCESSORS=1
> OS=Windows_NT
> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Co
> mmon Files\Adaptec Shared\System;C:\BORLAND\BCC55\BIN;
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel
> PROCESSOR_LEVEL=15
> PROCESSOR_REVISION=0102
> ProgramFiles=C:\Program Files
> PROMPT=$P$G
> SESSIONNAME=Console
> SystemDrive=C:
> SystemRoot=C:\WINDOWS
> TEMP=C:\DOCUME~1\James\LOCALS~1\Temp
> TMP=C:\DOCUME~1\James\LOCALS~1\Temp
> USERDOMAIN=FAMILYPC
> USERNAME=James
> USERPROFILE=C:\Documents and Settings\James
> windir=C:\WINDOWS
>
> This appears to be right so what is wrong?
>
> "James Kirkham" <JamesKirkham1@hotmail.com> wrote in message news:aoej9n$bvo$1@digitaldaemon.com...
> > Where do I set this in the console a file?  If so how...
> >
> > "Jan Knepper" <jan@smartsoft.us> wrote in message news:3DAACD2C.D759AD98@smartsoft.us...
> > > James Kirkham wrote:
> > >
> > > > No this is not right the compiler gives this error:
> > > >
> > > > C:\dm\bin>dmc -Ic:\dm\atl\include -Ic:\dm\mfc\include code.cpp
> > > > link code,,,user32+kernel32/noi;
> > > > OPTLINK (R) for Win32  Release 7.50B1
> > > > Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
> > > >
> > > > nafxcw.lib
> > > >  Warning 2: File Not Found nafxcw.lib
> > > > winspool.lib
> > > >  Warning 2: File Not Found winspool.lib
> > > > shell32.lib
> > > >  Warning 2: File Not Found shell32.lib
> > >
> > > This means that your LIB path has not been set. The linker is NOT able
> to
> > find
> > > certain library files. nafxcw.lib is the MFC library file. The other two
> > are
> > > Windows API library files.
> > >
> > > Try:
> > > set LIB=c:\dm\lib;c:\dm\mfc\lib;
> > > and than run dmc again.
> > >
> > > Jan
> > >
> > >
> > >
> >
> >

October 14, 2002
I just noticed this "c:\dm\mfc\lib;" path does not exist on my system for the lib.  Where should it point?  My MFC directory looks like this contains two folders include and src.

"James Kirkham" <JamesKirkham1@hotmail.com> wrote in message news:aoejn8$ci6$1@digitaldaemon.com...
> I check my settings here is what the console returned:
>
>
> C:\dm\bin>set
> ALLUSERSPROFILE=C:\Documents and Settings\All Users
> APPDATA=C:\Documents and Settings\James\Application Data
> CLIENTNAME=Console
> CommonProgramFiles=C:\Program Files\Common Files
> COMPUTERNAME=FAMILYPC
> ComSpec=C:\WINDOWS\system32\cmd.exe
> HOMEDRIVE=C:
> HOMEPATH=\Documents and Settings\James
> LIB=c:\dm\lib;c:\dm\mfc\lib;
> LOGONSERVER=\\FAMILYPC
> NUMBER_OF_PROCESSORS=1
> OS=Windows_NT
> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Co
> mmon Files\Adaptec Shared\System;C:\BORLAND\BCC55\BIN;
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel
> PROCESSOR_LEVEL=15
> PROCESSOR_REVISION=0102
> ProgramFiles=C:\Program Files
> PROMPT=$P$G
> SESSIONNAME=Console
> SystemDrive=C:
> SystemRoot=C:\WINDOWS
> TEMP=C:\DOCUME~1\James\LOCALS~1\Temp
> TMP=C:\DOCUME~1\James\LOCALS~1\Temp
> USERDOMAIN=FAMILYPC
> USERNAME=James
> USERPROFILE=C:\Documents and Settings\James
> windir=C:\WINDOWS
>
>
> This appears to be right so what is wrong?
>
> "James Kirkham" <JamesKirkham1@hotmail.com> wrote in message news:aoej9n$bvo$1@digitaldaemon.com...
> > Where do I set this in the console a file?  If so how...
> >
> > "Jan Knepper" <jan@smartsoft.us> wrote in message news:3DAACD2C.D759AD98@smartsoft.us...
> > > James Kirkham wrote:
> > >
> > > > No this is not right the compiler gives this error:
> > > >
> > > > C:\dm\bin>dmc -Ic:\dm\atl\include -Ic:\dm\mfc\include code.cpp
> > > > link code,,,user32+kernel32/noi;
> > > > OPTLINK (R) for Win32  Release 7.50B1
> > > > Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
> > > >
> > > > nafxcw.lib
> > > >  Warning 2: File Not Found nafxcw.lib
> > > > winspool.lib
> > > >  Warning 2: File Not Found winspool.lib
> > > > shell32.lib
> > > >  Warning 2: File Not Found shell32.lib
> > >
> > > This means that your LIB path has not been set. The linker is NOT able
> to
> > find
> > > certain library files. nafxcw.lib is the MFC library file. The other
two
> > are
> > > Windows API library files.
> > >
> > > Try:
> > > set LIB=c:\dm\lib;c:\dm\mfc\lib;
> > > and than run dmc again.
> > >
> > > Jan
> > >
> > >
> > >
> >
> >
>
>


October 14, 2002
my bad, i thought you installed it there it must be in c:\mfc\lib instead of c:\dm\mfc\lib

if it was me i'd move the mfc folder, i think that dm\mfc\lib and dm\mfc\include are default paths in the dm\bin\sc.ini file, and wherever you install mfc, i think it should match those setting... that way you don't have to specify them every time you run dmc

i had to run implib on winspool.drv and shell32.dll in my windows\system folder and i put the resulting lib files in dm\lib they seem to not be a part of the compiler download.  there's some name mangling&decorated name issues to deal with too.  one thing at a time!!

L8r,
bw
In article <aoejug$cua$1@digitaldaemon.com>, James Kirkham says...
>
>I just noticed this "c:\dm\mfc\lib;" path does not exist on my system for the lib.  Where should it point?  My MFC directory looks like this contains two folders include and src.



1 2
Next ›   Last »