Boost logo

Boost :

Subject: Re: [boost] Build: Trying to get Boost.Build to see my OpenSSL onWindows
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2016-10-01 14:50:04

On Sat, Oct 1, 2016 at 2:45 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> '\' is an escape character. Use '/' or '\\'

This entry:

lib ssl
  : # sources
  : # requirements
  : # default-build
  : # usage-requirements

Produces this output:

file bin\msvc-14.0\debug\threading-multi\client.obj.rsp
"client.cpp" -Fo"bin\msvc-14.0\debug\threading-multi\client.obj"
-TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c
compile-c-c++ bin\msvc-14.0\debug\threading-multi\client.obj

    call "C:\Users\Vinnie\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86.cmd"
cl /Zm800 -nologo @"bin\msvc-14.0\debug\threading-multi\client.obj.rsp"

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

Notice how "x" doesn't even appear on the command line.

However, if I do something like put the <include> line in the sources
section, I get an error "property found in sources" - this tells me
that the site-config.jam is being loaded and processed. Its just that
the include property is not being applied to the resulting build

> Also, to access environmental variables,
> use [ os.environ OPPENSSL_LIBRARIES ]. You'll
> need to add import os to call this.

Yep, that all works - thanks for confirming!

Boost list run by bdawes at, gregod at, cpdaniel at, john at