<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi,</p>
<p>I am trying to use Katja's build system to compile Pd externals <gs id="038febfb-c5bc-4bec-b90c-1828f28f36cf" ginger_software_uiphraseguid="36a5c420-fdbc-470d-94c4-9c9aa741ecdb" class="GINGER_SOFTWARE_mark">
( </gs><a href="https://github.com/pure-data/pd-lib-builder" class="OWAAutoLink" id="LPlnk383398" previewremoved="true">https://github.com/pure-data/pd-lib-builder</a><gs id="408f2b04-1f91-4139-8701-f0c4d0439f20" ginger_software_uiphraseguid="36a5c420-fdbc-470d-94c4-9c9aa741ecdb" class="GINGER_SOFTWARE_mark"> )</gs><gs id="9818c61f-69e9-425d-b657-33ce13b87970" ginger_software_uiphraseguid="36a5c420-fdbc-470d-94c4-9c9aa741ecdb" class="GINGER_SOFTWARE_mark">
 ,</gs> it works for Arm but when compiling for Osx I get this sort of errors (just a random selection). Any hints?</p>
<p><br>
</p>
<p></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<b>/<gs id="9eabb3e7-67b9-4e68-8dc6-fb637f2a3d4e" ginger_software_uiphraseguid="7817db05-779f-414b-a2f5-57026be9a09a" class="GINGER_SOFTWARE_mark">usr</gs>/include/sys/_types<gs id="c35eba83-1ae3-4d0b-a7d1-5ea9a69356db" ginger_software_uiphraseguid="7817db05-779f-414b-a2f5-57026be9a09a" class="GINGER_SOFTWARE_mark">.</gs>h<gs id="8a9b40ab-33d1-4520-8815-e620ba38a80d" ginger_software_uiphraseguid="7817db05-779f-414b-a2f5-57026be9a09a" class="GINGER_SOFTWARE_mark">:</gs>107:9:
</b><span style="color: rgb(195, 55, 32);"><b>error: </b></span><b>unknown type name '__darwin_natural_t'</b></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<gs id="ec79eadd-eca0-4d6b-ad71-2dc2432dbc98" ginger_software_uiphraseguid="977dceb0-2f1e-4a7f-bb7f-8a1805f49789" class="GINGER_SOFTWARE_mark">typedef</gs> __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */</p>
<br>
<p></p>
<p><br>
</p>
<p></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<b>/<gs id="3a700be3-e42a-4481-9e4f-7708705d76b5" ginger_software_uiphraseguid="2be6663e-95e6-4697-8cfb-6707323bf281" class="GINGER_SOFTWARE_mark">usr</gs>/include/sys/_types<gs id="6e0b4afd-7556-4fb1-982e-927bba330a3f" ginger_software_uiphraseguid="2be6663e-95e6-4697-8cfb-6707323bf281" class="GINGER_SOFTWARE_mark">.</gs>h<gs id="28e080b4-0a7d-4e59-85c6-162aac4e5ec0" ginger_software_uiphraseguid="2be6663e-95e6-4697-8cfb-6707323bf281" class="GINGER_SOFTWARE_mark">:</gs>134:9:
</b><span style="color: rgb(195, 55, 32);"><b>error: </b></span><b>unknown type name '__uint32_t'; did you</b></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<b>      <gs id="0aa08be9-65ac-4253-a8d1-3f06ee40369b" ginger_software_uiphraseguid="cae32712-235a-4b52-962e-01bc40ddfcf0" class="GINGER_SOFTWARE_mark">
mean</gs> 'uint32_t'?</b></p>
<br>
<p></p>
<p><br>
</p>
<p></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<b>/<gs id="9cee92f3-b230-490d-bd6d-5a3cb3c6d66f" ginger_software_uiphraseguid="085a3bda-0cc5-4ba8-a825-2ef7e78bbb43" class="GINGER_SOFTWARE_mark">usr</gs>/include/machine/_types<gs id="d6d55468-2a5e-4de3-811c-4b145b7c07e4" ginger_software_uiphraseguid="085a3bda-0cc5-4ba8-a825-2ef7e78bbb43" class="GINGER_SOFTWARE_mark">.</gs>h<gs id="cc72a794-4952-43e0-a2b8-c71a8089d31d" ginger_software_uiphraseguid="085a3bda-0cc5-4ba8-a825-2ef7e78bbb43" class="GINGER_SOFTWARE_mark">:</gs>34:2:
</b><span style="color: rgb(195, 55, 32);"><b>error: </b></span><b>architecture not supported</b></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
#error architecture not supported</p>
<br>
<p></p>
<p><br>
</p>
<p></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<b>/<gs id="18acc331-52f3-4074-9070-e1ffccb94582" ginger_software_uiphraseguid="ac8b9efe-e8fd-4120-9ef6-c3a780322db9" class="GINGER_SOFTWARE_mark">usr</gs>/include/sys/_types<gs id="cc6af8c2-7c04-422f-90bd-26b1b48f57b5" ginger_software_uiphraseguid="ac8b9efe-e8fd-4120-9ef6-c3a780322db9" class="GINGER_SOFTWARE_mark">.</gs>h<gs id="fc63de4b-b098-41c1-ace4-7a7c1ac8956a" ginger_software_uiphraseguid="ac8b9efe-e8fd-4120-9ef6-c3a780322db9" class="GINGER_SOFTWARE_mark">:</gs>111:9:
</b><span style="color: rgb(195, 55, 32);"><b>error: </b></span><b>unknown type name '__int32_t'</b></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<gs id="3b5bf0f2-6f9b-48f3-a73e-a08ae96342d5" ginger_software_uiphraseguid="f9a8e321-9d90-4e55-a052-c5049fef1d8b" class="GINGER_SOFTWARE_mark">typedef</gs> __int32_t       __darwin_pid_t;</p>
<br>
<p></p>
<p><br>
</p>
<p></p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<b>/<gs id="7d398583-6846-46f1-90e7-25798efbd9ce" ginger_software_uiphraseguid="a995469f-240c-4597-97dc-9bf427a461b2" class="GINGER_SOFTWARE_mark">usr</gs>/include/_types/_uint32_t<gs id="fe4826f5-daee-49ff-8970-e27f07c4604d" ginger_software_uiphraseguid="a995469f-240c-4597-97dc-9bf427a461b2" class="GINGER_SOFTWARE_mark">.</gs>h<gs id="833d4a5a-735d-4c8c-8835-a9d610198514" ginger_software_uiphraseguid="a995469f-240c-4597-97dc-9bf427a461b2" class="GINGER_SOFTWARE_mark">:</gs>31:22:
 note: </b>'uint32_t' declared here</p>
<p style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<gs id="5c0ee470-facc-4043-a9bc-b0946aaa21f2" ginger_software_uiphraseguid="df377c89-1baf-4aec-b90d-79d0ba2f7b09" class="GINGER_SOFTWARE_mark">typedef</gs> unsigned int uint32_t;</p>
<br>
<p></p>
<div id="LPBorder_GT_14881247424720.9706091173176605" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14881247424690.00045520912100882605" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="ImageCell_14881247424700.6221550697169524" colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;">
<div id="LPImageContainer_14881247424700.7947373799445041" style="background-color: rgb(255, 255, 255); height: 250px; position: relative; margin: auto; display: table; width: 250px;">
<a id="LPImageAnchor_14881247424700.8699006125963917" href="https://github.com/pure-data/pd-lib-builder" target="_blank" style="display: table-cell; text-align: center;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14881247424700.03883064407462666" style="display: inline-block; max-width: 250px; max-height: 250px; height: 250px; width: 250px; border-width: 0px; vertical-align: bottom;" width="250" height="250" src="https://avatars1.githubusercontent.com/u/10228017?v=3&s=400"></a></div>
</td>
<td id="TextCell_14881247424710.26272915784442485" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14881247424710.9244377568238971"></div>
<div id="LPTitle_14881247424710.8476356481479901" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14881247424710.8510582682860948" href="https://github.com/pure-data/pd-lib-builder" target="_blank" style="text-decoration: none;" title="https://github.com/pure-data/pd-lib-builder
Cmd+Click or tap to follow the link"><gs id="ec38bd2d-e621-4eb9-9ee1-932b2a415f6f" ginger_software_uiphraseguid="9778afd3-71d1-4a77-a9d5-4ab9ee368b4b" class="GINGER_SOFTWARE_mark">GitHub</gs>
 - pure-data/<gs id="d5a25763-9d84-46d1-a4ad-17154a6d1782" ginger_software_uiphraseguid="9778afd3-71d1-4a77-a9d5-4ab9ee368b4b" class="GINGER_SOFTWARE_mark">pd</gs>-lib-builder: Helper
<gs id="18a35bba-ec5e-4554-b796-842247dfef3e" ginger_software_uiphraseguid="9778afd3-71d1-4a77-a9d5-4ab9ee368b4b" class="GINGER_SOFTWARE_mark">
makefile</gs> for<gs id="6105d26e-0233-4970-81a2-d4ec1f3a9388" ginger_software_uiphraseguid="9778afd3-71d1-4a77-a9d5-4ab9ee368b4b" class="GINGER_SOFTWARE_mark"> ...</gs></a></div>
<div id="LPMetadata_14881247424710.6421378764450822" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
github.com</div>
<div id="LPDescription_14881247424720.48006375038784466" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
In your Makefile, define your Pd lib name and class files, and include Makefile<gs id="d2fba6a5-c413-43ec-9179-2f2a7ee2ac7b" ginger_software_uiphraseguid="e1f68028-5982-45e6-a1c0-e78530bb43cb" class="GINGER_SOFTWARE_mark">.</gs><gs id="d8978af6-1aef-41d1-842e-a60f8155a977" ginger_software_uiphraseguid="e1f68028-5982-45e6-a1c0-e78530bb43cb" class="GINGER_SOFTWARE_mark">pdlibbuilder</gs>
 at the end of the Makefile. Like so: # Makefile for <gs id="4e73b08a-dd6d-41e6-9cfa-7990498a9009" ginger_software_uiphraseguid="b8e0a52b-ebff-4ff0-b68c-1b4c9e732bce" class="GINGER_SOFTWARE_mark">
mylib</gs> lib<gs id="44da28a1-bb20-4a56-b9f7-60d9eba3f5a7" ginger_software_uiphraseguid="b8e0a52b-ebff-4ff0-b68c-1b4c9e732bce" class="GINGER_SOFTWARE_mark">.</gs>name<gs id="4f03513c-0f7c-4d69-aee2-3e6271baaa0e" ginger_software_uiphraseguid="b8e0a52b-ebff-4ff0-b68c-1b4c9e732bce" class="GINGER_SOFTWARE_mark">
 ...</gs></div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</body>
</html>