On Sat, Jun 13, 2015 at 1:25 PM, Kjetil Matheussen <k.s.matheussen@gmail.com> wrote:

But if I compile it like this (64 bit):

$ x86_64-w64-mingw32-gcc winjacktest.c -I/home/kjetil/.wine/drive_c/Program\ Files/Jack/includes /home/kjetil/.wine/drive_c/Program\ Files/Jack/lib/libjack64.lib

...it crashes.


I got it to work by linking with the .dll instead of the the .lib:

 x86_64-w64-mingw32-gcc winjacktest.c -I/home/kjetil/.wine/drive_c/Program\ Files/Jack/includes /home/kjetil/.wine/drive_c/windows/libjack64.dll