[cctbxbb] testing newer versions of boost

Billy Poon BKPoon at lbl.gov
Thu Feb 11 14:40:32 PST 2021

Hey Rob,

Can you try the boost174 branch in cctbx_project? I added some changes for
building boost. This branch should work for Boost 1.72 (
and 1.74 (
I'm running a "Full" build for Boost 1.74.

The error is from not building all the source files for the filesystem
module. I add the extra files in

I started testing this last year, but it looks like it should be fine.

Billy K. Poon
Research Scientist, Molecular Biophysics and Integrated Bioimaging
Lawrence Berkeley National Laboratory
1 Cyclotron Road, M/S 33R0345
Berkeley, CA 94720
Tel: (510) 486-5709
Fax: (510) 486-5909
Web: https://phenix-online.org

On Thu, Feb 11, 2021 at 9:03 AM Robert Oeffner <rdo20 at cam.ac.uk> wrote:

> Hi,
> I'm testing newer versions of boost than 1.70 currently distributed with
> CCTBX. I can't remember if I have to do something special other than
> unpacking the zip file, say boost_1_74_0.zip, that I download from
> boost.org and put it into the modules directory for my cctbx build. But I
> get several errors during build like:
> C:\Users\Oeffner\OeffnerStuff\Work\PhenixVoyager\modules\boost\libs\filesystem\src\codecvt_error_category.cpp(71):
> error C2491: 'boost::filesystem::codecvt_error_category': definition of
> dllimport function not allowed
> I'm have tried with the VS2015, VS2017 and the VS2019 compiler and they
> all complain. So I'm wondering if there are some other magic invocations
> that have to be done before building with a new version of boost.
> Thanks in advance for any suggestions,
> Rob
> --
> Robert Oeffner, Ph.D.
> Research Associate, The Read Group
> Department of Haematology,
> Cambridge Institute for Medical Research
> University of Cambridge
> Cambridge Biomedical Campus
> The Keith Peters Building
> Hills Road
> Cambridge CB2 0XYwww.cimr.cam.ac.uk/investigators/read/index.html
> tel: +44(0)1223 763234
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free.
> www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_-8000583721887452730_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20210211/6f5afa1f/attachment.htm>

More information about the cctbxbb mailing list