<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Weird - SUBSURFACE_MOBILE should imply NO_PRINTING<div class=""><br class=""></div><div class="">OK, just pass</div><div class=""><br class=""></div><div class="">-DSUBSURFACE_MOBILE=1 -DNO_PRINTING=1 -DNO_MARBLE=1</div><div class=""><br class=""></div><div class="">to CMake after opening the CMakeLists.txt file in QtCreator</div><div class=""><br class=""></div><div class="">/D</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 29, 2015, at 4:41 AM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" class="">zai.gezundt@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Missing framework was QtXml. Once that was copied over Subsurface runs. So far issues encountered while building on a clean machine:<div class=""><ul class=""><li class="">Qt in PATH</li><li class="">libgcrypt dependency</li><li class="">QtXml framework</li></ul><div class="">Attempt to open CMakeLists.txt with Qt Creator (-DSUBSURFACE_MOBILE=1 supplied) failed with:</div></div><div class=""><br class=""></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px" class=""><div class="">-- Creating build files for Subsurface 4.5.1-278-g0a59fd74e293</div><div class="">CMake Error at CMakeLists.txt:177 (find_package):</div><div class="">  By not providing "FindGrantlee5.cmake" in CMAKE_MODULE_PATH this project</div><div class="">  has asked CMake to find a package configuration file provided by</div><div class="">  "Grantlee5", but CMake did not find one.</div></blockquote></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Nov 27, 2015 at 12:56 PM, Tomaz Canabrava <span dir="ltr" class=""><<a href="mailto:tcanabrava@kde.org" target="_blank" class="">tcanabrava@kde.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="">I know this error. <br class="">
It's missing a qt package for marble in the app bundle <br class="">
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" class="">dirk@hohndel.org</a>> escreveu:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Nov 26, 2015, at 3:21 PM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" target="_blank" class="">zai.gezundt@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">It was built but failed to run: LSOpenURLsWithRole() failed with error -10810 for the file ~/src/subsurface/build/Subsurface.app</div></div></blockquote><div class=""><br class=""></div>Not an error I've seen before. Are there any more messages that you get or just that one line?</div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">Dirk, when I was asking about mobile application - I meant .pro file that can be opened by QtCreator.</div></div></div></blockquote><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">/D</div><div class=""><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Nov 26, 2015 at 5:00 PM, Dirk Hohndel <span dir="ltr" class=""><<a href="mailto:dirk@hohndel.org" target="_blank" class="">dirk@hohndel.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">~/Qt/5.5/<span style="font-family:Menlo;font-size:11px" class="">clang_64/bin/</span><span class=""><font color="#888888" class=""><div class=""><font face="Menlo" class=""><span style="font-size:11px" class=""><br class=""></span></font></div><div class=""><font face="Menlo" class=""><span style="font-size:11px" class="">/D</span></font></div></font></span><div class=""><div class=""><div class=""><font face="Menlo" class=""><span style="font-size:11px" class=""><br class=""></span></font><div class=""><blockquote type="cite" class=""><div class="">On Nov 26, 2015, at 1:44 PM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" target="_blank" class="">zai.gezundt@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">I would expect it to be added by Qt installation. Where should it point?</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Nov 26, 2015 at 4:34 PM, Tomaz Canabrava <span dir="ltr" class=""><<a href="mailto:tcanabrava@kde.org" target="_blank" class="">tcanabrava@kde.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="">The path to the qt binaries are missing from your PATH variable </p>
<div class="gmail_quote"><div class=""><div class="">Em 26 de nov de 2015 18:31, "Zai Gezundt" <<a href="mailto:zai.gezundt@gmail.com" target="_blank" class="">zai.gezundt@gmail.com</a>> escreveu:<br type="attribution" class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class=""><div dir="ltr" class="">Qt was installed as specified into ~/Qt. Only binaries, no source.<br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Nov 26, 2015 at 4:22 PM, Dirk Hohndel <span dir="ltr" class=""><<a href="mailto:dirk@hohndel.org" target="_blank" class="">dirk@hohndel.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Please leave the mailing list copied - that way others can help as well...<div class=""><br class=""><div class=""><span class=""><blockquote type="cite" class=""><div class="">On Nov 26, 2015, at 1:14 PM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" target="_blank" class="">zai.gezundt@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Dirk,<div class=""><br class=""></div><div class="">I followed INSTALL instructions for MaxOSX and got the following:</div><div class=""><ol class=""><li class="">"2)  Install needed dependencies" is missing "libgcrypt".</li></ol></div></div></div></blockquote><div class=""><br class=""></div></span>Thanks for adding that<span class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ol start="2" class=""><li class="">After that build failed with:</li></ol></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class="">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" class=""><div class=""><div class=""><i class="">  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" class=""><div class=""><div class=""><i class="">  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" class=""><div class=""><div class=""><i class="">  CMake did not find one.</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class=""><br class=""></i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class="">  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" class=""><div class=""><div class=""><i class="">  of the following names:</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class=""><br class=""></i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class="">    Qt5GuiConfig.cmake</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class="">    qt5gui-config.cmake</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class=""><br class=""></i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class="">  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" class=""><div class=""><div class=""><i class="">  "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" class=""><div class=""><div class=""><i class="">  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" class=""><div class=""><div class=""><i class="">  installed.</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class="">Call Stack (most recent call first):</i></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class=""><i class="">  CMakeLists.txt:177 (find_package)</i></div></div></blockquote></blockquote><div class=""><br class=""></div></div></div></blockquote><div class=""><br class=""></div></span><div class="">It can't find your Qt installation. Did you install Qt as suggested?</div><span class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">Since you recommend using QtCreator - where "Subsurface-mobile" project is located?</div></div></div></blockquote><div class=""><br class=""></div></span>Once you can </div><div class=""><br class=""></div><div class="">ccmake .</div><div class=""><br class=""></div><div class="">you should be able to open ~/src/subsurface/CMakeLists.txt and that should set things up correctly.</div><div class="">You may have to pass "-DSUBSURFACE_MOBILE=1" as argument when QtCreator wants to run cmake for you</div><span class=""><font color="#888888" class=""><div class=""><br class=""></div><div class="">/D</div></font></span><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Nov 26, 2015 at 2:45 PM, Zai Gezundt <span dir="ltr" class=""><<a href="mailto:zai.gezundt@gmail.com" target="_blank" class="">zai.gezundt@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><span class=""><span style="font-size:12.8px" class="">Ha, so the next four days are the prime time to get you going. I'll make sure to check email often :-)</span><br class=""><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div></span><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px" class=""><div class=""><span style="font-size:12.8px" class="">Don't get excited, I am going to Vermont tomorrow so I am dabbling as much as I can.</span></div></blockquote><span class=""><font color="#888888" class=""><span style="font-size:12.8px" class=""><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div>Z.<br class=""></span><br class=""></font></span></div><div class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Nov 26, 2015 at 2:30 PM, Dirk Hohndel <span dir="ltr" class=""><<a href="mailto:dirk@hohndel.org" target="_blank" class="">dirk@hohndel.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><br class=""><div class=""><span class=""><blockquote type="cite" class=""><div class="">On Nov 26, 2015, at 11:05 AM, Zai Gezundt <<a href="mailto:zai.gezundt@gmail.com" target="_blank" class="">zai.gezundt@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Tomaz: <div class=""><ul class=""><li class="">Alas, no CMake skills worth mentioning.<br class=""></li></ul><div class=""></div></div></div></div></blockquote><div class=""><br class=""></div></span>Dang :-)</div><div class=""><span class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">Dirk:<br class=""></div><div class=""><ul class=""><li class=""><a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" target="_blank" class="">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a> - this one?<br class=""></li></ul></div></div></div></div></div></blockquote><div class=""><br class=""></div></span>Yep<span class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><ul class=""><li class="">Based in EST. </li><li class="">Extensive experience in native iOS development, Objective-C, Swift, Xcode.</li></ul></div></div></div></div></div></blockquote></span><div class="">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 class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><ul class=""><li class="">Android development as well, Java (obviously) and JNI (C++).</li></ul></div></div></div></div></div></blockquote></span><div class="">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 class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><ul class=""><li class="">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 class="">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 class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><ul class=""><li class="">[Holiday] weekends are only time when I can have fun that is not diving.<br class=""></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 class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><ul class=""><li class="">"<span style="font-size:12.8px" class="">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 class="">Yes, I guess that's a fair statement when talking about Subsurface-mobile.</div><div class=""><br class=""></div><div class="">just a little piece of nomenclature: </div><div class="">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 class="">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 class=""><font color="#888888" class=""><br class=""><br class="">/D</font></span></div><div class=""><br class=""></div></div></blockquote></div><br class=""></div>
</div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div></div>
<br class=""></div></div>_______________________________________________<br class="">
subsurface mailing list<br class="">
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank" class="">subsurface@subsurface-divelog.org</a><br class="">
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank" class="">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br class="">
<br class=""></blockquote></div>
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></blockquote></div>
</div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>