Registered Member
|
Hey all. I just started using Eigen 3.0.0 and it works great on GCC, but I can't get it to even compile on SunStudio 11 on a sparc machine. I know Eigen doesn't officialy support the SunStudio compiler, but I have to and I saw that support was added for Sun in 3.0.0. Can anybody help with?
I'm simply including Eigen/Dense in our code (not even using any Eigen calls yet) and we get these compile error: /sw/eigen-3.0.0//Eigen/src/Core/VectorBlock.h line 220: Error: Could not find a match for Eigen::DenseBase<Eigen::Derived>::segment(Eigen::internal::traits<Eigen::internal::T>::Index). /sw/eigen-3.0.0//Eigen/src/Core/VectorBlock.h line 230: Error: Could not find a match for Eigen::DenseBase<Eigen::Derived>::segment(Eigen::internal::traits<Eigen::internal::T>::Index) const. /sw/eigen-3.0.0//Eigen/src/Core/VectorBlock.h line 250: Error: Could not find a match for Eigen::DenseBase<Eigen::Derived>::head(). /sw/eigen-3.0.0//Eigen/src/Core/VectorBlock.h line 260: Error: Could not find a match for Eigen::DenseBase<Eigen::Derived>::head() const. /sw/eigen-3.0.0//Eigen/src/Core/VectorBlock.h line 280: Error: Could not find a match for Eigen::DenseBase<Eigen::Derived>::tail(). /sw/eigen-3.0.0//Eigen/src/Core/VectorBlock.h line 290: Error: Could not find a match for Eigen::DenseBase<Eigen::Derived>::tail() const. /sw/eigen-3.0.0//Eigen/src/Core/Diagonal.h line 214: Error: Could not find a match for Eigen::MatrixBase<Eigen::Derived>::diagonal(). /sw/eigen-3.0.0//Eigen/src/Core/Diagonal.h line 223: Error: Could not find a match for Eigen::MatrixBase<Eigen::Derived>::diagonal() const. /sw/eigen-3.0.0//Eigen/src/Core/ProductBase.h line 213: Error: complex expression not allowed in dependant template argument expression. /sw/eigen-3.0.0//Eigen/src/Core/ProductBase.h line 225: Error: complex expression not allowed in dependant template argument expression. ...various other simular error about could not find match. I know that the Sun compiler doesn't handle templates very well, but I was hoping someone knew a way around this. Any ideas? Thanks in advance for the help! |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora