Registered Member
|
Hi, maybe I found a compiler issue for the Hyperplane class.
I'm trying to compile the following: Foo.h
Foo.cpp
Compiling it with g++-4.01, I get this error:
But when I try with g++-4.4 I get no errors at all. My version of Eigen is 3.0beta3 Thanks |
Moderator
|
wow this one is fantastic ! I've opened a bug report there:
http://eigen.tuxfamily.org/bz/show_bug.cgi?id=199 with some funny findings... |
Registered Member
|
After updating to Eigen 3.0beta4 I get this message now:
With g++4.01 ../eigen/Eigen/src/Geometry/Quaternion.h: In instantiation of 'Eigen::Quaternion<double, 0>': ../eigen/Eigen/src/Core/PlainObjectBase.h:93: instantiated from 'Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1, 0, 4, 1> >' ../eigen/Eigen/src/Core/Matrix.h:142: instantiated from 'Eigen::Matrix<double, 4, 1, 0, 4, 1>' ../eigen/Eigen/src/Geometry/Hyperplane.h:277: instantiated from 'Eigen::Hyperplane<double, 3, 0>' CoordinatesExtractor.h:121: instantiated from here ../eigen/Eigen/src/Geometry/Quaternion.h:274: error: 'Eigen::Quaternion<Scalar, Options>::m_coeffs' has incomplete type ../eigen/Eigen/src/Core/Matrix.h:142: error: declaration of 'class Eigen::Matrix<double, 4, 1, 0, 4, 1>' While with g++-4.4 I've no problem at all... Weird... |
Moderator
|
do you really have to use this old and **** gcc 4.0.1 compiler? I'm getting sick of working around compiler bugs!!
|
Registered Member
|
Ok, no problem!
For the interested OSX 10.5.8 leopard with this fuc*** compiler installed, read how to update it at http://hpc.sourceforge.net/ and download the latest version of g++ http://prdownloads.sourceforge.net/hpc/gcc-leopard-intel-bin.tar.gz?download I'm sorry ggael |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora