NathanExplosions
2011-May-26 12:37 UTC
[Wine] How to resolve conflicts between Cocoa and WineLib...?!
Hello Can you please tell me if it is possible to resolve the following Cocoa framework / WineLib 1.3.20 conflicts? I am trying to a port a game from Windows to OS X and I would like to use WINE's Windows Kernel32 library implementation in a Cocoa application [Embarassed] I think I can probably solve the problem by creating a C++ code only Cocoa framework and linking it with WineLib and my application, but surely there is a better solution for this problem... [Question] winbase.h:1608: error: conflicting types for 'GetCurrentProcess' winbase.h:1609: error: conflicting types for 'GetCurrentThread' winbase.h:1877: error: conflicting types for 'LoadResource' wingdi.h:3345: error: conflicting types for 'AnimatePalette' wingdi.h:3440: error: conflicting types for 'EqualRgn' wingdi.h:3452: error: conflicting types for 'FillRgn' wingdi.h:3456: error: conflicting types for 'FrameRgn' wingdi.h:3556: error: conflicting types for 'GetPixel' wingdi.h:3600: error: conflicting types for 'InvertRgn' wingdi.h:3602: error: conflicting types for 'LineTo' wingdi.h:3608: error: conflicting types for 'OffsetRgn' wingdi.h:3611: error: conflicting types for 'PaintRgn' wingdi.h:3625: error: 'Polygon' redeclared as different kind of symbol wingdi.h:3643: error: conflicting types for 'ResizePalette' wingdi.h:3686: error: conflicting types for 'SetRectRgn' winuser.h:4562: error: conflicting types for 'EqualRect' winuser.h:4566: error: conflicting types for 'FillRect' winuser.h:4575: error: conflicting types for 'FrameRect' winuser.h:4617: error: conflicting types for 'GetCursor' winuser.h:4765: error: conflicting types for 'InvertRect' winuser.h:4866: error: conflicting types for 'OffsetRect' winuser.h:4894: error: conflicting types for 'PtInRect' winuser.h:4963: error: conflicting types for 'SetCursor' winuser.h:4994: error: conflicting types for 'SetRect' winuser.h:5036: error: conflicting types for 'ShowCursor' winuser.h:5068: error: conflicting types for 'UnionRect'
vitamin
2011-May-28 00:20 UTC
[Wine] Re: How to resolve conflicts between Cocoa and WineLib...?!
NathanExplosions wrote:> I am trying to a port a game from Windows to OS X and I would like to use WINE's Windows Kernel32 library implementation in a Cocoa applicationSee reply to your other post. This one has only one answer - what you trying to do can not work.