Hallo zusammen,
ich wollte eben die aktuelle Version vom vzlogger (c++) auf dem Raspi
kompilieren:
git clone https://github.com/volkszaehler/vzlogger.git
mkdir -p build && cd build && cmake
-DSML_HOME=/usr/local/src/libsml/sml/ ../CMakeLists.txt
cd .. && make
[ 88%] Built target vz-api
Linking CXX executable vzlogger
api/libvz-api.a(MySmartGrid.cpp.o): In function
`vz::api::MySmartGrid::hmac_sha1(char*, unsigned char const*, unsigned
int)':
MySmartGrid.cpp:(.text+0x31a0): undefined reference to `EVP_sha1'
MySmartGrid.cpp:(.text+0x31b8): undefined reference to `HMAC_Init'
MySmartGrid.cpp:(.text+0x31cc): undefined reference to `HMAC_Update'
MySmartGrid.cpp:(.text+0x31f0): undefined reference to `HMAC_Final'
collect2: ld returned 1 exit status
make[2]: *** [src/vzlogger] Error 1
make[1]: *** [src/CMakeFiles/vzlogger.dir/all] Error 2
make: *** [all] Error 2
Mach ich da was falsch?
Gruss
Rainer