@fresla wrote:
I just went to setup a fresh pi for OF. I get an error in the install dependencies that I cannot solve. I followed the steps from the setup guide for the RPI 2, however I am using an RPI 3.
http://openframeworks.cc/setup/raspberrypi/raspberry-pi-getting-started/
The whole readout from the installs scripts is here
But I am pretty sure this is the offending section
/ home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv7l/debug_static/RSAKeyImpl.o src/CipherImpl.cpp:80:21: error: field '_ctx' has incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}' EVP_CIPHER_CTX _ctx; ^~~~ In file included from /usr/include/openssl/crypto.h:31:0, from include/Poco/Crypto/OpenSSLInitializer.h:26, from include/Poco/Crypto/CipherKeyImpl.h:24, from include/Poco/Crypto/CipherKey.h:24, from include/Poco/Crypto/CipherImpl.h:25, from src/CipherImpl.cpp:17: /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}' typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^~~~~~~~~~~~~~~~~ /home/pi/openFrameworks/scripts/apothecary/build/poco/build/rules/compile:37: recipe for target '/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv7l/debug_static/CipherImpl.o' failed make[1]: *** [/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv7l/debug_static/CipherImpl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make -C /home/pi/openFrameworks/scripts/apothecary/build/poco/MongoDB make[1]: Entering directory '/home/pi/openFrameworks/scripts/apothecary/build/poco/MongoDB' src/RSAKeyImpl.cpp: In member function 'Poco::Crypto::RSAKeyImpl::ByteVec Poco::Crypto::RSAKeyImpl::modulus() const': src/RSAKeyImpl.cpp:210:31: error: invalid use of incomplete type 'RSA {aka struct rsa_st}' return convertToByteVec(_pRSA->n); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from include/Poco/Crypto/OpenSSLInitializer.h:26, from include/Poco/Crypto/RSAKeyImpl.h:24, from src/RSAKeyImpl.cpp:17: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}' typedef struct rsa_st RSA; ^~~~~~ src/RSAKeyImpl.cpp: In member function 'Poco::Crypto::RSAKeyImpl::ByteVec Poco::Crypto::RSAKeyImpl::encryptionExponent() const': src/RSAKeyImpl.cpp:216:31: error: invalid use of incomplete type 'RSA {aka struct rsa_st}' return convertToByteVec(_pRSA->e); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from include/Poco/Crypto/OpenSSLInitializer.h:26, from include/Poco/Crypto/RSAKeyImpl.h:24, from src/RSAKeyImpl.cpp:17: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}' typedef struct rsa_st RSA; ^~~~~~ src/RSAKeyImpl.cpp: In member function 'Poco::Crypto::RSAKeyImpl::ByteVec Poco::Crypto::RSAKeyImpl::decryptionExponent() const': src/RSAKeyImpl.cpp:222:31: error: invalid use of incomplete type 'RSA {aka struct rsa_st}' return convertToByteVec(_pRSA->d); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from include/Poco/Crypto/OpenSSLInitializer.h:26, from include/Poco/Crypto/RSAKeyImpl.h:24, from src/RSAKeyImpl.cpp:17: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}' typedef struct rsa_st RSA;If anyone knows how to solve this it would be great.
Cheers
Fred
Posts: 3
Participants: 2