Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4242

Can't compile thrift 0.10.0 C++ application (but works with 0.9.2)

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Minor
    • Resolution: Information Provided
    • 0.10.0
    • 0.9.2
    • C++ - Library
    • Windows 7, 64 bit
      Microsoft Visual Studio 2010, 64 bit
      Boost 1.64.0
      libevent 2.1.8
      OpenSSL 1.1

    • Hide
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_init_ssl" in Funktion ""void __cdecl apache::thrift::transport::initializeOpenSSL(void)" (?initializeOpenSSL@transport@thrift@apache@@YAXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_remove_state" in Funktion ""void __cdecl apache::thrift::transport::cleanupOpenSSL(void)" (?cleanupOpenSSL@transport@thrift@apache@@YAXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_options" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@transport@thrift@apache@@QAE@ABW4SSLProtocol@123@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_ctrl" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@transport@thrift@apache@@QAE@ABW4SSLProtocol@123@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_TLSv1_2_method" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@transport@thrift@apache@@QAE@ABW4SSLProtocol@123@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_TLSv1_1_method" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@transport@thrift@apache@@QAE@ABW4SSLProtocol@123@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_TLSv1_method" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@transport@thrift@apache@@QAE@ABW4SSLProtocol@123@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_new" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@transport@thrift@apache@@QAE@ABW4SSLProtocol@123@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_TLS_method" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@transport@thrift@apache@@QAE@ABW4SSLProtocol@123@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_free" in Funktion ""public: virtual __thiscall apache::thrift::transport::SSLContext::~SSLContext(void)" (??1SSLContext@transport@thrift@apache@@UAE@XZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_new" in Funktion ""public: struct ssl_st * __thiscall apache::thrift::transport::SSLContext::createSSL(void)" (?createSSL@SSLContext@transport@thrift@apache@@QAEPAUssl_st@@XZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_shutdown" in Funktion ""public: virtual bool __thiscall apache::thrift::transport::TSSLSocket::isOpen(void)" (?isOpen@TSSLSocket@transport@thrift@apache@@UAE_NXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_clear_error" in Funktion ""public: virtual bool __thiscall apache::thrift::transport::TSSLSocket::peek(void)" (?peek@TSSLSocket@transport@thrift@apache@@UAE_NXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_error" in Funktion ""public: virtual bool __thiscall apache::thrift::transport::TSSLSocket::peek(void)" (?peek@TSSLSocket@transport@thrift@apache@@UAE_NXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_peek" in Funktion ""public: virtual bool __thiscall apache::thrift::transport::TSSLSocket::peek(void)" (?peek@TSSLSocket@transport@thrift@apache@@UAE_NXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_free" in Funktion "__catch$?close@TSSLSocket@transport@thrift@apache@@UAEXXZ$0".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_shutdown" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocket::close(void)" (?close@TSSLSocket@transport@thrift@apache@@UAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_read" in Funktion ""public: virtual unsigned int __thiscall apache::thrift::transport::TSSLSocket::read(unsigned char *,unsigned int)" (?read@TSSLSocket@transport@thrift@apache@@UAEIPAEI@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_write" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocket::write(unsigned char const *,unsigned int)" (?write@TSSLSocket@transport@thrift@apache@@UAEXPBEI@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_BIO_ctrl" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocket::flush(void)" (?flush@TSSLSocket@transport@thrift@apache@@UAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_wbio" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocket::flush(void)" (?flush@TSSLSocket@transport@thrift@apache@@UAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_connect" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@TSSLSocket@transport@thrift@apache@@IAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_ctrl" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@TSSLSocket@transport@thrift@apache@@IAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_accept" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@TSSLSocket@transport@thrift@apache@@IAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_set_fd" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@TSSLSocket@transport@thrift@apache@@IAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_set_bio" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@TSSLSocket@transport@thrift@apache@@IAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_BIO_new" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@TSSLSocket@transport@thrift@apache@@IAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_BIO_s_mem" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@TSSLSocket@transport@thrift@apache@@IAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_CRYPTO_free" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ASN1_STRING_to_UTF8" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_NAME_ENTRY_get_data" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_NAME_get_entry" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_NAME_get_index_by_NID" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_get_subject_name" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_GENERAL_NAME_free" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ASN1_STRING_length" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ASN1_STRING_data" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_get_ext_d2i" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_free" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_verify_mode" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_peer_certificate" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_verify_cert_error_string" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_verify_result" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@TSSLSocket@transport@thrift@apache@@MAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_sk_num" in Funktion "_sk_GENERAL_NAME_num".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_sk_value" in Funktion "_sk_GENERAL_NAME_value".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_sk_pop_free" in Funktion "_sk_GENERAL_NAME_pop_free".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_rbio" in Funktion ""protected: unsigned int __thiscall apache::thrift::transport::TSSLSocket::waitForEvent(bool)" (?waitForEvent@TSSLSocket@transport@thrift@apache@@IAEI_N@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_peek_error" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::ciphers(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?ciphers@TSSLSocketFactory@transport@thrift@apache@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_cipher_list" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::ciphers(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?ciphers@TSSLSocketFactory@transport@thrift@apache@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_verify" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::authenticate(bool)" (?authenticate@TSSLSocketFactory@transport@thrift@apache@@UAEX_N@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_use_certificate_chain_file" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::loadCertificate(char const *,char const *)" (?loadCertificate@TSSLSocketFactory@transport@thrift@apache@@UAEXPBD0@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_use_PrivateKey_file" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::loadPrivateKey(char const *,char const *)" (?loadPrivateKey@TSSLSocketFactory@transport@thrift@apache@@UAEXPBD0@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_load_verify_locations" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::loadTrustedCertificates(char const *)" (?loadTrustedCertificates@TSSLSocketFactory@transport@thrift@apache@@UAEXPBD@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_RAND_poll" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::randomize(void)" (?randomize@TSSLSocketFactory@transport@thrift@apache@@UAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_default_passwd_cb_userdata" in Funktion ""public: void __thiscall apache::thrift::transport::TSSLSocketFactory::overrideDefaultPasswordCallback(void)" (?overrideDefaultPasswordCallback@TSSLSocketFactory@transport@thrift@apache@@QAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_default_passwd_cb" in Funktion ""public: void __thiscall apache::thrift::transport::TSSLSocketFactory::overrideDefaultPasswordCallback(void)" (?overrideDefaultPasswordCallback@TSSLSocketFactory@transport@thrift@apache@@QAEXXZ)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_reason_error_string" in Funktion ""void __cdecl apache::thrift::transport::buildErrors(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,int)" (?buildErrors@transport@thrift@apache@@YAXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)".
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_get_error" in Funktion ""void __cdecl apache::thrift::transport::buildErrors(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,int)" (?buildErrors@transport@thrift@apache@@YAXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)".
      1>C:\Users\ynalivayko\Documents\thrift.me_second_try\test\test_thrift10_server\Debug\test_thrift10_server.exe : fatal error LNK1120: 58 nicht aufgelöste externe Verweise.
      Show
      1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_init_ssl" in Funktion ""void __cdecl apache::thrift::transport::initializeOpenSSL(void)" (?initializeOpenSSL@ transport@thrift @apache@@YAXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_remove_state" in Funktion ""void __cdecl apache::thrift::transport::cleanupOpenSSL(void)" (?cleanupOpenSSL@ transport@thrift @apache@@YAXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_options" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@ transport@thrift @apache@@ QAE@ABW4SSLProtocol @123@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_ctrl" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@ transport@thrift @apache@@ QAE@ABW4SSLProtocol @123@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_TLSv1_2_method" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@ transport@thrift @apache@@ QAE@ABW4SSLProtocol @123@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_TLSv1_1_method" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@ transport@thrift @apache@@ QAE@ABW4SSLProtocol @123@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_TLSv1_method" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@ transport@thrift @apache@@ QAE@ABW4SSLProtocol @123@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_new" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@ transport@thrift @apache@@ QAE@ABW4SSLProtocol @123@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_TLS_method" in Funktion ""public: __thiscall apache::thrift::transport::SSLContext::SSLContext(enum apache::thrift::transport::SSLProtocol const &)" (??0SSLContext@ transport@thrift @apache@@ QAE@ABW4SSLProtocol @123@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_free" in Funktion ""public: virtual __thiscall apache::thrift::transport::SSLContext::~SSLContext(void)" (??1SSLContext@ transport@thrift @apache@@ UAE@XZ )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_new" in Funktion ""public: struct ssl_st * __thiscall apache::thrift::transport::SSLContext::createSSL(void)" (?createSSL@ SSLContext@transport @ thrift@apache @@QAEPAUssl_st@@XZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_shutdown" in Funktion ""public: virtual bool __thiscall apache::thrift::transport::TSSLSocket::isOpen(void)" (?isOpen@ TSSLSocket@transport @ thrift@apache @@UAE_NXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_clear_error" in Funktion ""public: virtual bool __thiscall apache::thrift::transport::TSSLSocket::peek(void)" (?peek@ TSSLSocket@transport @ thrift@apache @@UAE_NXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_error" in Funktion ""public: virtual bool __thiscall apache::thrift::transport::TSSLSocket::peek(void)" (?peek@ TSSLSocket@transport @ thrift@apache @@UAE_NXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_peek" in Funktion ""public: virtual bool __thiscall apache::thrift::transport::TSSLSocket::peek(void)" (?peek@ TSSLSocket@transport @ thrift@apache @@UAE_NXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_free" in Funktion "__catch$?close@ TSSLSocket@transport @ thrift@apache @@UAEXXZ$0". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_shutdown" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocket::close(void)" (?close@ TSSLSocket@transport @ thrift@apache @@UAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_read" in Funktion ""public: virtual unsigned int __thiscall apache::thrift::transport::TSSLSocket::read(unsigned char *,unsigned int)" (?read@ TSSLSocket@transport @ thrift@apache @@ UAEIPAEI@Z )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_write" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocket::write(unsigned char const *,unsigned int)" (?write@ TSSLSocket@transport @ thrift@apache @@ UAEXPBEI@Z )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_BIO_ctrl" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocket::flush(void)" (?flush@ TSSLSocket@transport @ thrift@apache @@UAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_wbio" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocket::flush(void)" (?flush@ TSSLSocket@transport @ thrift@apache @@UAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_connect" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@ TSSLSocket@transport @ thrift@apache @@IAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_ctrl" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@ TSSLSocket@transport @ thrift@apache @@IAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_accept" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@ TSSLSocket@transport @ thrift@apache @@IAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_set_fd" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@ TSSLSocket@transport @ thrift@apache @@IAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_set_bio" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@ TSSLSocket@transport @ thrift@apache @@IAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_BIO_new" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@ TSSLSocket@transport @ thrift@apache @@IAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_BIO_s_mem" in Funktion ""protected: void __thiscall apache::thrift::transport::TSSLSocket::checkHandshake(void)" (?checkHandshake@ TSSLSocket@transport @ thrift@apache @@IAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_CRYPTO_free" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ASN1_STRING_to_UTF8" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_NAME_ENTRY_get_data" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_NAME_get_entry" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_NAME_get_index_by_NID" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_get_subject_name" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_GENERAL_NAME_free" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ASN1_STRING_length" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ASN1_STRING_data" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_get_ext_d2i" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_free" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_verify_mode" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_peer_certificate" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_X509_verify_cert_error_string" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_verify_result" in Funktion ""protected: virtual void __thiscall apache::thrift::transport::TSSLSocket::authorize(void)" (?authorize@ TSSLSocket@transport @ thrift@apache @@MAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_sk_num" in Funktion "_sk_GENERAL_NAME_num". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_sk_value" in Funktion "_sk_GENERAL_NAME_value". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_sk_pop_free" in Funktion "_sk_GENERAL_NAME_pop_free". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_get_rbio" in Funktion ""protected: unsigned int __thiscall apache::thrift::transport::TSSLSocket::waitForEvent(bool)" (?waitForEvent@ TSSLSocket@transport @ thrift@apache @@ IAEI_N@Z )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_peek_error" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::ciphers(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?ciphers@ TSSLSocketFactory@transport @ thrift@apache @@UAEXABV?$ basic_string@DU ?$ char_traits@D @std@@V?$ allocator@D @2@@std@@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_cipher_list" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::ciphers(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?ciphers@ TSSLSocketFactory@transport @ thrift@apache @@UAEXABV?$ basic_string@DU ?$ char_traits@D @std@@V?$ allocator@D @2@@std@@@Z)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_verify" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::authenticate(bool)" (?authenticate@ TSSLSocketFactory@transport @ thrift@apache @@ UAEX_N@Z )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_use_certificate_chain_file" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::loadCertificate(char const *,char const *)" (?loadCertificate@ TSSLSocketFactory@transport @ thrift@apache @@ UAEXPBD0@Z )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_use_PrivateKey_file" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::loadPrivateKey(char const *,char const *)" (?loadPrivateKey@ TSSLSocketFactory@transport @ thrift@apache @@ UAEXPBD0@Z )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_load_verify_locations" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::loadTrustedCertificates(char const *)" (?loadTrustedCertificates@ TSSLSocketFactory@transport @ thrift@apache @@ UAEXPBD@Z )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_RAND_poll" in Funktion ""public: virtual void __thiscall apache::thrift::transport::TSSLSocketFactory::randomize(void)" (?randomize@ TSSLSocketFactory@transport @ thrift@apache @@UAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_default_passwd_cb_userdata" in Funktion ""public: void __thiscall apache::thrift::transport::TSSLSocketFactory::overrideDefaultPasswordCallback(void)" (?overrideDefaultPasswordCallback@ TSSLSocketFactory@transport @ thrift@apache @@QAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_SSL_CTX_set_default_passwd_cb" in Funktion ""public: void __thiscall apache::thrift::transport::TSSLSocketFactory::overrideDefaultPasswordCallback(void)" (?overrideDefaultPasswordCallback@ TSSLSocketFactory@transport @ thrift@apache @@QAEXXZ)". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_reason_error_string" in Funktion ""void __cdecl apache::thrift::transport::buildErrors(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,int)" (?buildErrors@ transport@thrift @apache@@YAXAAV?$ basic_string@DU ?$ char_traits@D @std@@V?$ allocator@D @2@@std@@ H@Z )". 1>libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_ERR_get_error" in Funktion ""void __cdecl apache::thrift::transport::buildErrors(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,int)" (?buildErrors@ transport@thrift @apache@@YAXAAV?$ basic_string@DU ?$ char_traits@D @std@@V?$ allocator@D @2@@std@@ H@Z )". 1>C:\Users\ynalivayko\Documents\thrift.me_second_try\test\test_thrift10_server\Debug\test_thrift10_server.exe : fatal error LNK1120: 58 nicht aufgelöste externe Verweise.

    Description

      I'm trying to create an application uses thrift.me
      I open the lib/cpp/thrift.sln, add include folders and librarys (for boost, openssl and libevent) to the project's properties.
      I can compile thrift.lib and thriftnb.lib without problems.
      Then i use thrift compiler to handle the .thrift files from c++ example.

      After adding generated files (except skeletons) and libraries to an empty visual studio console application, i try to compile it.

      Then behavior differs for Versions 0.9.2 and 0.10.0

      Thrift 0.9.2
      Everything is fine. I can implement server and client, and start conversation between them.
      That works with TServerSocket <> TSocket and TPipeServer <> TPipe.

      Thrift 0.10.0
      I get many linking errors to OpenSSL, like
      libthrift.lib(TSSLSocket.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_OPENSSL_init_ssl" in Funktion ""void __cdecl Apache::thrift::transport::initializeOpenSSL(void)" (?initializeOpenSSL@transport@thrift@apache@@YAXXZ)".

      What can i do to fix this problem?

      Update.
      I was developing a thrift 0.9.2 program.
      When i use "TFileTransport", for example: TFileTransport file(filename);
      The same linking error occurs.

      Attachments

        Activity

          People

            jking3 James E. King III
            jery77 Yaroslav Nalivayko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: