On Sat, Jun 13, 2015 at 8:16 PM, Robin Gareus <robin(a)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.