[Wine] MFC Code Compile Error

Jagan Arikuti arikuti.jagan at gmail.com
Fri Feb 19 23:19:27 CST 2010


Dear Friend


  Need in Help

  I created using Application wizard vc++ 6.0 single document interface  ....

  wineg++ -c  -mno-cygwin -I. -I/home/khana/mvs6/VC98/mfc/include
-I/home/khana/mvs6/VC98/include   -o DemoMfc.o DemoMfc.cpp
In file included from /home/khana/mvs6/VC98/include/windef.h:166,
                 from /home/khana/mvs6/VC98/include/windows.h:163,
                 from /home/khana/mvs6/VC98/mfc/include/afxv_w32.h:120,
                 from /home/khana/mvs6/VC98/mfc/include/afxver_.h:144,
                 from /home/khana/mvs6/VC98/mfc/include/afx.h:27,
                 from /home/khana/mvs6/VC98/mfc/include/afxwin.h:19,
                 from StdAfx.h:22,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/include/winnt.h:113:1: warning: "_cdecl" redefined
<command-line>: warning: this is the location of the previous definition
/home/khana/mvs6/VC98/include/winnt.h:630:2: error: #error Must define
a target architecture.
In file included from /home/khana/mvs6/VC98/mfc/include/afxver_.h:148,
                 from /home/khana/mvs6/VC98/mfc/include/afx.h:27,
                 from /home/khana/mvs6/VC98/mfc/include/afxwin.h:19,
                 from StdAfx.h:22,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/mfc/include/afxv_cpu.h:14:3: error: #error
afxv_cpu.h is only for MIPS R4000, DEC AXP, and IBM PowerPC builds
In file included from /home/khana/mvs6/VC98/mfc/include/afx.h:170,
                 from /home/khana/mvs6/VC98/mfc/include/afxwin.h:19,
                 from StdAfx.h:22,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/include/crtdbg.h:558:8: warning: extra tokens at
end of #endif directive
In file included from /home/khana/mvs6/VC98/mfc/include/afx.h:1953,
                 from /home/khana/mvs6/VC98/mfc/include/afxwin.h:19,
                 from StdAfx.h:22,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/mfc/include/afxcoll.h:1481:23: error:
afxcoll.inl: No such file or directory
In file included from /home/khana/mvs6/VC98/mfc/include/afxwin.h:19,
                 from StdAfx.h:22,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/mfc/include/afx.h:1971:19: error: afx.inl: No
such file or directory
In file included from StdAfx.h:22,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/mfc/include/afxwin.h:4639:23: error:
afxwin1.inl: No such file or directory
/home/khana/mvs6/VC98/mfc/include/afxwin.h:4640:23: error:
afxwin2.inl: No such file or directory
In file included from /home/khana/mvs6/VC98/mfc/include/afxext.h:18,
                 from StdAfx.h:23,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/mfc/include/afxdlgs.h:770:23: error:
afxdlgs.inl: No such file or directory
In file included from StdAfx.h:23,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/mfc/include/afxext.h:1095:22: error: afxext.inl:
No such file or directory
In file included from /home/khana/mvs6/VC98/include/oaidl.h:149,
                 from /home/khana/mvs6/VC98/include/oleauto.h:53,
                 from /home/khana/mvs6/VC98/include/ole2.h:42,
                 from /home/khana/mvs6/VC98/include/unknwn.h:28,
                 from /home/khana/mvs6/VC98/include/objbase.h:371,
                 from /home/khana/mvs6/VC98/mfc/include/afxdisp.h:24,
                 from StdAfx.h:24,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/include/objidl.h:8888:1: error: pasting "/" and
"/" does not give a valid preprocessing token
In file included from /home/khana/mvs6/VC98/include/oleauto.h:53,
                 from /home/khana/mvs6/VC98/include/ole2.h:42,
                 from /home/khana/mvs6/VC98/include/unknwn.h:28,
                 from /home/khana/mvs6/VC98/include/objbase.h:371,
                 from /home/khana/mvs6/VC98/mfc/include/afxdisp.h:24,
                 from StdAfx.h:24,
                 from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/include/oaidl.h:419:1: error: pasting "/" and
"/" does not give a valid preprocessing token
/home/khana/mvs6/VC98/include/oaidl.h:433:1: error: pasting "/" and
"/" does not give a valid preprocessing token
^Cmake: *** [DemoMfc.o] Error 1


regards
jagan



More information about the wine-users mailing list