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

Re: [IMP-dev] Problems installing IMP 2.2.0



Hi,

I forgot to mention that the cmake step ended (apparently) with no errors.

The error I get at the end is the following:

n file included from /usr/src/imp/imp/modules/kinematics/src/ProteinKinematics.cpp:10:0,
                 from /usr/src/imp/imp-r2.2.0/src/kinematics_all.cpp:8:
/usr/src/imp/imp-r2.2.0/include/IMP/kinematics/ProteinKinematics.h: In member function ‘IMP::kinematics::DihedralAngleRevoluteJoints IMP::kinematics::ProteinKinematics::get_ordered_joints()’:
/usr/src/imp/imp-r2.2.0/include/IMP/kinematics/ProteinKinematics.h:76:25: error: expected primary-expression before ‘*’ token
/usr/src/imp/imp-r2.2.0/include/IMP/kinematics/ProteinKinematics.h:76:26: error: ‘j’ was not declared in this scope
/usr/src/imp/imp-r2.2.0/include/IMP/kinematics/ProteinKinematics.h:76:55: error: ‘BOOST_FOREACH’ was not declared in this scope
/usr/src/imp/imp-r2.2.0/include/IMP/kinematics/ProteinKinematics.h:76:55: note: suggested alternative:
In file included from /usr/include/boost/multi_index/hashed_index.hpp:22:0,
                 from /usr/include/boost/graph/named_graph.hpp:17,
                 from /usr/include/boost/graph/adjacency_list.hpp:45,
                 from /usr/src/imp/imp-r2.2.0/include/IMP/base/hash.h:29,
                 from /usr/src/imp/imp-r2.2.0/include/IMP/kinematics/kinematics_config.h:142,
                 from /usr/src/imp/imp-r2.2.0/include/IMP/kinematics/KinematicForest.h:15,
                 from /usr/src/imp/imp/modules/kinematics/src/CompositeJoint.cpp:10,
                 from /usr/src/imp/imp-r2.2.0/src/kinematics_all.cpp:1:
/usr/include/boost/foreach_fwd.hpp:56:1: note:   ‘boost::BOOST_FOREACH’
In file included from /usr/src/imp/imp/modules/kinematics/src/ProteinKinematics.cpp:10:0,
                 from /usr/src/imp/imp-r2.2.0/src/kinematics_all.cpp:8:
/usr/src/imp/imp-r2.2.0/include/IMP/kinematics/ProteinKinematics.h:76:56: error: expected ‘;’ before ‘{’ token
make[2]: *** [modules/kinematics/src/CMakeFiles/IMP.kinematics-lib.dir/__/__/__/src/kinematics_all.cpp.o] Error 1
make[1]: *** [modules/kinematics/src/CMakeFiles/IMP.kinematics-lib.dir/all] Error 2
make: *** [all] Error 2

Davide



On Jul 18, 2014, at 8:57 PM, Ben Webb wrote:

> On 7/18/14, 11:33 AM, Davide Baù wrote:
>> First I run:
>>> cmake ../imp -DCMAKE_BUILD_TYPE=Release -DIMP_MAX_CHECKS=NONE -DIMP_MAX_LOG=SILENT  -DCMAKE_CXX_FLAGS="-fopenmp"
> 
> Looks fine. You don't say what the failure is here.
> 
>>> $ cat CMakeError.log
>>> Performing C++ SOURCE FILE Test IMP_COMPILER_HAS_AUTO failed with the following output:
> ...
>>> /usr/src/imp/imp-r2.2.0/CMakeFiles/CMakeTmp/src.cxx:10:8: error: ‘a’ does not name a type
> ...
>>>   auto a = 6;
> 
> Right, so your compiler is old and doesn't support the 'auto' keyword. That's fine - we won't use it in this case.
> 
> So... what's the error?
> 
> 	Ben
> -- 
>                       http://salilab.org/~ben/
> "It is a capital mistake to theorize before one has data."
> 	- Sir Arthur Conan Doyle
> _______________________________________________
> IMP-dev mailing list
> 
> https://salilab.org/mailman/listinfo/imp-dev