FTBFS: /usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

FTBFS: /usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier

Roland Hieber
I just tried to compile the latest OpenSCAD (master, eb60b5f937), but it
fails. What do I do? check-dependencies.sh says, my setup is okay:

rohieb@r2d2:~/Projects/openscad (master)$ ./scripts/check-dependencies.sh
depname     minimum     found       OKness
qt4         4.4         4.8.2       OK
cgal        3.6         4.0         OK
gmp         5.0.0       5.0.5       OK
mpfr        3.0         3.1.0       OK
boost       1.35        1.49        OK
opencsg     1.3.2       1.3.2       OK
glew        1.5.4       1.7.0       OK
eigen       2.0.13      2.0.17      OK
gcc         4.2         4.7.2       OK
bison       2.4         2.5         OK
flex        2.5.35      2.5.35      OK
make        3           3.81        OK
Warning: you have pkgconfig under /usr/local/lib
Please verify these local copies don't conflict with the system

(The only pkgconfig in /usr/local/ are znc and libosmscout.)

Here's the full error message:

In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘struct
Eigen::ei_traits<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:62:49:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:116:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:120:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h: In instantiation of
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:146:46: error: invalid
use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:120:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:199:29: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:206:13: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:208:125: error: invalid
use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘struct
Eigen::ei_traits<Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> >’:
/usr/include/eigen2/Eigen/src/Core/CwiseNullaryOp.h:44:8:   required
from ‘struct
Eigen::ei_traits<Eigen::CwiseNullaryOp<Eigen::ei_scalar_identity_op<CGAL::Gmpq>,
Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> > >’
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:218:58:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:116:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:119:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Functors.h: In instantiation of
‘struct
Eigen::ei_functor_traits<Eigen::ei_scalar_identity_op<CGAL::Gmpq> >’:
/usr/include/eigen2/Eigen/src/Core/CwiseNullaryOp.h:46:8:   required
from ‘struct
Eigen::ei_traits<Eigen::CwiseNullaryOp<Eigen::ei_scalar_identity_op<CGAL::Gmpq>,
Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> > >’
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:218:58:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Functors.h:359:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:136:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Dot.h: In instantiation of ‘class
Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Dot.h:277:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:136:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Dot.h:287:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:50:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:74:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:94:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Array:33:0,
                 from /usr/include/eigen2/Eigen/Geometry:8,
                 from src/linalg.h:5,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Array/Norms.h:75:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/QR:39:0,
                 from /usr/include/eigen2/Eigen/Dense:5,
                 from src/linalg.h:6,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h:294:1: error:
invalid use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/QR:39:0,
                 from /usr/include/eigen2/Eigen/Dense:5,
                 from src/linalg.h:6,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h:335:1: error:
invalid use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘class
Eigen::Matrix<CGAL::Gmpq, 3, 1>’:
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:131:5: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/XprHelper.h: In instantiation of
‘struct Eigen::ei_nested<Eigen::Matrix<CGAL::Gmpq, 3, 1>, 1, const
Eigen::Matrix<CGAL::Gmpq, 3, 1>&>’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:131:5:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/util/XprHelper.h:206:8: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:119:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Functors.h: In instantiation of
‘struct Eigen::ei_functor_traits<Eigen::ei_scalar_max_op<CGAL::Gmpq> >’:
/usr/include/eigen2/Eigen/src/Core/Redux.h:94:24:   required from
‘typename Eigen::ei_result_of<BinaryOp(typename
Eigen::ei_traits<T>::Scalar)>::type
Eigen::MatrixBase<Derived>::redux(const BinaryOp&) const [with BinaryOp
= Eigen::ei_scalar_max_op<CGAL::Gmpq>; Derived =
Eigen::Matrix<CGAL::Gmpq, 3, 1>; typename
Eigen::ei_result_of<BinaryOp(typename
Eigen::ei_traits<T>::Scalar)>::type = CGAL::Gmpq]’
/usr/include/eigen2/Eigen/src/Core/Redux.h:114:55:   required from
‘typename Eigen::ei_traits<T>::Scalar
Eigen::MatrixBase<Derived>::maxCoeff() const [with Derived =
Eigen::Matrix<CGAL::Gmpq, 3, 1>; typename Eigen::ei_traits<T>::Scalar =
CGAL::Gmpq]’
src/CGALEvaluator.cc:223:32:   required from here
/usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
make: *** [objects/CGALEvaluator.o] Error 1

