[Jack-Devel] 64 bit jack applications compiled with mingw crashes

Kjetil Matheussen k.s.matheussen at gmail.com
Sat Jun 13 20:31:10 CEST 2015


On Sat, Jun 13, 2015 at 8:16 PM, Robin Gareus <robin at gareus.org> wrote:

> On 06/13/2015 01:25 PM, Kjetil Matheussen wrote:
> > Hi,
> >
> > I'm trying to compile a 64 bit jack application (radium) with mingw-64.
> [...snip...]
>
> The ABI of libjack on windows is not stable. Not only do the ordinals
> differ with version but also depending on architecture.
>
> MSVC has a workaround for this: link by function-name, not ordinal.
> mingw does not offer this.
>
> The solution adopted by Carla, Ardour and Mixbus is to simply dlopen()
> uhm LoadLibraryA(), libjack at runtime, rather that link the application
> against jack.
>
> An easy way of doing so is provided at https://github.com/x42/weakjack/
>
>
Thank you very much! I've noticed earlier that the ABI is not stable, so
I'll
start using weakjack now.

But in this case, both the compiler environment, and the virtual machine
running windows, uses the exact same version of Jack, so this problem
is probably not an ABI incompatibility issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20150613/0bcfe04c/attachment.html>


More information about the Jackaudio mailing list