restc-cpp icon indicating copy to clipboard operation
restc-cpp copied to clipboard

SSL error with make command

Open dirodriguezm opened this issue 7 years ago • 2 comments

Hi, I was doing the installation instructions and the make command shows this errors:

[ 22%] Performing update step for 'externalRapidJson'
Current branch master is up to date.
[ 22%] No configure step for 'externalRapidJson'
[ 22%] No build step for 'externalRapidJson'
[ 22%] No install step for 'externalRapidJson'
[ 22%] Completed 'externalRapidJson'
[ 22%] Built target externalRapidJson
[ 22%] Performing update step for 'externalLest'
Current branch master is up to date.
[ 22%] No configure step for 'externalLest'
[ 22%] No build step for 'externalLest'
[ 22%] No install step for 'externalLest'
[ 22%] Completed 'externalLest'
[ 22%] Built target externalLest
[ 22%] Building CXX object CMakeFiles/restc-cpp.dir/src/ConnectionPoolImpl.cpp.o
In file included from /usr/include/openssl/bio.h:20:0,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In constructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::do_init()’:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:43:23: error: expected id-expression before ‘(’ token
     mutexes_.resize(::CRYPTO_num_locks());
                       ^
In file included from /usr/include/boost/asio/ssl/detail/openssl_init.hpp:100:0,
                 from /usr/include/boost/asio/ssl/context.hpp:29,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:46:66: error: expected id-expression before ‘;’ token
     ::CRYPTO_set_locking_callback(&do_init::openssl_locking_func);
                                                                  ^
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:47:56: error: expected id-expression before ‘;’ token
     ::CRYPTO_set_id_callback(&do_init::openssl_id_func);
                                                        ^
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In destructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()’:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:64:32: error: expected id-expression before ‘;’ token
     ::CRYPTO_set_id_callback(0);
                                ^
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:65:37: error: expected id-expression before ‘;’ token
     ::CRYPTO_set_locking_callback(0);
                                     ^
In file included from /usr/include/openssl/engine.h:30:0,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:22,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:66:7: error: expected id-expression before ‘while’
     ::ERR_free_strings();
       ^
In file included from /usr/include/openssl/x509.h:23:0,
                 from /usr/include/openssl/ssl.h:50,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:72:7: error: expected id-expression before ‘while’
     ::EVP_cleanup();
       ^
In file included from /usr/include/openssl/bio.h:20:0,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:73:7: error: expected id-expression before ‘while’
     ::CRYPTO_cleanup_all_ex_data();
       ^
In file included from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:22:0,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:76:7: error: expected id-expression before ‘while’
     ::ENGINE_cleanup();
       ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp: In constructor ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’:
/usr/include/boost/asio/ssl/impl/context.ipp:83:29: error: ‘::SSLv2_method’ has not been declared
     handle_ = ::SSL_CTX_new(::SSLv2_method());
                             ^
/usr/include/boost/asio/ssl/impl/context.ipp:86:29: error: ‘::SSLv2_client_method’ has not been declared
     handle_ = ::SSL_CTX_new(::SSLv2_client_method());
                             ^
/usr/include/boost/asio/ssl/impl/context.ipp:89:29: error: ‘::SSLv2_server_method’ has not been declared
     handle_ = ::SSL_CTX_new(::SSLv2_server_method());
                             ^
/usr/include/boost/asio/ssl/impl/context.ipp: In destructor ‘boost::asio::ssl::context::~context()’:
/usr/include/boost/asio/ssl/impl/context.ipp:208:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
     if (handle_->default_passwd_callback_userdata)
                ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:212:20: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
             handle_->default_passwd_callback_userdata);
                    ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:214:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
       handle_->default_passwd_callback_userdata = 0;
              ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_certificate_chain(const boost::asio::const_buffer&, boost::system::error_code&)’:
/usr/include/boost/asio/ssl/impl/context.ipp:551:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
           handle_->default_passwd_callback,
                  ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:552:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
           handle_->default_passwd_callback_userdata) };
                  ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:569:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
     if (handle_->extra_certs)
                ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:571:33: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
       ::sk_X509_pop_free(handle_->extra_certs, X509_free);
                                 ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:572:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
       handle_->extra_certs = 0;
              ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:576:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
           handle_->default_passwd_callback,
                  ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:577:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
           handle_->default_passwd_callback_userdata))
                  ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)’:
/usr/include/boost/asio/ssl/impl/context.ipp:653:28: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
           bio.p, 0, handle_->default_passwd_callback,
                            ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:654:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
           handle_->default_passwd_callback_userdata);
                  ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)’:
/usr/include/boost/asio/ssl/impl/context.ipp:712:28: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
           bio.p, 0, handle_->default_passwd_callback,
                            ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:713:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
           handle_->default_passwd_callback_userdata);
                  ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::do_set_password_callback(boost::asio::ssl::detail::password_callback_base*, boost::system::error_code&)’:
/usr/include/boost/asio/ssl/impl/context.ipp:932:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
   if (handle_->default_passwd_callback_userdata)
              ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:934:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
         handle_->default_passwd_callback_userdata);
                ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/impl/context.ipp:936:10: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
   handle_->default_passwd_callback_userdata = callback;
          ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:145:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
 typedef struct ssl_ctx_st SSL_CTX;
                ^
In file included from /usr/include/openssl/engine.h:30:0,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:22,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/engine.ipp: In member function ‘const boost::system::error_code& boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const’:
/usr/include/boost/asio/ssl/detail/impl/engine.ipp:207:9: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
         ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
         ^
In file included from /usr/include/boost/asio/ssl/detail/engine.hpp:163:0,
                 from /usr/include/boost/asio/ssl/detail/buffered_handshake_op.hpp:21,
                 from /usr/include/boost/asio/ssl/stream.hpp:29,
                 from /usr/include/boost/asio/ssl.hpp:24,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/engine.ipp:214:11: error: invalid use of incomplete type ‘SSL {aka struct ssl_st}’
   if (ssl_->version == SSL2_VERSION)
           ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of ‘SSL {aka struct ssl_st}’
 typedef struct ssl_st SSL;
                ^
In file included from /usr/include/openssl/engine.h:30:0,
                 from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:22,
                 from /usr/include/boost/asio/ssl/context_base.hpp:19,
                 from /usr/include/boost/asio/ssl/context.hpp:27,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/TlsSocketImpl.h:10,
                 from /home/diego/PI_AIRVIRO/restc-cpp/src/ConnectionPoolImpl.cpp:18:
/usr/include/boost/asio/ssl/detail/impl/engine.ipp:221:9: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
         ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
         ^
CMakeFiles/restc-cpp.dir/build.make:326: fallo en las instrucciones para el objetivo 'CMakeFiles/restc-cpp.dir/src/ConnectionPoolImpl.cpp.o'
make[2]: *** [CMakeFiles/restc-cpp.dir/src/ConnectionPoolImpl.cpp.o] Error 1
CMakeFiles/Makefile2:141: fallo en las instrucciones para el objetivo 'CMakeFiles/restc-cpp.dir/all'
make[1]: *** [CMakeFiles/restc-cpp.dir/all] Error 2
Makefile:138: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2

Please help me, I don't know what to do and other c++ http libraries also fail to work.

Thanks.

dirodriguezm avatar Apr 27 '18 20:04 dirodriguezm

Hi, I don't think I have seen this error before. I have seen similar, weird errors, when upgrading boost libraries or openssl to newer versions where they are simply not compatible. That should not be an issue if you use a Linux distribution's default boost and openssl libraries.

What operating system are you using?

Also, can you run this command from the build directory?

cmake -LAH ..

jgaa avatar May 01 '18 05:05 jgaa

I am getting similar issues. Here is my cmake -LAH .. output cmake -LAH .. -- Building restc-cpp version 0.9.2 -- EXTERNAL_RAPIDJSON_INCLUDE_DIR: /data/development/libraries/restc-cpp/dbuild/external-projects/src/externalRapidJson/include/rapidjson -- Using /usr/bin/c++ -- Using C++ 14 for restc-cpp -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- program_options -- filesystem -- date_time -- context -- coroutine -- chrono -- log -- log_setup -- thread -- regex -- atomic -- Using C++ 14 for url_tests -- Using C++ 14 for json_serialize_tests -- Using C++ 14 for json_iostream_tests -- Using C++ 14 for http_reply_tests -- Using C++ 14 for async_sleep_tests -- Using C++ 14 for basic_tests -- Using C++ 14 for readme_tests -- Using C++ 14 for auth_tests -- Using C++ 14 for upload_tests -- Using C++ 14 for inserter_serializer_tests -- Using C++ 14 for ccache_tests -- Using C++ 14 for redirect_tests -- Using C++ 14 for crud_tests -- Using C++ 14 for many_connections_tests -- Using C++ 14 for https_tests -- Using C++ 14 for own_ioservice_tests -- Using C++ 14 for connection_pool_instances_test -- Using C++ 14 for proxy-tests -- Using C++ 14 for cookie-tests -- Using C++ 14 for logip -- Configuring done -- Generating done -- Build files have been written to: /data/development/libraries/restc-cpp/dbuild -- Cache values // The threading library used by boost-thread BOOST_THREAD_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpthread.so

