<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I wanted to report my experiences trying to build subsurface (-mobile) on my new Mac. Yesterday, I got this new Macbook Pro fresh from Apple and I had hoped that not carrying around old versions of stuff, I might be able to finally build the mobile version (as Dirk does without problems). Spoiler alert: I did not.</div><div class=""><br class=""></div><div class="">So, before installing anything else, I got Xcode, cloned latest master, installed home-brew as in the INSTALL instructions, downloaded the latest Qt (takes forever). And then ran the build.sh script. I ran into the following problems:</div><div class=""><br class=""></div><div class="">1) It complained that it couldn’t find libssh2 (so I installed it from home-brew, maybe that should be listed in the install instructions as well).</div><div class=""><br class=""></div><div class="">2) When building marble, it complained about not being able to find some Qt components. So I had to set some path variables to ~/<span style="font-family: Menlo; font-size: 11px;" class="">Qt/5.5/clang_64/lib/cmake/XXX (XXX being various stuff, too bad I closed that shell so cannot see the details anymore) But then it built.</span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">3) The resulting binary complains</span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">d</span><span style="font-family: Menlo; font-size: 11px;" class="">hcp-10-181-1-30:build Helling$ Subsurface.app/Contents/MacOS/Subsurface</span><span style="font-family: Menlo; font-size: 11px;" class=""> </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">dyld: Library not loaded: @executable_path/lib/libssrfmarblewidget.21.dylib</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">  Referenced from: /Users/Helling/src/subsurface/build/Subsurface.app/Contents/MacOS/Subsurface</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">  Reason: image not found</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Trace/BPT trap: 5</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">I have no idea what to do about this. But when I disable marble using ccmake, I get a binary that works (but of course does not show a map).</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">4) That was the desktop. But the real goal is the mobile version. So I turn it on in ccmake and… I can build a binary but it gives me the same error messages as on my other Macs:</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">…</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">And now comes the real surprise: I got the same error before. But to compose this mail, I switched back to desktop and then to mobile and built again. And now it works. I have the mobile version running! Yippee! But I have no idea what changed to before. Heisenbug.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Best</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Robert</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div></body></html>