NathanExplosions
2011-May-27 11:39 UTC
[Wine] [OS X] How to link kernel32.lib.so with OS X XCode project?
Hi Please tell me how can I use parts of WINE / WineLib (mainly Kernel32 library implementation) in Mac OS XCode projects? I tried to link kernel32.lib.so with a test application, which used one of the Kernel32 functions - GetCurrentDirectoryA(), but got a linker error, which was not able to resolve this function :? The most puzzling thing is that if I run otool on Kernel32.lib.so, it says the shared library is linked with several OS X dynamic libraries and also with libWine.dylib... But what is libWine.dylib? I've installed WINE with MacPorts and there is no libWine.dylib on my system... Should I try to build WINE manually [Crying or Very sad] [Crying or Very sad] [Crying or Very sad] [Crying or Very sad] [Crying or Very sad], probably selling my soul to the devil in order to resolve somehow unbelievably painful problems with 68 libraries, which WINE depends on...? [Shocked] I'm desperate, please help!!!
James McKenzie
2011-May-27 15:03 UTC
[Wine] [OS X] How to link kernel32.lib.so with OS X XCode project?
On Fri, May 27, 2011 at 4:39 AM, NathanExplosions <wineforum-user at winehq.org> wrote:> Hi > > Please tell me how can I use parts of WINE / WineLib (mainly Kernel32 library implementation) in Mac OS XCode projects? > I tried to link kernel32.lib.so with a test application, which used one of the Kernel32 functions - GetCurrentDirectoryA(), but got a linker error, > which was not able to resolve this function :? >What EXACTLY are you trying to do with Wine? BTW, Wine DOES NOT support the Aqua interface and requires the use of X11. James McKenzie
vitamin
2011-May-28 00:10 UTC
[Wine] Re: [OS X] How to link kernel32.lib.so with OS X XCode project?
NathanExplosions wrote:> Please tell me how can I use parts of WINE / WineLib (mainly Kernel32 library implementation) in Mac OS XCode projects?Simple answer: you can't. Long answer: winelib requires entire Wine to run. You can not simply link to parts of Wine without major code modifications.