<div dir="ltr">Missing framework was QtXml. Once that was copied over Subsurface runs. So far issues encountered while building on a clean machine:<div><ul><li>Qt in PATH</li><li>libgcrypt dependency</li><li>QtXml framework</li></ul><div>Attempt to open CMakeLists.txt with Qt Creator (-DSUBSURFACE_MOBILE=1 supplied) failed with:</div></div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>-- Creating build files for Subsurface 4.5.1-278-g0a59fd74e293</div><div>CMake Error at CMakeLists.txt:177 (find_package):</div><div>  By not providing "FindGrantlee5.cmake" in CMAKE_MODULE_PATH this project</div><div>  has asked CMake to find a package configuration file provided by</div><div>  "Grantlee5", but CMake did not find one.</div></blockquote></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 27, 2015 at 12:56 PM, Tomaz Canabrava <span dir="ltr"><<a href="mailto:tcanabrava@kde.org" target="_blank">tcanabrava@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I know this error. <br>
It's missing a qt package for marble in the app bundle <br>
Can you run directly the app inside the package,  ./Subsurface.app/Contents/MacOS/Subsurface  ( or something similar), it will video you the name of the missing framework, the it'd a matter of copying it to the framework part of the bundle </p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">Em 27 de nov de 2015 14:48, "Dirk Hohndel" <<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On Nov 26, 2015, at 3:21 PM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" target="_blank">zai.gezundt@gmail.com</a>> wrote:</div><br><div><div dir="ltr">It was built but failed to run: LSOpenURLsWithRole() failed with error -10810 for the file ~/src/subsurface/build/Subsurface.app</div></div></blockquote><div><br></div>Not an error I've seen before. Are there any more messages that you get or just that one line?</div><div><br><blockquote type="cite"><div><div dir="ltr"><div>Dirk, when I was asking about mobile application - I meant .pro file that can be opened by QtCreator.</div></div></div></blockquote><div><br></div><div>And I answered this below. In QtCreator you can open projects many different ways. One is to open a .pro file (that's for qmake based projects). Another is to open a CMakeLists.txt file (that's for cmake based projects). In that case it will ask you to run cmake - there is a field for arguments. Enter -DSUBSURFACE_MOBILE=1 as argument.</div><div><br></div><div>/D</div><div><br></div><br><blockquote type="cite"><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 26, 2015 at 5:00 PM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</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">~/Qt/5.5/<span style="font-family:Menlo;font-size:11px">clang_64/bin/</span><span><font color="#888888"><div><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div><font face="Menlo"><span style="font-size:11px">/D</span></font></div></font></span><div><div><div><font face="Menlo"><span style="font-size:11px"><br></span></font><div><blockquote type="cite"><div>On Nov 26, 2015, at 1:44 PM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" target="_blank">zai.gezundt@gmail.com</a>> wrote:</div><br><div><div dir="ltr">I would expect it to be added by Qt installation. Where should it point?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 26, 2015 at 4:34 PM, Tomaz Canabrava <span dir="ltr"><<a href="mailto:tcanabrava@kde.org" target="_blank">tcanabrava@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">The path to the qt binaries are missing from your PATH variable </p>
<div class="gmail_quote"><div><div>Em 26 de nov de 2015 18:31, "Zai Gezundt" <<a href="mailto:zai.gezundt@gmail.com" target="_blank">zai.gezundt@gmail.com</a>> escreveu:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Qt was installed as specified into ~/Qt. Only binaries, no source.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 26, 2015 at 4:22 PM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</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">Please leave the mailing list copied - that way others can help as well...<div><br><div><span><blockquote type="cite"><div>On Nov 26, 2015, at 1:14 PM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" target="_blank">zai.gezundt@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Dirk,<div><br></div><div>I followed INSTALL instructions for MaxOSX and got the following:</div><div><ol><li>"2)  Install needed dependencies" is missing "libgcrypt".</li></ol></div></div></div></blockquote><div><br></div></span>Thanks for adding that<span><br><blockquote type="cite"><div><div dir="ltr"><div><ol start="2"><li>After that build failed with:</li></ol></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>CMake Error at ~/src/install-root/lib/cmake/Grantlee5/Grantlee5Config.cmake:16 (find_package):</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  asked CMake to find a package configuration file provided by "Qt5Gui", but</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  CMake did not find one.</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i><br></i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  Could not find a package configuration file provided by "Qt5Gui" with any</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  of the following names:</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i><br></i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>    Qt5GuiConfig.cmake</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>    qt5gui-config.cmake</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i><br></i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  "Qt5Gui_DIR" to a directory containing one of the above files.  If "Qt5Gui"</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  provides a separate development package or SDK, be sure it has been</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  installed.</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>Call Stack (most recent call first):</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><i>  CMakeLists.txt:177 (find_package)</i></div></div></blockquote></blockquote><div><br></div></div></div></blockquote><div><br></div></span><div>It can't find your Qt installation. Did you install Qt as suggested?</div><span><br><blockquote type="cite"><div><div dir="ltr"><div>Since you recommend using QtCreator - where "Subsurface-mobile" project is located?</div></div></div></blockquote><div><br></div></span>Once you can </div><div><br></div><div>ccmake .</div><div><br></div><div>you should be able to open ~/src/subsurface/CMakeLists.txt and that should set things up correctly.</div><div>You may have to pass "-DSUBSURFACE_MOBILE=1" as argument when QtCreator wants to run cmake for you</div><span><font color="#888888"><div><br></div><div>/D</div></font></span><div><div><div><blockquote type="cite"><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 26, 2015 at 2:45 PM, Zai Gezundt <span dir="ltr"><<a href="mailto:zai.gezundt@gmail.com" target="_blank">zai.gezundt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><span style="font-size:12.8px">Ha, so the next four days are the prime time to get you going. I'll make sure to check email often :-)</span><br><div><span style="font-size:12.8px"><br></span></div></span><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><span style="font-size:12.8px">Don't get excited, I am going to Vermont tomorrow so I am dabbling as much as I can.</span></div></blockquote><span><font color="#888888"><span style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div>Z.<br></span><br></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 26, 2015 at 2:30 PM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</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"><br><div><span><blockquote type="cite"><div>On Nov 26, 2015, at 11:05 AM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" target="_blank">zai.gezundt@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Tomaz: <div><ul><li>Alas, no CMake skills worth mentioning.<br></li></ul><div></div></div></div></div></blockquote><div><br></div></span>Dang :-)</div><div><span><br><blockquote type="cite"><div><div dir="ltr"><div><div><div>Dirk:<br></div><div><ul><li><a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a> - this one?<br></li></ul></div></div></div></div></div></blockquote><div><br></div></span>Yep<span><br><blockquote type="cite"><div><div dir="ltr"><div><div><div><ul><li>Based in EST. </li><li>Extensive experience in native iOS development, Objective-C, Swift, Xcode.</li></ul></div></div></div></div></div></blockquote></span><div>Xcode is not something I have tried to use when building Subsurface. In theory cmake should be able to create an Xcode project file, so this may be worth investigating - especially since I seem to remember Tomaz telling me at some point that Xcode is needed for iOS, anyway.</div><span><blockquote type="cite"><div><div dir="ltr"><div><div><div><ul><li>Android development as well, Java (obviously) and JNI (C++).</li></ul></div></div></div></div></div></blockquote></span><div>Subsurface-mobile is running as Android app, that's the one we'll use on iOS as well. A C/C++/Qt core with QML UI. No Java involved :-)</div><span><blockquote type="cite"><div><div dir="ltr"><div><div><div><ul><li>Running OS X El Capitan on the VMWare (Windows 7 as a host). Have couple of iDevices for testing beyond simulator.</li></ul></div></div></div></div></div></blockquote></span><div>As I said, you can't (really) build on Windows. MacOS should be fine. We occasionally have hiccups there (because most of the main developers are on Linux), but actually the number of Mac based developers keeps increasing and I try to make sure that we don't break things too often for people on the Mac. Both Tomaz and I have Macs as well (but mainly develop under Linux).</div><span><blockquote type="cite"><div><div dir="ltr"><div><div><div><ul><li>[Holiday] weekends are only time when I can have fun that is not diving.<br></li></ul></div></div></div></div></div></blockquote></span>Ha, so the next four days are the prime time to get you going. I'll make sure to check email often :-)<span><br><blockquote type="cite"><div dir="ltr"><div><div><div><ul><li>"<span style="font-size:12.8px">If you want to work on Qt/QML ..." - it seems I have no choice if I want to contribute to Subsurface?</span></li></ul></div></div></div></div></blockquote></span><div>Yes, I guess that's a fair statement when talking about Subsurface-mobile.</div><div><br></div><div>just a little piece of nomenclature: </div><div>Subsurface is the desktop app - runs on Linux, Mac and Windows.</div>Subsurface-mobile is the, err, mobile app - runs on Android (and Linux and Mac for development purposes). Should soon run on iOS.</div><div>Subsurface companion app is what we call the old companion apps (we have two completely different ones for Android and iOS. All they do is collect GPS fixes.<span><font color="#888888"><br><br>/D</font></span></div><div><br></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div></div>
<br></div></div>_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
<br></blockquote></div>
</blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></blockquote></div>
</div></div></blockquote></div><br></div>