Registered Member
|
Hello!
I am trying to build Eigen 3.2.8 with MSVC. I am using Visual Studio 2013, and CMake 3.5.2. I downloaded the .zip source from the Eigen Main page < http://eigen.tuxfamily.org/index.php?title=Main_Page >, and configured and generated using CMake. When I open eigen.sln in MSVC, I get the following error multiple times: 'error C3066: there are multiple ways that an object of this type can be called with these arguments' in the file array_reverse.cpp. Specifically in the following section. The 'VERIFY_IS_APPROX' seems to be the source of the error: MatrixType m1_r = m1.reverse(); // Verify that MatrixBase::reverse() works for ( int i = 0; i < rows; i++ ) { for ( int j = 0; j < cols; j++ ) { VERIFY_IS_APPROX(m1_r(i, j), m1((rows - 1 - i), (cols - 1 - j))); } } I also get the following in DenseBase.h: 'error C2719: 'unnamed-parameter': formal parameter with __declspec(align('16')) won't be aligned' Which seems to relate to the lines 'typename internal::result_of<BinaryOp(typename internal::traits<Derived>::Scalar)>::type' But I am making progress on the second error, the first one seems to be the larger stumbling point. Any help is appreciated. |
Moderator
|
What about the latest 3.2: http://bitbucket.org/eigen/eigen/get/3.2.tar.gz ? Here it is working fine with MSVC 2012 and 2015. I plan to release 3.2.9 very soon.
|
Registered Member
|
I just finished building it from the repo that you linked to- I am getting the same errors.
If it works with both 2012 and 2015, I imagine it must be specific to 2013, but nothing is coming to my mind that would cause this. |
Moderator
|
hm, indeed: http://manao.inria.fr/CDash/index.php?p ... 2016-07-19
Fixed: https://bitbucket.org/eigen/eigen/commits/79b3dd86b1d5 In practice, users are very unlikely to hit this issue. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]