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

Stéphane Letz letz at grame.fr
Sat Jun 13 21:35:53 CEST 2015




Le 13 juin 2015 à 20:16, Robin Gareus <robin at gareus.org> a écrit :

> 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/
> 
> best,
> robin
> _

Another weak-link version is part of Jack2 tree, here:

https://github.com/sletz/jack2/blob/master/common/JackWeakAPI.c

Stéphane


More information about the Jackaudio mailing list