[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: [IMP-users] IMP 2.2.0 building: Syntax (?) errors when running `make`
To : Help and discussion for users of IMP <imp-users@salilab.org imp-usersATsalilab.org >
Subject : Re: [IMP-users] IMP 2.2.0 building: Syntax (?) errors when running `make`
From : Ben Webb <ben@salilab.org benATsalilab.org >
Date : Thu, 31 Jul 2014 10:37:36 -0700
Reply-to : Help and discussion for users of IMP <imp-users@salilab.org imp-usersATsalilab.org >
On 7/31/14, 2:01 AM, Frank Thommen wrote:
/g/software/linux/pack/imp-2.2.0/SRC/imp-2.2.0/modules/base/src/statistics.cpp:31:
error: a function-definition is not allowed here before ':' token
Does your issue go away if you open base/include/compiler_macros.h and
change this line
#if defined(BOOST_NO_CXX11_RANGE_BASED_FOR) || BOOST_VERSION <= 104100
to read
#if defined(BOOST_NO_CXX11_RANGE_BASED_FOR) || BOOST_VERSION < 105300
?
Looks like we got the Boost version where they introduced
BOOST_NO_CXX11_RANGE_BASED_FOR wrong. It works on our CentOS 5 machine
because we use Boost from EPEL which is 1.41, but you're using a newer
version (but not new enough to include that macro).
Ben
--
ben@salilab.org benATsalilab.org http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle