<div dir="ltr">Hi Rob,<div><br></div><div>Are these features required before anything is built? Or are they dependencies for Phaser that get linked during building? Can you send me your SConscript file?</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Tel: (510) 486-5709</div><div>Fax: (510) 486-5909</div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 16, 2018 at 9:07 AM Robert Oeffner &lt;<a href="mailto:rdo20@cam.ac.uk">rdo20@cam.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We are working on a newer version of Phaser. The new SConscript file for <br>
Phaser imports features from boost_python. Therefore it is currently not <br>
straightforward to build it since an empty build directory does not yet <br>
contain the boost_python module to be imported by SConscript (or <br>
python). So SCons crashes when it reads the new Phaser SCsonscript <br>
stating that boost_python cannot be imported. Currently our workaround <br>
is to first build CCTBX alone and then subsequently to build Phaser.<br>
<br>
My question is if it is possible to specify dependencies in <br>
cctbx_project/boost_adaptbx/SConscript to force building boost_python <br>
early on. On Windows boost_thread and a few other libraries are built <br>
before other SConscript files are read. So I have put some<br>
Depends(boost_thread,  boost_python) andDepends(boost_thread, <br>
boost_python_meta_ext)<br>
statements into cctbx_project/boost_adaptbx/SConscript. These do seem to <br>
force building the boost_python.lib and .dll files. But building the <br>
boost_python_meta_ext python module fails with the error:<br>
boost_adaptbx\meta_ext.cpp(14): fatal error C1083: Cannot open include <br>
file: &#39;boost_adaptbx/type_id_eq.h&#39;<br>
<br>
It&#39;s possible that I&#39;m not using SCons as it&#39;s supposed to be used. Let <br>
me know if anyone has a suggestion on how to force building boost_python <br>
before other SConscript are read.<br>
<br>
<br>
Many thanks,<br>
<br>
<br>
Rob<br>
<br>
-- <br>
Robert Oeffner, Ph.D.<br>
Research Associate, The Read Group<br>
Department of Haematology,<br>
Cambridge Institute for Medical Research<br>
University of Cambridge<br>
Cambridge Biomedical Campus<br>
Wellcome Trust/MRC Building<br>
Hills Road<br>
Cambridge CB2 0XY<br>
<br>
<a href="http://www.cimr.cam.ac.uk/investigators/read/index.html" rel="noreferrer" target="_blank">www.cimr.cam.ac.uk/investigators/read/index.html</a><br>
tel: +44(0)1223 763234<br>
<br>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</blockquote></div>