Can't get a minimal Windows app running with winelib
Dimitrie O. Paun
dimi at intelliware.ca
Thu Feb 12 11:23:17 CST 2004
On Thu, 12 Feb 2004, Chris Seaton wrote:
> winegcc -mwindows -o test.exe -Iwine/windows test.c -lwine
> -lkernel32.dll -luser32.dll
You don't need these:
-Iwine/windows
-lwine
The other libs:
-lkernel32.dll
-luser32.dll
are not needed either, they are linked in by default.
So the above can be built as such:
winegcc -mwindows -o test.exe test.c
> Which succeeds but when I run ./test I get
>
> err:heap:HEAP_GetPtr Invalid heap (nil)!
> Segmentation fault
This is strange, can you please send a the output of
./test --debugmsg +relay,+all 2>test.log
--
Dimi.
More information about the wine-devel
mailing list