Boost logo

Boost :

Subject: Re: [boost] Build: Trying to get Boost.Build to see my OpenSSL onWindows
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-10-01 15:00:14


AMDG

On 10/01/2016 12:50 PM, Vinnie Falco wrote:
> 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
> <name>ssleay32MT
> <include>x
> : # default-build
> <include>x
> : # usage-requirements
> <include>x
> ;
>
> Produces this output:
>
> <snip>
> client.cpp
> 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
> commands.
>

  I suspect that the reason is that your lib ssl is
not being used. Keep in mind that targets are
scoped within a project. A lib ssl in user-config.jam
is totally separate from a lib ssl in your Jamfile.
To access it you'll need to add
project user-config ; in user-config.jam and then
refer to /user-config//ssl in the Jamfile. (The
name in the project declaration doesn't have to
be user-config. It will work as long as it matches
the project name in the target reference.)

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk