Home   Manual

Installing avogadro on centos7

I am trying to install Avogadro-1.2.0 on a Centos7. I have installed eigen3 and openbabel and the cmake …/ command goes fine (other than saying that it can’t find boost). however, when I type make -j2, I get multiple errors (output below). Does this indicate that I need to uninstall eigen3 and use eigen2 instead?

thank you to anyone who has suggestions or has gotten avogadro to work on centos7

[ 0%] Generating moc_elementcolor.cxx
[ 0%] Generating ui_bsdysettingswidget.h
[ 0%] Generating moc_bsdyengine.cxx
Scanning dependencies of target elementcolor
[ 0%] Building CXX object libavogadro/src/colors/CMakeFiles/elementcolor.dir/elementcolor.cpp.o
Scanning dependencies of target bsdyengine
In file included from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/primitive.h:36:0,
from /home/mardis/avogadro-1.2.0/libavogadro/src/colors/elementcolor.cpp:27:
/usr/local/include/eigen3/Eigen/Core:340:2: error: #error Eigen2-support is only available up to version 3.2. Please go to for further information
#error Eigen2-support is only available up to version 3.2. Please go to title=Eigen2" for further information
^
[ 0%] Building CXX object libavogadro/src/engines/CMakeFiles/bsdyengine.dir/bsdyengine.cpp.o
In file included from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/primitive.h:36:0,
from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/primitivelist.h:29,
from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/engine.h:37,
from /home/mardis/avogadro-1.2.0/libavogadro/src/engines/bsdyengine.h:29,
from /home/mardis/avogadro-1.2.0/libavogadro/src/engines/bsdyengine.cpp:25:
/usr/local/include/eigen3/Eigen/Core:340:2: error: #error Eigen2-support is only available up to version 3.2. Please go to " for further information
#error Eigen2-support is only available up to version 3.2. Please go to for further information
^
make[2]: *** [libavogadro/src/colors/CMakeFiles/elementcolor.dir/elementcolor.cpp.o] Error 1
make[1]: *** [libavogadro/src/colors/CMakeFiles/elementcolor.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 0%] Building CXX object libavogadro/src/engines/CMakeFiles/bsdyengine.dir/moc_bsdyengine.cxx.o
In file included from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/primitive.h:36:0,
from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/primitivelist.h:29,
from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/engine.h:37,
from /home/mardis/avogadro-1.2.0/build/libavogadro/src/engines/…/…/…/…/libavogadro/src/engines/bsdyengine.h:29,
from /home/mardis/avogadro-1.2.0/build/libavogadro/src/engines/moc_bsdyengine.cxx:9:
/usr/local/include/eigen3/Eigen/Core:340:2: error: #error Eigen2-support is only available up to version 3.2. Please go to “” for further information
#error Eigen2-support is only available up to version 3.2. Please go to “title=Eigen2” for further information
^
In file included from /home/mardis/avogadro-1.2.0/libavogadro/src/engines/bsdyengine.cpp:27:0:
/home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/camera.h:105:31: error: ‘Transform3d’ in namespace ‘Eigen’ does not name a type
void setModelview(const Eigen::Transform3d &matrix);
^
/home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/camera.h:105:51: warning: ISO C++ forbids declaration of ‘matrix’ with no type [-fpermissive]
void setModelview(const Eigen::Transform3d &matrix);
^
/home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/camera.h:109:13: error: ‘Transform3d’ in namespace ‘Eigen’ does not name a type
const Eigen::Transform3d & modelview() const;
^
/home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/camera.h:113:7: error: ‘Transform3d’ in namespace ‘Eigen’ does not name a type
Eigen::Transform3d & modelview();
^
/home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/camera.h: In member function ‘Eigen::Vector3d Avogadro::camera::V4toV3DivW(const Vector4d&)’:
/home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/camera.h:345:19: error: ‘const Vector4d’ has no member named ‘start’
return v4.start<3>()/v4.w();
^
/home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/camera.h:345:28: error: expected primary-expression before ‘)’ token
return v4.start<3>()/v4.w();
^
make[2]: *** [libavogadro/src/engines/CMakeFiles/bsdyengine.dir/bsdyengine.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
In file included from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/primitivelist.h:29:0,
from /home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/engine.h:37,
from /home/mardis/avogadro-1.2.0/build/libavogadro/src/engines/…/…/…/…/libavogadro/src/engines/bsdyengine.h:29,
from /home/mardis/avogadro-1.2.0/build/libavogadro/src/engines/moc_bsdyengine.cxx:9:
/home/mardis/avogadro-1.2.0/build/libavogadro/include/avogadro/primitive.h:42:23: warning: ‘Avogadro::FALSE_ID’ defined but not used [-Wunused-variable]
const unsigned long FALSE_ID = std::numeric_limits::max();
^
make[2]: *** [libavogadro/src/engines/CMakeFiles/bsdyengine.dir/moc_bsdyengine.cxx.o] Error 1
make[1]: *** [libavogadro/src/engines/CMakeFiles/bsdyengine.dir/all] Error 2
make: *** [all] Error 2

Yes, the released versions of Avogadro v1 do not support the latest versions of Eigen3.