// Boost atomic library (debug) Boost_ATOMIC_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_atomic.so

// Boost atomic library (release) Boost_ATOMIC_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_atomic.so

// Boost chrono library (debug) Boost_CHRONO_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_chrono.so

// Boost chrono library (release) Boost_CHRONO_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_chrono.so

// Boost context library (debug) Boost_CONTEXT_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_context.so

// Boost context library (release) Boost_CONTEXT_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_context.so

// Boost coroutine library (debug) Boost_COROUTINE_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_coroutine.so

// Boost coroutine library (release) Boost_COROUTINE_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_coroutine.so

// Boost date_time library (debug) Boost_DATE_TIME_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_date_time.so

// Boost date_time library (release) Boost_DATE_TIME_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_date_time.so

// The directory containing a CMake configuration file for Boost. Boost_DIR:PATH=Boost_DIR-NOTFOUND

// Boost filesystem library (debug) Boost_FILESYSTEM_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_filesystem.so

// Boost filesystem library (release) Boost_FILESYSTEM_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_filesystem.so

// Path to a file. Boost_INCLUDE_DIR:PATH=/usr/include

// Boost library directory DEBUG Boost_LIBRARY_DIR_DEBUG:PATH=/usr/lib/x86_64-linux-gnu

// Boost library directory RELEASE Boost_LIBRARY_DIR_RELEASE:PATH=/usr/lib/x86_64-linux-gnu

// Boost log library (debug) Boost_LOG_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_log.so

// Boost log library (release) Boost_LOG_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_log.so

// Boost log_setup library (debug) Boost_LOG_SETUP_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_log_setup.so

// Boost log_setup library (release) Boost_LOG_SETUP_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_log_setup.so

// Boost program_options library (debug) Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_program_options.so

// Boost program_options library (release) Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_program_options.so

// Boost regex library (debug) Boost_REGEX_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_regex.so

// Boost regex library (release) Boost_REGEX_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_regex.so

// Boost system library (debug) Boost_SYSTEM_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_system.so

// Boost system library (release) Boost_SYSTEM_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_system.so

// Boost thread library (debug) Boost_THREAD_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_thread.so

// Boost thread library (release) Boost_THREAD_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_thread.so

// Path to a program. CMAKE_AR:FILEPATH=/usr/bin/ar

// Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. CMAKE_BUILD_TYPE:STRING=

// Enable/Disable color output during build. CMAKE_COLOR_MAKEFILE:BOOL=ON

// CXX compiler CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++

// Flags used by the compiler during all build types. CMAKE_CXX_FLAGS:STRING=

// Flags used by the compiler during debug builds. CMAKE_CXX_FLAGS_DEBUG:STRING=-g

// Flags used by the compiler during release builds for minimum size. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

// Flags used by the compiler during release builds. CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

// Flags used by the compiler during release builds with debug info. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

// C compiler CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc

// Flags used by the compiler during all build types. CMAKE_C_FLAGS:STRING=

// Flags used by the compiler during debug builds. CMAKE_C_FLAGS_DEBUG:STRING=-g

// Flags used by the compiler during release builds for minimum size. CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

// Flags used by the compiler during release builds. CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

// Flags used by the compiler during release builds with debug info. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

// Flags used by the linker. CMAKE_EXE_LINKER_FLAGS:STRING=

// Flags used by the linker during debug builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

// Flags used by the linker during release minsize builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

// Flags used by the linker during release builds. CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

// Flags used by the linker during Release with Debug Info builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

// Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

// user executables (bin) CMAKE_INSTALL_BINDIR:PATH=bin

// read-only architecture-independent data (DATAROOTDIR) CMAKE_INSTALL_DATADIR:PATH=

// read-only architecture-independent data root (share) CMAKE_INSTALL_DATAROOTDIR:PATH=share

// documentation root (DATAROOTDIR/doc/PROJECT_NAME) CMAKE_INSTALL_DOCDIR:PATH=

// C header files (include) CMAKE_INSTALL_INCLUDEDIR:PATH=include

// info documentation (DATAROOTDIR/info) CMAKE_INSTALL_INFODIR:PATH=

// object code libraries (lib) CMAKE_INSTALL_LIBDIR:PATH=lib

// program executables (libexec) CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

// locale-dependent data (DATAROOTDIR/locale) CMAKE_INSTALL_LOCALEDIR:PATH=

// modifiable single-machine data (var) CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

// man documentation (DATAROOTDIR/man) CMAKE_INSTALL_MANDIR:PATH=

// C header files for non-gcc (/usr/include) CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

// Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=/usr/local

// system admin executables (sbin) CMAKE_INSTALL_SBINDIR:PATH=sbin

// modifiable architecture-independent data (com) CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

// read-only single-machine data (etc) CMAKE_INSTALL_SYSCONFDIR:PATH=etc

// Path to a program. CMAKE_LINKER:FILEPATH=/usr/bin/ld

// Path to a program. CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make

// Flags used by the linker during the creation of modules. CMAKE_MODULE_LINKER_FLAGS:STRING=

// Flags used by the linker during debug builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

// Flags used by the linker during release minsize builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

// Flags used by the linker during release builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

// Flags used by the linker during Release with Debug Info builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

// Path to a program. CMAKE_NM:FILEPATH=/usr/bin/nm

// Path to a program. CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

// Path to a program. CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

// Path to a program. CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

// Flags used by the linker during the creation of dll's. CMAKE_SHARED_LINKER_FLAGS:STRING=

// Flags used by the linker during debug builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

// Flags used by the linker during release minsize builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

// Flags used by the linker during release builds. CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

// Flags used by the linker during Release with Debug Info builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

// If set, runtime paths are not added when installing shared libraries, but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

// If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO

// Flags used by the linker during the creation of static libraries. CMAKE_STATIC_LINKER_FLAGS:STRING=

// Flags used by the linker during debug builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

// Flags used by the linker during release minsize builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

// Flags used by the linker during release builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

// Flags used by the linker during Release with Debug Info builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

// Path to a program. CMAKE_STRIP:FILEPATH=/usr/bin/strip

// If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make. This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

// Git command line client GIT_EXECUTABLE:FILEPATH=/usr/bin/git

// Install rapidjson headers when make install is executed INSTALL_RAPIDJSON_HEADERS:BOOL=ON

// Destination location LIBRARY_OUTPUT_PATH:PATH=/data/development/libraries/restc-cpp/lib

// Path to a library. OPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcrypto.so

// Path to a file. OPENSSL_INCLUDE_DIR:PATH=/usr/include

// Path to a library. OPENSSL_SSL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libssl.so

// pkg-config executable PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config

// Run Unit Tests automatically after build RESTC_CPP_AUTORUN_UNIT_TESTS:BOOL=OFF

// Enable trace logging for json serialization debugging RESTC_CPP_LOG_JSON_SERIALIZATION:BOOL=OFF

// Use boost::log for logging RESTC_CPP_LOG_WITH_BOOST_LOG:BOOL=ON

// Use the C++17 standard RESTC_CPP_USE_CPP17:BOOL=OFF

// Compile examples RESTC_CPP_WITH_EXAMPLES:BOOL=ON

// Enable Functional Testing RESTC_CPP_WITH_FUNCTIONALT_TESTS:BOOL=ON

// Enable TLS (Trough OpenSSL) RESTC_CPP_WITH_TLS:BOOL=ON

// Enable Unit Testing RESTC_CPP_WITH_UNIT_TESTS:BOOL=ON

// Use zlib RESTC_CPP_WITH_ZLIB:BOOL=ON

// Use HIDDEN visibility support if available. USE_COMPILER_HIDDEN_VISIBILITY:BOOL=ON

// Generate Doxygen documentation WITH_APIDOC:BOOL=OFF

// Path to a file. ZLIB_INCLUDE_DIR:PATH=/usr/include

// Path to a library. ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND

// Path to a library. ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libz.so

dgcooke avatar Aug 15 '18 01:08 dgcooke