Hello,
I was trying to build EnergyPlus (V9-1-0) on Red Hat Enterprise Linux Server release 6.5, on which I built successfully EnergyPlus V8-7-0, and I got the following errors. I used gcc 5.5.0 and, cmake 3.14.5 and python 2.7.5.
In file included from /.../.../.../.../.../EnergyPlus/third_party/eigen/Eigen/SparseCore:40:0,
from /.../.../.../.../.../EnergyPlus/third_party/kiva-ep/src/libkiva/Cell.hpp:18,
from /.../.../.../.../.../EnergyPlus/third_party/kiva-ep/src/libkiva/Domain.hpp:7,
from /.../.../.../.../.../EnergyPlus/third_party/kiva-ep/src/libkiva/Ground.hpp:9,
from /.../.../.../.../.../EnergyPlus/third_party/kiva-ep/src/libkiva/Aggregator.hpp:7,
from /.../.../.../.../.../EnergyPlus/src/EnergyPlus/HeatBalanceKivaManager.hh:52,
from /.../.../.../.../.../EnergyPlus/src/EnergyPlus/SurfaceGeometry.hh:59,
from /.../.../.../.../.../EnergyPlus/src/EnergyPlus/ConvectionCoefficients.cc:79:
/.../.../.../.../.../EnergyPlus/third_party/eigen/Eigen/src/SparseCore/AmbiVector.h: In member function ‘_Scalar& Eigen::internal::AmbiVector<_Scalar, _StorageIndex>::coeff(Eigen::Index)’:
/.../.../.../.../.../EnergyPlus/third_party/eigen/Eigen/src/SparseCore/AmbiVector.h:270:44: error: parse error in
template argument list
while (elid >= 0 && llElements[elid].index<i) ^
[ 51%] Building CXX object src/EnergyPlus/CMakeFiles/energypluslib.dir/DataAirSystems.cc.o
[ 51%] Building CXX object src/EnergyPlus/CMakeFiles/energypluslib.dir/DataBSDFWindow.cc.o
make[2]: *** [src/EnergyPlus/CMakeFiles/energypluslib.dir/ConvectionCoefficients.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/EnergyPlus/CMakeFiles/energypluslib.dir/all] Error 2
make: *** [all] Error 2
Does someone have any idea for these problem and know how to solve these problems please?
Thanks
Long