|Re: [*] Re: [eigen] Tutorial example does not complie|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
Oops, my bad. I'm using the dev version. I wanted to use 2.0.14, but
forgot to do "hg up 2.0.14".
On 06/28/2010 08:28 PM, Benoit Jacob wrote:
2010/6/28 Mani chandra<mchandra@xxxxxxxxxx>:
Thanks for the reply. I'm using eigen 2.0.14
Are you sure? I just tried your code against eigen 2.0.14, and it does
compile and run without problem (gcc 4.4.4)
On 06/28/2010 04:05 PM, Carlos Becker wrote:
Hi Mani. This is probably because USING_PART_OF_NAMESPACE_EIGEN has been
removed. So just #include the necessary files and do 'using namespace
What version of eigen are you using to compile that? If it is the dev
branch then try reading the dev tutorials.
On Mon, Jun 28, 2010 at 11:22 AM, Mani chandra<mchandra@xxxxxxxxxx
I'm trying to get the following code to work:
// import most common Eigen types
int main(int, char *)
m3<< 1, 2, 3, 4, 5, 6, 7, 8, 9;
Matrix4f m4 = Matrix4f::Identity();
Vector4i v4(1, 2, 3, 4);
std::cout<< "m3\n"<< m3<< "\nm4:\n"
<< m4<< "\nv4:\n"<< v4<< std::endl;
But I get the following error during compilation:
test_eigen.cc:3:1: error: ‘USING_PART_OF_NAMESPACE_EIGEN’ does not
name a type
I'm using gcc 4.5.0 20100610.