vmime
vmime copied to clipboard
Do not work with OpenSSL (>=1.1.0)
I build latest version of OpenSSL using the following script:
> set INSTALL_PREFIX=D:\workspace\webdav-client-cpp\build
> cd git clone https://github.com/openssl/openssl
> cd openssl
> mkdir build && cd build
> perl ..\Configure VC-WIN64A no-asm no-idea no-unit-test no-shared --prefix=%INSTALL_PREFIX% --openssldir=%INSTALL_PREFIX%\ssl
> nmake
> nmake install
I try to build vmime with latest version OpenSSL using the following script:
> cmake .. \
-DVMIME_BUILD_SHARED_LIBRARY=OFF \
-DVMIME_BUILD_STATIC_LIBRARY=ON \
-DVMIME_TLS_SUPPORT_LIB="openssl" \
-DVMIME_CHARSETCONV_LIB="win" \
-DCMAKE_BUILD_TYPE="Debug" \
-DVMIME_BUILD_SAMPLES=OFF \
-DVMIME_HAVE_SASL_SUPPORT=OFF \
-DVMIME_SHARED_PTR_USE_CXX=ON \
-DVMIME_SHARED_PTR_USE_BOOST=OFF \
-DVMIME_HAVE_MESSAGING_PROTO_SENDMAIL=OFF \
-DVMIME_BUILD_DOCUMENTATION=OFF \
-DOPENSSL_INCLUDE_DIR="D:\workspace\webdav-client-cpp\build\include" \
-DOPENSSL_LIBRARIES="D:\workspace\webdav-client-cpp\build\lib\libcrypto.lib;D:\workspace\webdav-client-cpp\build\lib\libssl.lib"
> nmake
In result I obtain the next log:
If I use prebuild binaries (Win64OpenSSL-1_1_0b.exe) from Shining Light Productions and the the following script:
> cmake .. \
-DVMIME_BUILD_SHARED_LIBRARY=OFF \
-DVMIME_BUILD_STATIC_LIBRARY=ON \
-DVMIME_TLS_SUPPORT_LIB="openssl" \
-DVMIME_CHARSETCONV_LIB="win" \
-DCMAKE_BUILD_TYPE="Debug" \
-DVMIME_BUILD_SAMPLES=OFF \
-DVMIME_HAVE_SASL_SUPPORT=OFF \
-DVMIME_SHARED_PTR_USE_CXX=ON \
-DVMIME_SHARED_PTR_USE_BOOST=OFF \
-DVMIME_HAVE_MESSAGING_PROTO_SENDMAIL=OFF \
-DVMIME_BUILD_DOCUMENTATION=OFF
> nmake
In result I obtain the next log:
What version of the OpenSSL do you use ?
OpenSSL version 1_0_1, all is well.
Please add information about the OpenSSL version in your documentation.
For Ubuntu with OpenSSL version (>=1.1.0) similarity:
