<div dir="ltr"><div>Hallo,<br><br>ich versuche grad vzlogger zu kompilieren- hatte auch schonmal geklappt. Diesmal scheitere ich an der Einbindung von libsml.<br><br></div><div>Das passiert sogar wenn ich SML deaktviere. Kann es sein dass meine defines keinen Einfluss auf den Build Prozess haben???<br>
<br></div><div>Alles mit aktuellem git clone:<br></div><div><br>pi@devpi ~ $ cd vzlogger3<br>pi@devpi ~/vzlogger3 $ cmake -DENABLE_SML=off .<br>-- The C compiler identification is GNU 4.6.3<br>-- The CXX compiler identification is GNU 4.6.3<br>
-- Check for working C compiler: /usr/bin/gcc<br>-- Check for working C compiler: /usr/bin/gcc -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>Compiling for target ''<br>-- checking if -Wno-ignored-qualifiers works<br>
-- Performing Test W_NO_IGNORED_QUALIFIERS<br>-- Performing Test W_NO_IGNORED_QUALIFIERS - Success<br>-- FindMicrohttpd check<br>-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")<br>-- checking for module 'microhttpd>=0.9'<br>
-- package 'microhttpd>=0.9' not found<br>-- MICROHTTPD_HOME env is not set, setting it to /usr/local<br>-- Looking for microhttpd in /usr/local<br>-- Looking for include file pthread.h<br>-- Looking for include file pthread.h - found<br>
-- Looking for pthread_create<br>-- Looking for pthread_create - not found.<br>-- Looking for pthread_create in pthreads<br>-- Looking for pthread_create in pthreads - not found<br>-- Looking for pthread_create in pthread<br>
-- Looking for pthread_create in pthread - found<br>-- Found Threads: TRUE<br>-- FindJson check<br>-- checking for module 'json>=0.9'<br>-- found json, version 0.10<br>-- JSON_HOME env is not set, setting it to /usr/local<br>
-- Looking for json in /usr/local<br>Jsoon search: '/usr/local/include;/usr/local/include;/usr/local/include;/usr/include'<br>-- FindCURL check<br>-- checking for module 'libcurl>=7.19'<br>-- found libcurl, version 7.26.0<br>
-- ==> ''<br>-- CURL_HOME env is not set, setting it to /usr/local<br>-- Looking for curl in /usr/local<br>==> CURL_LIBRARIES='/usr/lib/arm-linux-gnueabihf/libcurl.a;/usr/lib/arm-linux-gnueabihf/libidn.a;/usr/lib/arm-linux-gnueabihf/libssh2.a;/usr/lib/arm-linux-gnueabihf/liblber.a;/usr/lib/arm-linux-gnueabihf/libldap.a;/usr/lib/arm-linux-gnueabihf/librt.a;-lgssapi_krb5;-lkrb5;-lk5crypto;/usr/lib/arm-linux-gnueabihf/libcom_err.a;/usr/lib/arm-linux-gnueabihf/libssl.a;/usr/lib/arm-linux-gnueabihf/libcrypto.a;/usr/lib/arm-linux-gnueabihf/librtmp.a;/usr/lib/arm-linux-gnueabihf/libz.a;/usr/lib/arm-linux-gnueabihf/libgnutls.a'<br>
-- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.a;/usr/lib/arm-linux-gnueabihf/libidn.a;/usr/lib/arm-linux-gnueabihf/libssh2.a;/usr/lib/arm-linux-gnueabihf/liblber.a;/usr/lib/arm-linux-gnueabihf/libldap.a;/usr/lib/arm-linux-gnueabihf/librt.a;-lgssapi_krb5;-lkrb5;-lk5crypto;/usr/lib/arm-linux-gnueabihf/libcom_err.a;/usr/lib/arm-linux-gnueabihf/libssl.a;/usr/lib/arm-linux-gnueabihf/libcrypto.a;/usr/lib/arm-linux-gnueabihf/librtmp.a;/usr/lib/arm-linux-gnueabihf/libz.a;/usr/lib/arm-linux-gnueabihf/libgnutls.a<br>
-- FindGnuTls check<br>-- checking for module 'gnutls>=2.8'<br>-- found gnutls, version 2.12.20<br>-- ==> ''<br>-- GNUTLS_HOME env is not set, setting it to /usr/local<br>-- Looking for gnutls in /usr/local<br>
==> GNUTLS_LIBRARIES='/usr/lib/arm-linux-gnueabihf/libgnutls.a;/lib/arm-linux-gnueabihf/libgcrypt.a;/usr/lib/arm-linux-gnueabihf/libgpg-error.a;/usr/lib/arm-linux-gnueabihf/libtasn1.a;/usr/lib/arm-linux-gnueabihf/libz.a;-lp11-kit;-lsasl2;/lib/arm-linux-gnueabihf/libgcrypt.a'<br>
-- Found GNUTLS: /usr/lib/arm-linux-gnueabihf/libgnutls.a;/lib/arm-linux-gnueabihf/libgcrypt.a;/usr/lib/arm-linux-gnueabihf/libgpg-error.a;/usr/lib/arm-linux-gnueabihf/libtasn1.a;/usr/lib/arm-linux-gnueabihf/libz.a;-lp11-kit;-lsasl2;/lib/arm-linux-gnueabihf/libgcrypt.a<br>
<br> ***** Configuration parameters *****<br> prefix: /usr/local<br> json: -L/usr/lib/arm-linux-gnueabihf/libjson.a;-lrt -I/usr/include<br> sml: -L -I<br> microhttpd: -L/usr/lib/arm-linux-gnueabihf/libmicrohttpd.a;-lrt -I/usr/include<br>
CMake Error at CMakeLists.txt:118 (message):<br> libsml ist required.<br><br> Install libsml or call cmake -DSML_HOME=path_to_sml_install<br><br><br>-- Configuring incomplete, errors occurred!<br><br></div><div><br></div>
Viele Grüße,<br>Andreas<br><br></div>