[PD] - need some assistance compiling an external for Windows

Scott R. Looney scottrlooney at gmail.com
Wed Jul 10 08:05:40 CEST 2019


hey folks, i asked this on the PD patchrepo but no response so far.

i've recently run into a situation in which i have to recompile an external
currently only available for mac (pd_darwin) to a Windows platform. the
code was ported from the original C/C++ code of the Mutable Instrument
module called Plaits. basically it's just a release of the DSP code as a PD
object. it's hosted here:

https://github.com/jnonis/pd-plaits

he's including the xcode project but i believe the code itself is just
straight .cpp files wrapped into the PD external template code. i think
he's using the pdlibbuilder library that's been recently released, but i
have had absolutely zero experience with compiling the source for different
platforms.  i'm on macOS and have installed GCC and mingw-64 via Homebrew
so i should have what i need.

after blundering around i was able to figure out how to build by just
typing 'make all' in the directory, but it just made a linux .o and a
.pd_darwin library. there must be a way to override the system architecture
and force it to build a DLL. so far i've tried 'make all x86_64' and 'make
all Windows' which give errors pretty quickly.

if someone could help getting me over this hump it'd be appreciated! i'm
assuming it should be a relatively easy compile, i just need to know what
flags or overrides to put in. thanks in advance!

best,
scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190709/16c18a7c/attachment-0001.html>


More information about the Pd-list mailing list