Re: [eigen] Fwd: problem with compile on AIX system |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Fwd: problem with compile on AIX system
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Mon, 30 Mar 2009 14:35:12 +0200
- 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:message-id:subject:from:to:content-type :content-transfer-encoding; bh=M8S0lY0dBSWIrdX0ctjgLmjt+wdNEwOWnFxgKpE/qXk=; b=JIvJ8V4lYWzdERsH63vPZFb7E02x23ESlQqylgcWFm4GlqipHfvCyeSgoqWMlNlCgG w/D2cOYyzmRmAiazeFmUqidOxH1CyrbvFoyWz/S5KE5Qi5ZQzLX10yjh6o8GSVuCVTZU OOe48zXRUfAM5ymEqk1QldjeZrF+mHKMOeLfw=
- 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=HuuuoVlCdes6Tj9zW2Mt6nVeAi+I5M+pwMBesMyU+8s0EPPgQgUbJwnbjCPDJzxRd9 1//BAHIGMACSM256yu8tip64zdBzp3D0atVbL7tLriyjw35al05qPlkDPv6D6S7LbwH/ Ft0cbR0kOp4rZAmthp2uHFcY9/lCX8QsQOzAA=
OK, for #8 please try the following:
at line 220 in Eigen/src/Core/Block.h, you have:
_EIGEN_GENERIC_PUBLIC_INTERFACE(Block, MapBase<Block>)
replace that line by:
typedef Block<MatrixType,BlockRows,BlockCols,
PacketAccess,HasDirectAccess> ThisBlockType;
_EIGEN_GENERIC_PUBLIC_INTERFACE
(ThisBlockType, MapBase<ThisBlockType>)
Cheers,
Benoit
2009/3/29 Artem Gubanov <artem.gubanov@xxxxxxxxx>:
>
>
> ---------- Forwarded message ----------
> From: Artem Gubanov <artem.gubanov@xxxxxxxxx>
> Date: 2009/3/29
> Subject: problem with compile on AIX system
> To: eigen-request@xxxxxxxxxxxxxxxxxxx
>
>
> Eigen:
>
> I tried to compile my program on AIX system (xlc++_r compiler, version 8).
> I got some errors and some of them I fixed (err 1-7), I'll really appreciate
> if you fix it in Eigen 2.1 :)
> But I have a problem with #8 (very likely I'm beginner in c++).
> Hope you'll help me.
>
> Thanks!
>
> (1)
> /opt/Eigen/src/Core/MathFunctions.h", line 74.23: 1540-0291 (S) The template
> argument for "T" cannot be found.
> template<> inline int ei_random()
> template<> inline int ei_random<int>()
>
> (2)
> /opt/Eigen/src/Core/MathFunctions.h", line 119.25: 1540-0291 (S) The
> template argument for "T" cannot be found.
> template<> inline float ei_random()
> template<> inline float ei_random<float>()
>
> (3)
> /opt/Eigen/src/Core/MathFunctions.h", line 164.26: 1540-0291 (S) The
> template argument for "T" cannot be found.
> template<> inline double ei_random<double>()
>
> (4)
> /opt/Eigen/src/Core/MathFunctions.h", line 195.39: 1540-0291 (S) The
> template argument for "T" cannot be found.
> template<> inline std::complex<float> ei_random()
> template<> inline std::complex<float> ei_random< std::complex<float> >()
>
> (5)
> /opt/Eigen/src/Core/MathFunctions.h", line 228.40: 1540-0291 (S) The
> template argument for "T" cannot be found.
> template<> inline std::complex<double> ei_random()
> template<> inline std::complex<double> ei_random< std::complex<double> >()
>
> (6)
> /opt/Eigen/src/Core/MathFunctions.h", line 269.31: 1540-0291 (S) The
> template argument for "T" cannot be found.
> template<> inline long double ei_random()
> template<> inline long double ei_random<long double>()
>
> (7)
> /opt/Eigen/src/Core/CacheFriendlyProduct.h", line 36.13: 1540-0400 (S)
> "template <class Scalar> Eigen::ei_cache_friendly_product(int, int, int,
> bool, const Scalar *, int, bool, const Scalar *, int, bool, Scalar *, int)"
> has a conflicting declaration.
> static void ei_cache_friendly_product(...
> void ei_cache_friendly_product(...
>
> (8)
> /opt/Eigen/src/Core/Block.h", line 220.5: 1540-0062 (S) The incomplete class
> "ei_traits<Eigen::Block>" must not be used as a qualifier.
> ???
>
>
>
> --
> Regards,
> Artem
>
>
>
> --
> Regards,
> Artem
>