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 20:20:05 +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=1vkYl9WYPUX1mjIMWSo9meoXMpcfyvfN2bytdcYdFgw=; b=f8cmfLUVnvbaUZmbgfDa+GiZzxb4Dd5Jbuoev427xSxGGDuhKnPTOD96fxk+GIobIH TKF2MxgHSpfsFx2AVOL6vC+5gtxnXwrd6BfIq5L1U1p5hxGMALrzKJRYzdq5h/hebMxM GBIKf0bxZUITRDugQ9YiZI1miEBrWN4JbGEi4=
- 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=gOSgeHMvqs6PkiCxWIzBrkF+0ZnfTKDJfkjYVXYcwa0Vm95YmYcWbr2nB+wjlJggaf fsxPcAT9TjPMsYk4gAcVcQC4IVwM/ZtCvIyfnimc1+bbipb6TIat3pvcBkAleggVuuIN Os5iksUxEVL6Du/VHKiQaRqKbuAxuYEO8THlM=
Sorry, I am clueless.... (I haven't got a AIX system here to test).
Good luck!
Benoit
2009/3/30 Artem Gubanov <artem.gubanov@xxxxxxxxx>:
> Thanks for your quick responce!
>
> But It didn't help..
> Still have problem:
> "/home/artem/opt/Eigen/src/Core/Block.h", line 221.9: 1540-0062 (S) The
> incomplete class "ei_traits<Eigen::Block>" must not be used as a qualifier.
> "/home/artem/opt/Eigen/src/Core/CwiseUnaryOp.h", line 60.22: 1540-0198 (W)
> The omitted keyword "private" is assumed for base class
> "ei_no_assignment_operator".
> "/home/artem/opt/Eigen/src/Core/CwiseUnaryOp.h", line 60.22: 1540-0198 (W)
> The omitted keyword "private" is assumed for base class
> "ei_no_assignment_operator".
> "/home/artem/opt/Eigen/src/Core/CwiseBinaryOp.h", line 80.23: 1540-0198 (W)
> The omitted keyword "private" is assumed for base class
> "ei_no_assignment_operator".
> "/home/artem/opt/Eigen/src/Core/CwiseBinaryOp.h", line 80.23: 1540-0198 (W)
> The omitted keyword "private" is assumed for base class
> "ei_no_assignment_operator".
>
>
> I replaced as you suggested:
>
> // #220 _EIGEN_GENERIC_PUBLIC_INTERFACE(Block, MapBase<Block>)
> typedef Block<MatrixType, BlockRows, BlockCols, PacketAccess,
> HasDirectAccess> ThisBlockType;
> _EIGEN_GENERIC_PUBLIC_INTERFACE(ThisBlockType, MapBase<ThisBlockType>)
>
> class InnerIterator;
> typedef typename ei_traits<Block>::AlignedDerivedType
> AlignedDerivedType;
>
> EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
>
>
>
>
>
> 2009/3/30 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
>>
>> 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
>> >
>>
>>
>
>
>
> --
> Regards,
> Artem
>