--
Roland Hieber
Stratum 0 e.V., Braunschweig, Germany, Earth
https://stratum0.org/
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: FTBFS: /usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier

kintel
Administrator
On 2013-04-20, at 15:40 , Roland Hieber wrote:

> I just tried to compile the latest OpenSCAD (master, eb60b5f937), but it
> fails. What do I do? check-dependencies.sh says, my setup is okay:
>
Which OS and version and compiler are you using?
How did you install the dependencies?

 -Marius

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: FTBFS: /usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier

donbright
In reply to this post by Roland Hieber
It's an eigen2 issue caused by the recent resize() feature patch. I will fix it today.



On Sat, Apr 20, 2013 at 2:40 PM, Roland Hieber <[hidden email]> wrote:
I just tried to compile the latest OpenSCAD (master, eb60b5f937), but it
fails. What do I do? check-dependencies.sh says, my setup is okay:

rohieb@r2d2:~/Projects/openscad (master)$ ./scripts/check-dependencies.sh
depname     minimum     found       OKness
qt4         4.4         4.8.2       OK
cgal        3.6         4.0         OK
gmp         5.0.0       5.0.5       OK
mpfr        3.0         3.1.0       OK
boost       1.35        1.49        OK
opencsg     1.3.2       1.3.2       OK
glew        1.5.4       1.7.0       OK
eigen       2.0.13      2.0.17      OK
gcc         4.2         4.7.2       OK
bison       2.4         2.5         OK
flex        2.5.35      2.5.35      OK
make        3           3.81        OK
Warning: you have pkgconfig under /usr/local/lib
Please verify these local copies don't conflict with the system

(The only pkgconfig in /usr/local/ are znc and libosmscout.)

Here's the full error message:

In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘struct
Eigen::ei_traits<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:62:49:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:116:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:120:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h: In instantiation of
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:146:46: error: invalid
use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:120:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:199:29: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:206:13: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:208:125: error: invalid
use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘struct
Eigen::ei_traits<Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> >’:
/usr/include/eigen2/Eigen/src/Core/CwiseNullaryOp.h:44:8:   required
from ‘struct
Eigen::ei_traits<Eigen::CwiseNullaryOp<Eigen::ei_scalar_identity_op<CGAL::Gmpq>,
Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> > >’
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:218:58:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:116:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:119:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Functors.h: In instantiation of
‘struct
Eigen::ei_functor_traits<Eigen::ei_scalar_identity_op<CGAL::Gmpq> >’:
/usr/include/eigen2/Eigen/src/Core/CwiseNullaryOp.h:46:8:   required
from ‘struct
Eigen::ei_traits<Eigen::CwiseNullaryOp<Eigen::ei_scalar_identity_op<CGAL::Gmpq>,
Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> > >’
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:218:58:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Functors.h:359:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:136:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Dot.h: In instantiation of ‘class
Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Dot.h:277:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:136:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Dot.h:287:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:50:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:74:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:94:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Array:33:0,
                 from /usr/include/eigen2/Eigen/Geometry:8,
                 from src/linalg.h:5,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Array/Norms.h:75:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/QR:39:0,
                 from /usr/include/eigen2/Eigen/Dense:5,
                 from src/linalg.h:6,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h:294:1: error:
invalid use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/QR:39:0,
                 from /usr/include/eigen2/Eigen/Dense:5,
                 from src/linalg.h:6,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h:335:1: error:
invalid use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘class
Eigen::Matrix<CGAL::Gmpq, 3, 1>’:
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:131:5: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/XprHelper.h: In instantiation of
‘struct Eigen::ei_nested<Eigen::Matrix<CGAL::Gmpq, 3, 1>, 1, const
Eigen::Matrix<CGAL::Gmpq, 3, 1>&>’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:131:5:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/util/XprHelper.h:206:8: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:119:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Functors.h: In instantiation of
‘struct Eigen::ei_functor_traits<Eigen::ei_scalar_max_op<CGAL::Gmpq> >’:
/usr/include/eigen2/Eigen/src/Core/Redux.h:94:24:   required from
‘typename Eigen::ei_result_of<BinaryOp(typename
Eigen::ei_traits<T>::Scalar)>::type
Eigen::MatrixBase<Derived>::redux(const BinaryOp&) const [with BinaryOp
= Eigen::ei_scalar_max_op<CGAL::Gmpq>; Derived =
Eigen::Matrix<CGAL::Gmpq, 3, 1>; typename
Eigen::ei_result_of<BinaryOp(typename
Eigen::ei_traits<T>::Scalar)>::type = CGAL::Gmpq]’
/usr/include/eigen2/Eigen/src/Core/Redux.h:114:55:   required from
‘typename Eigen::ei_traits<T>::Scalar
Eigen::MatrixBase<Derived>::maxCoeff() const [with Derived =
Eigen::Matrix<CGAL::Gmpq, 3, 1>; typename Eigen::ei_traits<T>::Scalar =
CGAL::Gmpq]’
src/CGALEvaluator.cc:223:32:   required from here
/usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
make: *** [objects/CGALEvaluator.o] Error 1

--
Roland Hieber
Stratum 0 e.V., Braunschweig, Germany, Earth
https://stratum0.org/
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: FTBFS: /usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier

donbright
(note that eigen3 works fine)


On Sat, Apr 20, 2013 at 3:57 PM, Don Bright <[hidden email]> wrote:
It's an eigen2 issue caused by the recent resize() feature patch. I will fix it today.



On Sat, Apr 20, 2013 at 2:40 PM, Roland Hieber <[hidden email]> wrote:
I just tried to compile the latest OpenSCAD (master, eb60b5f937), but it
fails. What do I do? check-dependencies.sh says, my setup is okay:

rohieb@r2d2:~/Projects/openscad (master)$ ./scripts/check-dependencies.sh
depname     minimum     found       OKness
qt4         4.4         4.8.2       OK
cgal        3.6         4.0         OK
gmp         5.0.0       5.0.5       OK
mpfr        3.0         3.1.0       OK
boost       1.35        1.49        OK
opencsg     1.3.2       1.3.2       OK
glew        1.5.4       1.7.0       OK
eigen       2.0.13      2.0.17      OK
gcc         4.2         4.7.2       OK
bison       2.4         2.5         OK
flex        2.5.35      2.5.35      OK
make        3           3.81        OK
Warning: you have pkgconfig under /usr/local/lib
Please verify these local copies don't conflict with the system

(The only pkgconfig in /usr/local/ are znc and libosmscout.)

Here's the full error message:

In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘struct
Eigen::ei_traits<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:62:49:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:116:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:120:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h: In instantiation of
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:146:46: error: invalid
use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:120:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:199:29: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:206:13: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:208:125: error: invalid
use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘struct
Eigen::ei_traits<Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> >’:
/usr/include/eigen2/Eigen/src/Core/CwiseNullaryOp.h:44:8:   required
from ‘struct
Eigen::ei_traits<Eigen::CwiseNullaryOp<Eigen::ei_scalar_identity_op<CGAL::Gmpq>,
Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> > >’
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:218:58:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:116:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:119:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Functors.h: In instantiation of
‘struct
Eigen::ei_functor_traits<Eigen::ei_scalar_identity_op<CGAL::Gmpq> >’:
/usr/include/eigen2/Eigen/src/Core/CwiseNullaryOp.h:46:8:   required
from ‘struct
Eigen::ei_traits<Eigen::CwiseNullaryOp<Eigen::ei_scalar_identity_op<CGAL::Gmpq>,
Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> > >’
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:218:58:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Functors.h:359:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:136:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Dot.h: In instantiation of ‘class
Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Dot.h:277:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:136:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Dot.h:287:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:50:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:74:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:94:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Array:33:0,
                 from /usr/include/eigen2/Eigen/Geometry:8,
                 from src/linalg.h:5,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Array/Norms.h:75:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/QR:39:0,
                 from /usr/include/eigen2/Eigen/Dense:5,
                 from src/linalg.h:6,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h:294:1: error:
invalid use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/QR:39:0,
                 from /usr/include/eigen2/Eigen/Dense:5,
                 from src/linalg.h:6,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h:335:1: error:
invalid use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘class
Eigen::Matrix<CGAL::Gmpq, 3, 1>’:
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:131:5: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/XprHelper.h: In instantiation of
‘struct Eigen::ei_nested<Eigen::Matrix<CGAL::Gmpq, 3, 1>, 1, const
Eigen::Matrix<CGAL::Gmpq, 3, 1>&>’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:131:5:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/util/XprHelper.h:206:8: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:119:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Functors.h: In instantiation of
‘struct Eigen::ei_functor_traits<Eigen::ei_scalar_max_op<CGAL::Gmpq> >’:
/usr/include/eigen2/Eigen/src/Core/Redux.h:94:24:   required from
‘typename Eigen::ei_result_of<BinaryOp(typename
Eigen::ei_traits<T>::Scalar)>::type
Eigen::MatrixBase<Derived>::redux(const BinaryOp&) const [with BinaryOp
= Eigen::ei_scalar_max_op<CGAL::Gmpq>; Derived =
Eigen::Matrix<CGAL::Gmpq, 3, 1>; typename
Eigen::ei_result_of<BinaryOp(typename
Eigen::ei_traits<T>::Scalar)>::type = CGAL::Gmpq]’
/usr/include/eigen2/Eigen/src/Core/Redux.h:114:55:   required from
‘typename Eigen::ei_traits<T>::Scalar
Eigen::MatrixBase<Derived>::maxCoeff() const [with Derived =
Eigen::Matrix<CGAL::Gmpq, 3, 1>; typename Eigen::ei_traits<T>::Scalar =
CGAL::Gmpq]’
src/CGALEvaluator.cc:223:32:   required from here
/usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
make: *** [objects/CGALEvaluator.o] Error 1

--
Roland Hieber
Stratum 0 e.V., Braunschweig, Germany, Earth
https://stratum0.org/
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: FTBFS: /usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier

donbright
In reply to this post by Roland Hieber
OK sorry about the bug .. i have fixed it in a patch just now. Thanks for the bug report.

-DB



On Sat, Apr 20, 2013 at 2:40 PM, Roland Hieber <[hidden email]> wrote:
I just tried to compile the latest OpenSCAD (master, eb60b5f937), but it
fails. What do I do? check-dependencies.sh says, my setup is okay:

rohieb@r2d2:~/Projects/openscad (master)$ ./scripts/check-dependencies.sh
depname     minimum     found       OKness
qt4         4.4         4.8.2       OK
cgal        3.6         4.0         OK
gmp         5.0.0       5.0.5       OK
mpfr        3.0         3.1.0       OK
boost       1.35        1.49        OK
opencsg     1.3.2       1.3.2       OK
glew        1.5.4       1.7.0       OK
eigen       2.0.13      2.0.17      OK
gcc         4.2         4.7.2       OK
bison       2.4         2.5         OK
flex        2.5.35      2.5.35      OK
make        3           3.81        OK
Warning: you have pkgconfig under /usr/local/lib
Please verify these local copies don't conflict with the system

(The only pkgconfig in /usr/local/ are znc and libosmscout.)

Here's the full error message:

In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘struct
Eigen::ei_traits<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:62:49:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:116:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:120:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h: In instantiation of
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:146:46: error: invalid
use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:120:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:199:29: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:206:13: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:208:125: error: invalid
use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘struct
Eigen::ei_traits<Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> >’:
/usr/include/eigen2/Eigen/src/Core/CwiseNullaryOp.h:44:8:   required
from ‘struct
Eigen::ei_traits<Eigen::CwiseNullaryOp<Eigen::ei_scalar_identity_op<CGAL::Gmpq>,
Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> > >’
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:218:58:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:116:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:119:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Functors.h: In instantiation of
‘struct
Eigen::ei_functor_traits<Eigen::ei_scalar_identity_op<CGAL::Gmpq> >’:
/usr/include/eigen2/Eigen/src/Core/CwiseNullaryOp.h:46:8:   required
from ‘struct
Eigen::ei_traits<Eigen::CwiseNullaryOp<Eigen::ei_scalar_identity_op<CGAL::Gmpq>,
Eigen::Matrix<CGAL::Gmpq, 3, 3, 2, 3, 3> > >’
/usr/include/eigen2/Eigen/src/Core/MatrixBase.h:218:58:   required from
‘class Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Functors.h:359:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:136:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Dot.h: In instantiation of ‘class
Eigen::MatrixBase<Eigen::Matrix<CGAL::Gmpq, 3, 1> >’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:127:7:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Dot.h:277:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:136:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Dot.h:287:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:50:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:74:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:150:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Fuzzy.h:94:6: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Array:33:0,
                 from /usr/include/eigen2/Eigen/Geometry:8,
                 from src/linalg.h:5,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Array/Norms.h:75:70: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/QR:39:0,
                 from /usr/include/eigen2/Eigen/Dense:5,
                 from src/linalg.h:6,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h:294:1: error:
invalid use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/QR:39:0,
                 from /usr/include/eigen2/Eigen/Dense:5,
                 from src/linalg.h:6,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h:335:1: error:
invalid use of incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:131:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Matrix.h: In instantiation of ‘class
Eigen::Matrix<CGAL::Gmpq, 3, 1>’:
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/Matrix.h:131:5: error: invalid use of
incomplete type ‘struct Eigen::NumTraits<CGAL::Gmpq>’
In file included from /usr/include/eigen2/Eigen/Core:99:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h:29:29:
error: declaration of ‘struct Eigen::NumTraits<CGAL::Gmpq>’
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/util/XprHelper.h: In instantiation of
‘struct Eigen::ei_nested<Eigen::Matrix<CGAL::Gmpq, 3, 1>, 1, const
Eigen::Matrix<CGAL::Gmpq, 3, 1>&>’:
/usr/include/eigen2/Eigen/src/Core/Matrix.h:131:5:   required from
‘class Eigen::Matrix<CGAL::Gmpq, 3, 1>’
src/CGALEvaluator.cc:209:24:   required from here
/usr/include/eigen2/Eigen/src/Core/util/XprHelper.h:206:8: error:
incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
In file included from /usr/include/eigen2/Eigen/Core:119:0,
                 from src/linalg.h:4,
                 from src/CGAL_Nef_polyhedron.h:7,
                 from src/CGALEvaluator.h:5,
                 from src/CGALEvaluator.cc:2:
/usr/include/eigen2/Eigen/src/Core/Functors.h: In instantiation of
‘struct Eigen::ei_functor_traits<Eigen::ei_scalar_max_op<CGAL::Gmpq> >’:
/usr/include/eigen2/Eigen/src/Core/Redux.h:94:24:   required from
‘typename Eigen::ei_result_of<BinaryOp(typename
Eigen::ei_traits<T>::Scalar)>::type
Eigen::MatrixBase<Derived>::redux(const BinaryOp&) const [with BinaryOp
= Eigen::ei_scalar_max_op<CGAL::Gmpq>; Derived =
Eigen::Matrix<CGAL::Gmpq, 3, 1>; typename
Eigen::ei_result_of<BinaryOp(typename
Eigen::ei_traits<T>::Scalar)>::type = CGAL::Gmpq]’
/usr/include/eigen2/Eigen/src/Core/Redux.h:114:55:   required from
‘typename Eigen::ei_traits<T>::Scalar
Eigen::MatrixBase<Derived>::maxCoeff() const [with Derived =
Eigen::Matrix<CGAL::Gmpq, 3, 1>; typename Eigen::ei_traits<T>::Scalar =
CGAL::Gmpq]’
src/CGALEvaluator.cc:223:32:   required from here
/usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete
type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier
make: *** [objects/CGALEvaluator.o] Error 1

--
Roland Hieber
Stratum 0 e.V., Braunschweig, Germany, Earth
https://stratum0.org/
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: FTBFS: /usr/include/eigen2/Eigen/src/Core/Functors.h:100:8: error: incomplete type ‘Eigen::NumTraits<CGAL::Gmpq>’ used in nested name specifier

Roland Hieber
On 20.04.2013 23:10, Don Bright wrote:
> OK sorry about the bug .. i have fixed it in a patch just now. Thanks
> for the bug report.
>
> -DB

Works, thank you.

--
Roland Hieber
Stratum 0 e.V., Braunschweig, Germany, Earth
https://stratum0.org/
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566