[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cctbx build error

On Sat, 07. Jul 11:14, PICCA Frédéric-Emmanuel wrote:
> just for the record, I got this error now that I added the right build-dep
> /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent_ext.cpp:108:33:   required from here
> /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent.h:395:9: error: 'r_factor' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> In file included from /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent_ext.cpp:7:0:
> /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent.h:935:1: note: 'template<class FloatType, class ComplexType> FloatType mmtbx::bulk_solvent::r_factor(const scitbx::af::const_ref<ElementType>&, const scitbx::af::const_ref<std::complex<_Up> >&, const scitbx::af::const_ref<std::complex<_Up> >&, const FloatType&, const FloatType&)' declared here, later in the translation unit
> scons: *** [mmtbx/bulk_solvent/bulk_solvent_ext.o] Error 1
> scons: building terminated because of errors.
> usr+sys time: 36.97 seconds
> wall clock time: 23 minutes 27.96 seconds (1407.96 seconds total)

Just build in git-pbuilder. And I'm getting the same error. Weird building on my
system works and I don't think this is a problem of my libtool additions.
I'm also getting a lot of  

warning: "BOOST_DISABLE_THREADS" redefined [enabled by default]

Reply to: