Winelib Test Drive

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
uwe
Level 1
Level 1
Posts: 7
Joined: Mon Aug 04, 2008 8:36 am

Winelib Test Drive

Post by uwe »

hi,

maybe somebody can help me.
At the moment I'm reading the "Winelib User's Guide" and I also tried out the "1.3.2. Test Drive".

Almost everything work. After changing the Makefile it compiled with no error.

this is my result when i start the created notepad2.exe.so

Code: Select all

$ ./notepad2.exe.so
Segmentation fault
This is the user guide
http://www.winehq.org/site/docs/winelib ... ng-started

Thanks
Uwe
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Winelib Test Drive

Post by vitamin »

uwe wrote:

Code: Select all

$ ./notepad2.exe.so
Segmentation fault
You can't run winelib apps directly. You still have to use wine to run them:

Code: Select all

wine ./notepad2.exe.so
uwe
Level 1
Level 1
Posts: 7
Joined: Mon Aug 04, 2008 8:36 am

Post by uwe »

Thanks you for your answer.

I thought when I use winlib i haven't to use use wine to start the executable ?

What is the sense to use winlib?

In the rough I wanted to create an linux executable from windows sources.
how can I do this, I thought winelib ist the answer to this problem.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

uwe wrote:Thanks you for your answer.

I thought when I use winlib i haven't to use use wine to start the executable ?

What is the sense to use winlib?

In the rough I wanted to create an linux executable from windows sources.
how can I do this, I thought winelib ist the answer to this problem.
There are no such thing. You can't create native Linux application by just recompiling your windows source code. Unless you wrote your code with the multi-platform API.
Locked