Re: [eigen] Sparse and gcc-4.5 error |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Sparse and gcc-4.5 error
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Wed, 21 Apr 2010 14:59:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QjHF/sA7t0WvzL1mUEvoAhiOehgoY8pQfNjUeGVy6hY=; b=k42063x6iuKaeg3bSc6zhXn8wUeLlO3CXrLxl/QoWodYxzhgMYzB9lmfMloQHZUqmn naqQssNGEK7/oyqpwJ//eQ5O4NZf6N/0QzX/XrouSGF8VsWS/0CTtD3G0KmT7RCIGtQw jRiVw+VhLSfEpXBUqR8spYpyBO8a2RkK9dKSo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JaOhEvtI3ZkkXwu3Hl9ZODcp/t7rE5wKZbCzwNPznrfSPKCmRpJ81wMEAt36BbF750 6Q3tYjnZMgJU0l1/LCMllaHnXqA7lzr57i7K4W+P/R88itemFwWJ2dheledgIR6SjWaa YeOKQp4NHF7r/wPvSotcItZE5VYoN4IsyLR7s=
2010/4/21 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> Ah, better and easier yet. Can you pass the -save-temps option to GCC
> when compiling this, it should generate a triangle.ii file, can you
> send it?
oops, it's going to be very big. Either upload it somewhere, or forget
about my idea :)
It would be interesting to know your eigen version (mercurial changeset).
Benoit
>
> Benoit
>
> 2010/4/21 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
>> The Sparse unit tests compile nicely here with gcc 4.5.0 / linux / x86-64.
>>
>> Can you provide a test program and tell us your platform?
>>
>> Benoit
>>
>> 2010/4/21 Žiga Mlinar <ziga.mlinar@xxxxxxx>:
>>> With gcc-4.5 i get the following when including Eigen/Eigen
>>>
>>> In file included from ../include/eigen3/Eigen/Sparse:104:0,
>>> from ../include/eigen3/Eigen/Eigen:2,
>>> from triangle.cpp:3:
>>> ../include/eigen3/Eigen/src/Sparse/SparseRedux.h:42:1: error: prototype for
>>> ‘typename Eigen::ei_traits<Eigen::SparseMatrix<_Scalar, _Options> >::Scalar
>>> Eigen::SparseMatrix<_Scalar, _Flags>::sum() const’ does not match any in class
>>> ‘Eigen::SparseMatrix<_Scalar, _Flags>’
>>> ../include/eigen3/Eigen/src/Sparse/SparseMatrix.h:536:12: error: candidate is:
>>> Eigen::SparseMatrix<_Scalar, _Flags>::Scalar Eigen::SparseMatrix<_Scalar,
>>> _Flags>::sum() const
>>> ../include/eigen3/Eigen/src/Sparse/SparseRedux.h:50:1: error: prototype for
>>> ‘typename Eigen::ei_traits<Eigen::SparseVector<_Scalar, _Options> >::Scalar
>>> Eigen::SparseVector<_Scalar, _Flags>::sum() const’ does not match any in class
>>> ‘Eigen::SparseVector<_Scalar, _Flags>’
>>> ../include/eigen3/Eigen/src/Sparse/SparseVector.h:364:12: error: candidate is:
>>> Eigen::SparseVector<_Scalar, _Flags>::Scalar Eigen::SparseVector<_Scalar,
>>> _Flags>::sum() const
>>>
>>>
>>> Same code compiles ok with gcc-4.4.
>>>
>>> Žiga
>>>
>>> P.S: This is my first time sending to this list and i have to say I like Eigen
>>> a lot. Good work guys.
>>>
>>>
>>>
>>
>