<html><body><div style="font-family: Arial; font-size: 10pt; color: #000000"><div>Phil,</div><div><br></div><div>Am I missing something? I've reread the tutorial on pyqtdeploy and can't see anything about the need for XCode when setting up to cross compile from Linux to Mac....</div><div><br></div><div>My setup is:</div><div><br></div><div>o/s Ubuntu 14.04.</div><div>Qt5.5.1</div><div>PyQt-commercial-5.5</div><div>sip-4.17</div><div>Python 2.7.9</div><div><br></div><div>I have set up directories as specified here: http://pyqt.sourceforge.net/Docs/pyqtdeploy/tutorial.html#ref-directory-structure</div><div><br></div><div>I use the PyCharm IDE to edit the Python code which is in a single file. I think I've followed the tutorial re installing the static builds for a native installation and have managed to get the app to compile and run correctly on the host machine (Ubuntu 14.04). So, this should mean that I now have the correct Qt/PyQt/Python libraries and paths set up now and the few Python code changes I had to make to get the App compiled - it was running in the IDE but some changes needed to be made to allow it to compile correctly.</div><div><br></div><div>My (naive!) expectation was that having got all this correct in Linux the only changes required to compile for the Mac (and later windows) would be to change the $SYSROOT and compile static versions of Python, sip and PyQt5 with the same pyqtdeploycli commands as before but with the "target" variable changed from "linux-64" to "osx-64" into the $SYSROOT directory. [ see <a href="http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html">http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html</a> ]</div><div><br></div><div>Clearly this had failed at the first hurdle - I can't seem to compile the static Python with oxs-64 as the target....</div><div><br></div><div>Are my assumptions not correct? If not then what am I missing?</div><div><br></div><div><span style="font-size: small;">PS: searching for util.h on my Mac (<span style="font-family: Helvetica, Arial, sans-serif;" data-mce-style="font-family: Helvetica, Arial, sans-serif;">find /Applications/Xcode.app -name util.h) </span>gives me quite a few results - if I find the correct one do I just copy it from my mac to the linux host? And if so where so I put it? It seems odd to me that this would be required.</span></div><div><span style="font-size: small;"><br></span></div><div><span style="font-size: small;"></span></div><div><span name="x"></span>-- <br>Regards,<br><div><br></div>John Hackett<br>Icon Information Systems<br>74 Gibsons Hill, Norbury, London, SW16 3JS<br>t: 020 8764 2663<br>f: 020 8711 3370<br>m: 07801-231118<br>e: john.hackett@icon-is.co.uk<br>w: www.icon-is.co.uk<br>skype: john_hackett<br>twitter: @iconinfosys<span name="x"></span><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Phil Thompson" <phil@riverbankcomputing.com><br><b>To: </b>"John Hackett" <john.hackett@icon-is.co.uk><br><b>Cc: </b>pyqt@riverbankcomputing.com<br><b>Sent: </b>Tuesday, 8 December, 2015 3:45:10 PM<br><b>Subject: </b>Re: [PyQt] static Python target osx-64 missing util.h<br><div><br></div>...<br><div><br></div>That's a separate (but similar) problem.<br><div><br></div>> Modules/posixmodule.c: At top level:<br>> Modules/posixmodule.c:3869:18: fatal error: util.h: No such file or directory<br>> #include <util.h><br>> ^<br>> compilation terminated.<br>> make: *** [.obj/posixmodule.o] Error 1<br><div><br></div>There seems to be a problem with your setup. You should be able to find util.h in the Xcode stuff...<br><div><br></div>find /Applications/Xcode.app -name util.h<br><div><br></div>Phil</blockquote><div><br></div></div></body></html>