Hi,

I am trying to use Katja's build system to compile Pd externals https://github.com/pure-data/pd-lib-builder ) , it works for Arm but when compiling for Osx I get this sort of errors (just a random selection). Any hints?


/usr/include/sys/_types.h:107:9: error: unknown type name '__darwin_natural_t'

typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */



/usr/include/sys/_types.h:134:9: error: unknown type name '__uint32_t'; did you

      mean 'uint32_t'?



/usr/include/machine/_types.h:34:2: error: architecture not supported

#error architecture not supported



/usr/include/sys/_types.h:111:9: error: unknown type name '__int32_t'

typedef __int32_t       __darwin_pid_t;



/usr/include/_types/_uint32_t.h:31:22: note: 'uint32_t' declared here

typedef unsigned int uint32_t;


github.com
In your Makefile, define your Pd lib name and class files, and include Makefile.pdlibbuilder at the end of the Makefile. Like so: # Makefile for mylib lib.name ...