Subject: Re: [Boost-build] configuring b2 via appveyor
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-12-06 23:47:59
On 05.12.2017 17:34, Steven Watanabe via Boost-build wrote:
> On 12/04/2017 08:51 AM, Stefan Seefeld via Boost-build wrote:
>> I'm trying to fix the appveyor setup for Boost.GIL, where I need to create a
>> `user-config.jam` file with entries for third-party libraries libjpeg, libpng,
>> libz, and libtiff.
>> and here is the error this results in:
>> I'm sure I'm not the first one to attempt to do this (i.e., create a custom
>> user-config.jam on appveyor). Can someone see what I'm doing wrong ?
> This looks like a permissions issue.
It doesn't appear to be one. This fails:
while this works:
So the error seems related to the use of the %CHUNK% variable, which is
set "CHUNK=^<include^>%VCPKG%\include ^<search^>%VCPKG%\lib"
(I can't claim I understand the syntax.
suggests I need to quote the entire assignment rather than just the
right-side hand, to avoid the quotation marks to be included in the
variable. And I need the '^' to prevent cmd.exe from interpreting theÂ
'>' character in the value...)
This is why I had hoped that someone else had already generated
user-config.jam files in appveyor.yml files, so I could simply learn
from that experience, rather than stumbling around in the dark as I do now.
-- ...ich hab' noch einen Koffer in Berlin...
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk