windows program compiled using wineg++ looks for wine binary

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
supratik_sekhar
Newbie
Newbie
Posts: 4
Joined: Thu Jul 03, 2008 7:40 am

windows program compiled using wineg++ looks for wine binary

Post by supratik_sekhar »

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
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: windows program compiled using wineg++ looks for wine bi

Post by vitamin »

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.
Locked