Re: My first winelib app - where am I going wrong?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nonoitall wrote:
> Now I try to compile the same code with Winelib, but I'm having problems:
> 
> Code:
> winegcc -mwindows -mno-cygwin *.c -o main
> 
> 

This is not correct. You need to use something like this:

Code:
winegcc -Bwinebuild -I/usr/include/local/src/wine.git-build/include -I/usr/local/src/wine.git/include -mwindows test.c -o test.exe.so -luser32 -lkernel32


Adjust path to your Wine's include directory.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux