Error during install
During the install, before having followed all the steps, the terminal give me this error:
[ 56%] Building CXX object CMakeFiles/blackbird.dir/src/exchanges/cexio.cpp.o
[ 60%] Building CXX object CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o
In file included from /home/stefano/blackbird/src/exchanges/exmo.cpp:7:0:
/home/stefano/blackbird/src/utils/hmac_sha512.hpp: In constructor ‘HMAC_SHA512::HMAC_SHA512(const string&, const string&)’:
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:11:12: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
HMAC_CTX ctx;
^~~
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:12:3: error: ‘HMAC_CTX_init’ was not declared in this scope
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:12:3: note: suggested alternative: ‘HMAC_CTX_new’
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
HMAC_CTX_new
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:27:3: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:27:3: note: suggested alternative: ‘HMAC_CTX_get_md’
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
CMakeFiles/blackbird.dir/build.make:410: recipe for target 'CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o' failed
make[2]: *** [CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/blackbird.dir/all' failed
make[1]: *** [CMakeFiles/blackbird.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
What i have to do?
I have read the #353 and i've try to follow this advice: @hnws
-DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.soPut this extra params after you cmake command
Now the install stop at 3% with this message:
[ 3%] Building CXX object CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o
In file included from /home/stefano/blackbird/src/exchanges/exmo.cpp:7:0:
/home/stefano/blackbird/src/utils/hmac_sha512.hpp: In constructor ‘HMAC_SHA512::HMAC_SHA512(const string&, const string&)’:
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:11:12: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined
HMAC_CTX ctx;
^~~
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:12:3: error: ‘HMAC_CTX_init’ was not declared in this scope
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:12:3: note: suggested alternative: ‘HMAC_CTX_new’
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
HMAC_CTX_new
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:27:3: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
/home/stefano/blackbird/src/utils/hmac_sha512.hpp:27:3: note: suggested alternative: ‘HMAC_CTX_get_md’
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
CMakeFiles/blackbird.dir/build.make:410: recipe for target 'CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o' failed
make[2]: *** [CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/blackbird.dir/all' failed
make[1]: *** [CMakeFiles/blackbird.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Do you have 1 GB Ram?
Thanks, Jay
On Mon, May 7, 2018 at 8:53 AM, stefycrypto [email protected] wrote:
I have read the #353 https://github.com/butor/blackbird/issues/353 and i've try to follow this advice: @hnws https://github.com/hnws
-DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so Put this extra params after you cmake command
Now the install stop at 3% with this message:
[ 3%] Building CXX object CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o In file included from /home/stefano/blackbird/src/exchanges/exmo.cpp:7:0: /home/stefano/blackbird/src/utils/hmac_sha512.hpp: In constructor ‘HMAC_SHA512::HMAC_SHA512(const string&, const string&)’: /home/stefano/blackbird/src/utils/hmac_sha512.hpp:11:12: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined HMAC_CTX ctx; ^~~ /home/stefano/blackbird/src/utils/hmac_sha512.hpp:12:3: error: ‘HMAC_CTX_init’ was not declared in this scope HMAC_CTX_init(&ctx); ^~~~~~~~~~~~~ /home/stefano/blackbird/src/utils/hmac_sha512.hpp:12:3: note: suggested alternative: ‘HMAC_CTX_new’ HMAC_CTX_init(&ctx); ^~~~~~~~~~~~~ HMAC_CTX_new /home/stefano/blackbird/src/utils/hmac_sha512.hpp:27:3: error: ‘HMAC_CTX_cleanup’ was not declared in this scope HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ /home/stefano/blackbird/src/utils/hmac_sha512.hpp:27:3: note: suggested alternative: ‘HMAC_CTX_get_md’ HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ HMAC_CTX_get_md CMakeFiles/blackbird.dir/build.make:410: recipe for target 'CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o' failed make[2]: *** [CMakeFiles/blackbird.dir/src/exchanges/exmo.cpp.o] Error 1 CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/blackbird.dir/all' failed make[1]: *** [CMakeFiles/blackbird.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/butor/blackbird/issues/464#issuecomment-387071668, or mute the thread https://github.com/notifications/unsubscribe-auth/AD2rqFT9ScPYl5ugiNTTw9ZHoCayw1tWks5twFHLgaJpZM4T09Vu .
@Thorox Yes, i'm using a Virtual Machine