Can you verify if you have a file named CMakeCache.txt in your sources directory?
If you do, something happened that made you run cmake in the wrong folder, and you need to remove this. Em 3 de nov de 2015 11:46, "Guido Lerch" <[email protected]> escreveu: > Hi All, > > It seems the build script doesn't work on El Captain. > Here is what I did to make subsurface build. > - ran build.shh > - brew libssh2 - I found errors about libssh2 in the build > > Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the > system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR) > > Could NOT find Libgcrypt (missing: LIBGCRYPT_LIBRARY > LIBGCRYPT_INCLUDE_DIR) > > CMake Error at src/CMakeLists.txt:150 (message): > > No suitable cryptography backend found.m > - fixed all missing foders using ccmake > - ran cmake - got error that building within the subsurface source tree > isn't recommended but the build folder is actually user/src/subsurface/build > - ran make -j4 > - ran make install > works (my version [image: Inline-Bild 1]) > > Any idea about the errors I have seen when running build.sh ? > > 2015-11-03 11:07 GMT+01:00 Guido Lerch <[email protected]>: > >> Hi All, >> >> I am getting several warnings around libdivecomputer. >> >> WARNING: Target "Subsurface" requests linking to directory >> "/Users/glerch/src/libdivecomputer/include". Targets may >> >> link only to libraries. CMake is dropping the item. >> >> this is what ccmake looks like >> >> [image: Inline-Bild 1] >> >> I do not find a cmake folder within libdivecomputer though, any ideas ? >> I deleted the subsurface folder >> cloned subsurface into src >> ran subsurface/scripts/build.sh >> >> got tons of errors because the cmake configuration had no idea about any >> of the >> required libs and Qt. Adding some paths to ccmake fixed that but the I >> have no idea >> about the above. >> >> In general I thought build.sh is supposed to build subsurface, is this >> only me having >> those kind of issues ? >> >> -- >> Best regards, >> Guido >> > > > > -- > Best regards, > Guido > > _______________________________________________ > subsurface mailing list > [email protected] > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface > >
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
