[eigen] TensorMap in 3.3-rc1

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I tried a very simple test of TensorMap in MS VS 2013:

  double dat[6];
  Eigen::TensorMap<double, 2> Tm(dat, 2, 3);

and get a blizzard of error messages, the first several are pasted below.
I was able to test other parts of the Tensor module with no
problems. I'd be happy to try more experiments or provide more info.

Thanks,

Bill

----------------------------------------------------------------------------------------------
c:\wgreene\src\eigen\eigen-3.3.rc1\unsupported\eigen\cxx11\src/Tensor/TensorTraits.h(80): error C2504: 'Eigen::internal::traits<PlainObjectType>' : base class undefined
1>          with
1>          [
1>              PlainObjectType=double
1>          ]
1>          c:\wgreene\src\eigen\eigen-3.3.rc1\eigen\src/Core/util/ForwardDeclarations.h(32) : see reference to class template instantiation 'Eigen::internal::traits<Derived>' being compiled
1>          with
1>          [
1>              Derived=Eigen::TensorMap<double,2>
1>          ]
1>          c:\wgreene\src\eigen\eigen-3.3.rc1\unsupported\eigen\cxx11\src/Tensor/TensorMap.h(22) : see reference to class template instantiation 'Eigen::internal::accessors_level<Derived>' being compiled
1>          with
1>          [
1>              Derived=Eigen::TensorMap<double,2>
1>          ]
1>          eigenTensorTests.cpp(91) : see reference to class template instantiation 'Eigen::TensorMap<double,2>' being compiled


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/