supratik_sekhar
2008-Jul-03 13:09 UTC
[Wine] windows program compiled using wineg++ looks for wine binary
Hi ! I have compiled a sample Windows VC++ win 32 based HelloWorld application using the winelib. I used wineg++ to compile the application in Linux. When I try to execute the application it looks for wine. When I set the path to the wine /bin directory the application works properly. Is it possible that after compiling using wineg++ the program will run in any platform even if wine is not installed in that system. When I compile the sample application using g++ with winelib it does not throw up any error but during linking time it gives many "undefined reference" error. Is not possible to make a Linux native binary using the winelib.
vitamin
2008-Jul-03 13:52 UTC
[Wine] Re: windows program compiled using wineg++ looks for wine binary
supratik_sekhar wrote:> Hi ! > > I have compiled a sample Windows VC++ win 32 based HelloWorld application using the winelib. I used wineg++ to compile the application in Linux. When I try to execute the application it looks for wine. When I set the path to the wine /bin directory the application works properly. > > Is it possible that after compiling using wineg++ the program will run in any platform even if wine is not installed in that system.No it's not currently possible. Winelib application is a library not a real executable and requires full Wine to run.