<table cellspacing='0' cellpadding='0' border='0'
><tr><td style="font: inherit;"><font
size="2">Dear All,</font><br>
<br>
<font size="2"> This is
my first post on the wine organisation mailing lists, i would like to inform all
of you i am using the wine-0.9.53 latest version. Now i am in a need to
compile MFC applications with wine. when i tried to compile my sample
application i am getting errors like</font><br>
<br>
<font size="2">[nagarjunab@ibi212 mfc_general_hello]$
make</font><br>
<font size="2">wineg++ -c -mno-cygwin
-I. -o hello.o hello.cpp</font><br>
<font size="2">In file included from
hello.cpp:17:</font><br>
<font size="2">stdafx.h:13:20: afxwin.h: No such file or
directory</font><br>
<font size="2">In file included from
hello.cpp:20:</font><br>
<font size="2">hello.h:26: error: expected class-name before
'{' token</font><br>
<font size="2">hello.h:31: error: ISO C++ forbids declaration of
`afx_msg' with no type</font><br>
<font size="2">hello.h:31: error: expected `;' before
"void"</font><br>
<font size="2">hello.h:32: error: ISO C++ forbids declaration of
`afx_msg' with no type</font><br>
<font size="2">hello.h:32: error: expected `;' before
"void"</font><br>
<font size="2">hello.h:36: error: ISO C++ forbids declaration of
`DECLARE_MESSAGE_MAP' with no type</font><br>
<font size="2">hello.h:36: error: expected `;' before
'}' token</font><br>
<font size="2">hello.h:36: error: expected `;' before
'}' token</font><br>
<font size="2">hello.h:44: error: expected class-name before
'{' token</font><br>
<font size="2">hello.h:46: error: `BOOL' does not name a
type</font><br>
<font size="2">hello.cpp:27: error: `NEAR' does not name a
type</font><br>
<font size="2">hello.cpp: In constructor
`CMainWindow::CMainWindow()':</font><br>
<font size="2">hello.cpp:36: error: `LoadFrame' was not
declared in this scope</font><br>
<font size="2">hello.cpp: At global
scope:</font><br>
<font size="2">hello.cpp:47: error: no `void
CMainWindow::OnPaint()' member function declared in class
`CMainWindow'</font><br>
<font size="2">hello.cpp: In member function `void
CMainWindow::OnPaint()':</font><br>
<font size="2">hello.cpp:48: error: `CRect' was not declared
in this scope</font><br>
<font size="2">hello.cpp:48: error: expected `;' before
"rect"</font><br>
<font size="2">hello.cpp:49: error: `rect' was not declared
in this scope</font><br>
<font size="2">hello.cpp:49: error: `GetClientRect' was not
declared in this scope</font><br>
<font size="2">hello.cpp:51: error: `CPaintDC' was not
declared in this scope</font><br>
<font size="2">hello.cpp:51: error: expected `;' before
"dc"</font><br>
<font size="2">hello.cpp:52: error: `dc' was not declared in
this scope</font><br>
<font size="2">hello.cpp:52: error: `TA_BASELINE' was not
declared in this scope</font><br>
<font size="2">hello.cpp:52: error: `TA_CENTER' was not
declared in this scope</font><br>
<font size="2">hello.cpp:53: error: `::GetSysColor' has not
been declared</font><br>
<font size="2">hello.cpp:53: error: `COLOR_WINDOWTEXT' was
not declared in this scope</font><br>
<font size="2">hello.cpp:54: error: `TRANSPARENT' was not
declared in this scope</font><br>
<font size="2">hello.cpp:55: error: `CString' was not
declared in this scope</font><br>
<font size="2">hello.cpp:55: error: expected `;' before
"s"</font><br>
<font size="2">hello.cpp:56: error: `s' was not declared in
this scope</font><br>
<font size="2">hello.cpp: At global
scope:</font><br>
<font size="2">hello.cpp:69: error: no `void
CMainWindow::OnAbout()' member function declared in class
`CMainWindow'</font><br>
<font size="2">hello.cpp: In member function `void
CMainWindow::OnAbout()':</font><br>
<font size="2">hello.cpp:70: error: `CDialog' was not
declared in this scope</font><br>
<font size="2">hello.cpp:70: error: expected `;' before
"about"</font><br>
<font size="2">hello.cpp:71: error: `about' was not declared
in this scope</font><br>
<font size="2">hello.cpp: At global
scope:</font><br>
<font size="2">hello.cpp:83: error: `CFrameWnd' has not been
declared</font><br>
<font size="2">hello.cpp:85: error: expected constructor,
destructor, or type conversion before
"ON_WM_PAINT"</font><br>
<font size="2">winegcc: g++ failed</font><br>
<font size="2">make: *** [hello.o] Error
2</font><br>
<font size="2"> can anyone let me
know what is the problem, and what i want to do resolving
these errors.</font><br>
<br>
<font size="2">Regards,</font><br>
<font size="2">Nagarjuna Bandi.</font><br>
<font
size="2"></font><br></td></tr></table><br>
<!--4--><hr size=1></hr> Forgot the famous last words?
Access your message archive online. <a
href="http://in.rd.yahoo.com/tagline_webmessenger_4/*http://in.messenger.yahoo.com/webmessengerpromo.php">Click
here.</a>