[Wine] Re: Problems with MFC code
oiaohm
wineforum-user at winehq.org
Sat Feb 20 01:47:01 CST 2010
Lets start with some basics. Number 1 wineg++ is a Linux native tool.
winemaker is only an assistant tool for making make files does not work bugless.
"F:/Program\ Files/Stingray\ Objective\
Studio/OT602/Include" Items like that being in the make file will not work. Reason they are windows paths not Linux ones.
For a MFC program the "winemaker --lower-uppercase --mfc ." the --mfc flag is required.
The complier used by wineg++ is Linux gcc compiler. So at times a flag has to be added to disregard difference between Visual C++. Pointing to the raw Visual Studio directories not exactly wise if you need to alter them to be gcc compatible. Also since wineg++ is a Linux native compiler it cannot use Visual Studio libs either. You seam to be using a lot of libs that are not cross platform.
Finally don't use a old version of wine and expect stuff to work well. 1.1.23 is a very old version of wine.
Basically using winemaker it sometime simple just to port the program to QT and be done with it.
More information about the wine-users
mailing list