c++ - Build of MFC Port still doesn't work
- Nikolay Nankov (112/112) May 20 2002 Platform: Win2000
Platform: Win2000
DM-Version: 8.27c
Utils from:
ftp://ftp.digitalmars.com/Digital_Mars_C++/Patch/dm812util.zip
MFC from:
ftp://ftp.digitalmars.com/Digital_Mars_C++/MS/CVS/RELEASE/MFC4.21.tar.gz
ATL from:
ftp://ftp.digitalmars.com/Digital_Mars_C++/MS/CVS/RELEASE/ATL2.02.tar.gz
Environment:
PATH:
PATH = d:\temp\dm\bin;%PATH%
INCLUDE:
INCLUDE=d:\temp\dm\mfc\include;d:\temp\dm\atl\include;d:\temp\dm\include
LIB:
LIB=d:\temp\dm\mfc\lib;d:\temp\dm\lib
Error Messages:
D:\TEMP\MFC\src\SC\DLL>smake -fsfc50.mak
SMAKE Program Maintenance Utility (Console) Version 7.50
Copyright (c) 1994-1995 Innovative Data Concepts Incorporated
Copyright (c) 1994-2001 Digital Mars
All Rights Reserved
REM Output to SFC50
if not exist SFC50\*.* md SFC50
if not exist ..\..\..\lib\*.* md ..\..\..\lib
SMAKE -fsfcs50.mak "SUB_DEBUG=0"
SMAKE Program Maintenance Utility (Console) Version 7.50
Copyright (c) 1994-1995 Innovative Data Concepts Incorporated
Copyright (c) 1994-2001 Digital Mars
All Rights Reserved
REM Output to .
SC -cpp -Ae -Ar -mn -o+time -WD -NL -ND -5 -a8 -Nc -c -H -HO-
-D__JAK__
-D_X86_ -D_AFXDLL -D_AFX_CORE_IMPL -D_AFX_OLE_IMPL -D_AFX_NET_IMPL
-D_AFX_DB_IMP
L -D_MT -D_MBCS=1 -I..\..\..\include -I\atl\include -HF.\stdafx.SYM
-o.\stdafx.P
CO ..\..\stdafx.h
Fatal error: unable to open input file 'atlconv.h'
--- errorlevel 1
SMAKE fatal error: command "SC" returned with error code 1
Stopping.
SMAKE fatal error: command "SMAKE" returned with error code 2
Stopping.
D:\TEMP\MFC\src\SC\DLL>smake -fsfc50.mak
SMAKE Program Maintenance Utility (Console) Version 7.50
Copyright (c) 1994-1995 Innovative Data Concepts Incorporated
Copyright (c) 1994-2001 Digital Mars
All Rights Reserved
REM Output to SFC50
SMAKE -fsfcs50.mak "SUB_DEBUG=0"
SMAKE Program Maintenance Utility (Console) Version 7.50
Copyright (c) 1994-1995 Innovative Data Concepts Incorporated
Copyright (c) 1994-2001 Digital Mars
All Rights Reserved
REM Output to .
SC -cpp -Ae -Ar -mn -o+time -WD -NL -ND -5 -a8 -Nc -c -H -HO-
-D__JAK__
-D_X86_ -D_AFXDLL -D_AFX_CORE_IMPL -D_AFX_OLE_IMPL -D_AFX_NET_IMPL
-D_AFX_DB_IMP
L -D_MT -D_MBCS=1 -I..\..\..\include -I\atl\include -HF.\stdafx.SYM
-o.\stdafx.P
CO ..\..\stdafx.h
inline BSTR T2BSTR(LPCTSTR lp) {USES_CONVERSION; return
::SysAllocString
(T2COLE(lp));}
^
\atl\include\atlconv.h(136) : Warning 6: value of expression is not used
inline BSTR A2BSTR(LPCSTR lp) {USES_CONVERSION; return
::SysAllocString(
A2COLE(lp));}
^
\atl\include\atlconv.h(137) : Warning 6: value of expression is not used
{ ASSERT(::IsWindow(m_hWnd)); return (int)
::SendMessage(m_hWnd, TTM_GE
TDELAYTIME, dwDuration, 0L); }
^
..\..\..\include\afxcmn2.inl(229) : Error: undefined identifier
'TTM_GETDELAYTIM
E'
{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd,
TTM_GETMARGIN, 0, (
LPARAM)lprc); }
^
..\..\..\include\afxcmn2.inl(231) : Error: undefined identifier
'TTM_GETMARGIN'
{ ASSERT(::IsWindow(m_hWnd)); return (int)
::SendMessage(m_hWnd, TTM_GE
TMAXTIPWIDTH, 0, 0L); }
^
..\..\..\include\afxcmn2.inl(233) : Error: undefined identifier
'TTM_GETMAXTIPWI
DTH'
{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF)
::SendMessage(m_hWnd, T
TM_GETTIPBKCOLOR, 0, 0L); }
^
..\..\..\include\afxcmn2.inl(235) : Error: undefined identifier
'TTM_GETTIPBKCOL
OR'
{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF)
::SendMessage(m_hWnd, T
TM_GETTIPTEXTCOLOR, 0, 0L); }
^
..\..\..\include\afxcmn2.inl(237) : Error: undefined identifier
'TTM_GETTIPTEXTC
OLOR'
Fatal error: too many errors
--- errorlevel 1
SMAKE fatal error: command "SC" returned with error code 1
Stopping.
SMAKE fatal error: command "SMAKE" returned with error code 2
Stopping.
May 20 2002








Nikolay Nankov <nnankov hotmail.com>