-
Notifications
You must be signed in to change notification settings - Fork 758
x32 libs and x64 includes #210
Comments
I followed the includes, causing the issue. 1>MyFrame.obj : error LNK2019: unresolved external symbol _CRYPTO_cleanup_all_ex_data referenced in function "public: __thiscall boost::asio::ssl::detail::openssl_init_base::do_init::~do_init(void)" (??1do_init@openssl_init_base@detail@ssl@asio@boost@@QAE@XZ) |
Added the help wanted tag since I don't use MSVC. Sorry for being no help here |
ok thanks for that. |
Hey,
first let me thank you for your work here! It is quite nice, really. :-)
However, I took the master from 8. Jan 2018, used cmake 3.10.0 to get project files for Visual Studio 2015 under Win10x64.
I used your HTTPS sample and compiled it with boost_1_65_1 libraries and it workes quite fine.
I realized only later, that I automatically have x32-dynamic libraries linked (32MT.lib is not a problem, though):
C:\OpenSSL-Win32\lib\VC\libssl32MD.lib
C:\OpenSSL-Win32\lib\VC\libcrypto32MD.lib
and x64 includes:
C:\OpenSSL-Win64\include
If I change the libs to x64, I get linker errors "unresolved external symbol" for
boost::asio::ssl::detail::openssl_init_base::do_init
If I change the includes dir to x32 I also get those linker errors and additionally several '_SSLv3_method' linker errors.
Though its a Win10x64 mashine, I compile with x86 settings with Multi-threaded(MT) in release mode, so I would expect the need to include x32 header.
Any thoughts how that came to be or why I need a mix of both OpenSSL32 and OpenSSL64?
Have a great day
Natu
The text was updated successfully, but these errors were encountered: