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 (https://dev.azure.com/bkp4/cctbx_project/_build/results?buildId=1833&view=results) and 1.74 (https://dev.azure.com/bkp4/cctbx_project/_build/results?buildId=1834&view=results). 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 https://github.com/cctbx/cctbx_project/commit/5fa38c8433b52754f1360888f83384c9e4e237c6I started testing this last year, but it looks like it should be fine.--Billy K. PoonResearch Scientist, Molecular Biophysics and Integrated BioimagingLawrence Berkeley National Laboratory1 Cyclotron Road, M/S 33R0345Berkeley, CA 94720Tel: (510) 486-5709Fax: (510) 486-5909On Thu, Feb 11, 2021 at 9:03 AM Robert Oeffner <rdo20@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 0XY www.cimr.cam.ac.uk/investigators/read/index.html tel: +44(0)1223 763234
cctbxbb mailing list
cctbxbb@phenix-online.org
http://phenix-online.org/mailman/listinfo/cctbxbb