<p dir="ltr">Can you verify if you have a file named CMakeCache.txt in your sources directory? </p>
<p dir="ltr">If you do, something happened that made you run cmake in the wrong folder, and you need to remove this. </p>
<div class="gmail_quote">Em 3 de nov de 2015 11:46, "Guido Lerch" <<a href="mailto:guido.lerch@gmail.com">guido.lerch@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>It seems the build script doesn't work on El Captain.</div><div>Here is what I did to make subsurface build.</div><div>- ran build.shh</div><div>- brew libssh2 - I found errors about libssh2 in the build</div><div>







<p><span>Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing:  OPENSSL_INCLUDE_DIR)</span></p><p><span>Could NOT find Libgcrypt (missing:  LIBGCRYPT_LIBRARY LIBGCRYPT_INCLUDE_DIR) </span></p><p><span>CMake Error at src/CMakeLists.txt:150 (message):</span></p><p><span>









</span></p><p><span>  No suitable cryptography backend found.m</span></p></div><div>- fixed all missing foders using ccmake</div><div>- ran cmake - got error that building within the subsurface source tree isn't recommended but the build folder is actually user/src/subsurface/build</div><div>- ran make -j4</div><div>- ran make install</div><div>works (my version  <img src="cid:ii_150cd982b459c1f7" alt="Inline-Bild 1" width="288" height="28">)</div><div><br></div><div>Any idea about the errors I have seen when running build.sh ?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-03 11:07 GMT+01:00 Guido Lerch <span dir="ltr"><<a href="mailto:guido.lerch@gmail.com" target="_blank">guido.lerch@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I am getting several warnings around libdivecomputer.</div><div>







<p><span> WARNING: Target "Subsurface" requests linking to directory "/Users/glerch/src/libdivecomputer/include".  Targets may</span></p>
<p><span> link only to libraries.  CMake is dropping the item.</span></p><p><span>this is what ccmake looks like</span></p><p><span><img src="cid:ii_150cccea084c308d" alt="Inline-Bild 1" width="544" height="42"><br></span></p><p><span>I do not find a cmake folder within libdivecomputer though, any ideas ?</span></p><div>I deleted the subsurface folder</div><div>cloned subsurface into src</div><div>ran subsurface/scripts/build.sh</div><div><br></div><div>got tons of errors because the cmake configuration had no idea about any of the</div><div>required libs and Qt. Adding some paths to ccmake fixed that but the I have no idea</div><div>about the above.</div><div><br></div><div>In general I thought build.sh is supposed to build subsurface, is this only me having</div><div>those kind of issues ?</div><span><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">Best regards,<div>Guido</div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Best regards,<div>Guido</div></div></div>
</div>
<br>_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">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>