Re: RE : cctbx build error
Could be related to this one[1]
[1]http://sourceforge.net/mailarchive/message.php?msg_id=29427949
On Mon, 09. Jul 11:16, PICCA Frédéric-Emmanuel wrote:
> 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
>
>
> So f-factor is used before it was declare in the .h file.
> so you should move thoses templates method before using them in the code.
>
> maybe you compiled this with gcc < 4.7
>
> check if it solve the problem and prepare a patch for the upstream with gbp-pq :)
>
> I usually give them a name like 000x_upstream_xxxx
>
> > warning: "BOOST_DISABLE_THREADS" redefined [enabled by default]
>
> we should DFSG free from the local boost library and start implementing the --use-system-libraries.
Reply to: