Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compile failure for Boost SSL

Tags:

c++

ssl

boost

i want to use

#include <boost/asio/ssl.hpp>

but it ever drops me this:

1>d:\boost\boost\asio\ssl\detail\openssl_types.hpp(19) : fatal error C1083: Cannot open include file: 'openssl/conf.h': No such file or directory

whats wrong with it?

like image 569
Alex Tape Avatar asked Dec 21 '22 17:12

Alex Tape


1 Answers

boost::asio::ssl requires OpenSSL.

http://www.boost.org/doc/libs/1_50_0/doc/html/boost_asio/overview/ssl.html

OpenSSL is required to make use of Boost.Asio's SSL support.

Check configuration of boost::asio library and configuration of openssl.

like image 181
ForEveR Avatar answered Dec 24 '22 00:12

ForEveR