<div dir="ltr">Rob,<div><br></div><div>libffi is a separate library you must compile and link in. It already supports iOS and compiles into a static library with no modifications.</div><div><br></div><div>Download it here:</div><div><br></div><div><a href="https://sourceware.org/libffi/">https://sourceware.org/libffi/</a><br></div><div><br></div><div>Good Luck!</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 1:31 AM, Robert Kent <span dir="ltr"><<a href="mailto:rob@gulon.co.uk" target="_blank">rob@gulon.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Seems to be an issue with _ctypes.c and callproc.c when I include the top level ctypes package in the pyqtdeploy GUI.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">If I leave it out, I can build a perfectly happy app. </div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">So, how to configure Python for iOS to allow the use of ctypes (with or without libffi)?</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Cheers, Rob</div><div><div class="h5"> <br> <div><div style="font-family:helvetica,arial;font-size:13px"><br></div></div> <br><p>On 19 May 2016 at 19:17:19, Robert Kent (<a href="mailto:rob@gulon.co.uk" target="_blank">rob@gulon.co.uk</a>) wrote:</p> <blockquote type="cite"><span><div style="word-wrap:break-word"><div></div><div>









<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
It seems that ctypes (for 1) requires libffi to build which doesn’t
seem to be available for iOS (when I go look in the module folder)
so the build fails when it tries to include it.</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Is this a pyconfig.h issue or otherwise?</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Cheers, Rob</div>
<br>
<div>
<div style="font-family:helvetica,arial;font-size:13px">
<br></div>
</div>


</div></div></span></blockquote></div></div></div><br>_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>