It seems like you are using OpenSSL 1.1, which is not yet supported. You can use 1.0 instead for now.
Best Regards, Igor On Wed, Nov 28, 2018 at 11:53 AM Ray <ray...@cisco.com> wrote: > I try to build ODBC driver on Windows Visual Studio 2017. > I installed these dependencies > Windows SDK 7.1 > JDK 8 > Win64 OpenSSL v1.1.1a from https://slproweb.com/products/Win32OpenSSL.html > > I set OPENSSL_HOME=C:\Program Files\OpenSSL-Win64 > > When I try to build, there's these error logs. > > Severity Code Description Project File Line > Suppression State > Error C7525 inline variables require at least '/std:c++17' odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 133 > Error (active) E0325 inline specifier allowed on function declarations > only > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 133 > Error (active) E0018 expected a ')' odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 133 > Error (active) E0065 expected a ';' odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 134 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_set_tlsext_host_name_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 80 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_free_" > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 86 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_set_connect_state_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 91 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_free_" > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 97 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_get_peer_certificate" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 103 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "X509_free" > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 105 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_free_" > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 111 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_free_" > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 124 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_write_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 152 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_pending_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 172 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_read_" > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 180 > Error (active) E0109 expression preceding parentheses of apparent call > must > have (pointer-to-) function type odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 206 > Error (active) E0109 expression preceding parentheses of apparent call > must > have (pointer-to-) function type odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 208 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSLv23_client_method_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 216 > Error (active) E0020 identifier "SSL_CTRL_OPTIONS" is undefined > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 237 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "BIO_new_ssl_connect" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 292 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "BIO_set_nbio_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 301 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "BIO_set_conn_hostname_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 315 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "BIO_free_all" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 320 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "BIO_get_ssl_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 326 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "BIO_free_all" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 331 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_connect_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 345 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_get_error_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 350 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_want_" > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 362 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_get_error_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 391 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "ERR_get_error_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 410 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "ERR_error_string_n_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 414 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_free_" > odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 442 > Error (active) E0135 namespace "ignite::odbc::ssl" has no member > "SSL_get_fd_" odbc > > D:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 456 > Error C2448 'ignite::odbc::ssl::OPENSSL_init_ssl': function-style > initializer appears to be a function definition odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 134 > Error C2182 'OPENSSL_init_ssl': illegal use of type 'void' odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 142 > Error C7525 inline variables require at least '/std:c++17' odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 142 > Error C2374 'ignite::odbc::ssl::OPENSSL_init_ssl': redefinition; > multiple > initialization odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 142 > Error C2448 'ignite::odbc::ssl::OPENSSL_init_ssl': function-style > initializer appears to be a function definition odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\include\ignite\odbc\ssl\ssl_bindings.h > 143 > Error C2065 'OPENSSL_init_ssl': undeclared identifier odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 206 > Error C2065 'OPENSSL_init_ssl': undeclared identifier odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 208 > Error C2065 'SSL_CTRL_OPTIONS': undeclared identifier odbc > > d:\ignite-ignite-2.6\modules\platforms\cpp\odbc\src\ssl\secure_socket_client.cpp > 237 > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >