Registered Member
|
Hi everyone,
I try to compile the code of my small Raytracing project (which uses Eigen library) using the Intel Compiler 15.0. Unfortunately I'm facing some issues during the compilation process. Wondering if anybody has any experience with this and can help me. Thanks VS2010(x64)
|
Moderator
|
What about replacing line 229 of Eigen/src/Core/MatrixBase.h to:
#if (defined _MSC_VER) && (_MSC_VER >= 1500) && !defined(__INTEL_COMPILER) // 2008 or later ?? |
Registered Member
|
No Same error as before.
|
Moderator
|
ok, please update to the latest 3.2 branch (https://bitbucket.org/eigen/eigen/get/3.2.tar.gz) or devel branch. I don't see how it could still fail now.
https://bitbucket.org/eigen/eigen/commits/e8aee247f42a/ https://bitbucket.org/eigen/eigen/commits/cb242c9d9761/ |
Registered Member
|
Hi, have you solved this problem? I met the same problem as yours.
|
Registered Member
|
Hi, I met the following errors, do you know how to solve it? Thanks in advance! I have tried the steps you mentioned and errors reduced to one after I updated to the latest 3.2 branch as you recommended. The last one is as below: 1> Building with Intel(R) C++ Compiler XE 15.0 1>ClCompile: 1> ***** ClCompile (x64 - Intel C++) 1>C:\demo\.\third_party/Eigen/src/Core/Replicate.h(154): error : no instance of overloaded function "Eigen::DenseBase<Derived>::replicate" matches the specified type 1> DenseBase<Derived>::replicate(Index rowFactor,Index colFactor) const |
Moderator
|
Very strange, as there is really nothing tricky here. Nevertheless, what about the following patch (I don't have ICC 15 to test it, only ICC 14 which does not trigger the issue).
|
Registered Member
|
The problem still exists. I have put a demo project file with the below link, I would appreciate it if you can take a look at it and see wha's going on. Thanks! I used ICC15 on 64-bit Windows system. Click the project in the Solution Explorer. Select the menu Project -> Property -> Configuration Properties -> C/C++ -> Language [Intel C++] Set OpenMP Support to "Generate Parallel Code (/Qopenmp)" and Build solution you will see the errors right there. Sample project https://www.dropbox.com/s/pmpj7twq1avsg ... al.7z?dl=0 |
Moderator
|
I cannot test your MSVC solution as I don't have windows machine. Nevertheless, I tried Eigen's unit tests with ICC 15.0.1 20141022, and I cannot reproduce the issue.
|
Registered Member
|
I was getting similar errors to these using Intel Compiler 15.0 on Visual Studio 2012, which were solved by moving to Eigen 3.2.3.
However, my program still doesn't compile because there is one error remaining:
I would be very grateful if anyone knew how to solve this? Kind regards, Andy |
Registered Member
|
I think I found out how to fix this.
Replace the declaration and the definition of the two innerVectors function like the following: In SparseMatrixBase.h line 407
In SparseBlock.h line 357
Hope this helps! |
Moderator
|
Such a change has been applied a few hours before your post! (http://eigen.tuxfamily.org/bz/show_bug.cgi?id=957)
I'm glad to see it does the job. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]