Hi,
I want to use SSL in my project which is using RAD Studio XE5(Borland C++ Builder). I want to use SSL TCP socket in my existing project which is currently running on plain socket. As Boost is header only lib, I have added following path in include directories list. Already compiled and installed OpenSSL at C:\OpenSSL folder using Visual C++.
C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\include\boost_1_50
Added following include paths in my code file. No new code added, only include headers.
include "boost/bind.hpp"
include "boost/asio.hpp"
include "boost/asio/ssl.hpp"
When I compiled my code in RAD Studio(Borland C++ builder), I received following errors.
[bcc32 Error] buffer.hpp(1788): E2335 Overloaded 'unsigned int buffer_copy<mutable_buffers_1>(const mutable_buffers_1 &,const mutable_buffers_1 &)' ambiguous in this context
[bcc32 Error] socket_ops.ipp(1725): E2034 Cannot convert 'system::error_code' to 'error::basic_errors'
[bcc32 Error] not.hpp(28): E2396 Template argument must be a constant expression
[bcc32 Error] not.hpp(28): E2402 Illegal base class type: formal type 'bool_<(bool)(C_==0)>' resolves to 'bool_<(bool)(C_==0)>'
Do you have any idea why these errors are coming. As I haven't added any code in my project. Just header files included. Is there any conditional defines I have to specify?
Thanks & Regards
Nilesh