libpd / abl_link

Ableton Link integration for Pure Data on desktop and Android.
Other
80 stars 15 forks source link

Windows compilation #28

Closed Lucarda closed 3 years ago

Lucarda commented 3 years ago

This PR updates "Link" to v3.0.3 and "pd-lib-builder" to v0.6.0. These updates allow finishing Windows compilations without errors.

Tested (build and run) under Windows-10 and Debian-Buster both on i386 and amd64.

PS: For the Windows version I opted to statically link the pthread library. There are ways to not do this and include the pthread dll in the distribution. I can change this if needed.

danomatika commented 3 years ago

PS: For the Windows version I opted to statically link the pthread library. There are ways to not do this and include the pthread dll in the distribution. I can change this if needed.

Ah I saw this after merging into the (new) develop branch. I think it would be possible to link to the pthread dll which is included with Pd, although I'm not sure how to divine this from within pd-lib-builder. Static linking is probably fine for now...

danomatika commented 3 years ago

Ok, this builds fine for me on macOS 11.4.

For anyone finding this later, I needed to specify the arches to match the Pd build on my M1 Apple Silicon machine for the external to load though:

make CFLAGS="-arch x86_64" LDFLAGS="-arch x86_64"