Registered Member
|
Hello,
i very much like Eigen due to it's ease of use and it would be highly useful in my current project, which requires a sparse linear solver. However, whenever I include sparse functionality, e.g., by just adding #include <Eigen/Sparse> into my vs2010 project, the optimizing compiler will immediately crash with the message SparseCore/SparseTranspose.h(48): fatal error C1001: An internal error has occurred in the compiler. There seems to be no way around this bug, if i comment out the code on this location, the same error message will appear at a different line in the code. The only thing I could figure out was that the compiler probably does not like the template structure. Any other suggestions? greetings, Oliver |
Moderator
|
Which Eigen version are you using? I remember that MSVC2010 worked fine with the sparse module. Perhaps you could also check whether you have a MSVC2010 with all the available bug corrections.
|
Registered Member
|
thanks for the quick reply! I'm using the 3.1.0 alpha version of Eigen.
In the meantime I set up another project in VS2010 which just includes the first simple example program from the Eigen tutorial and included <Eigen/Sparse>. and this time it was compiling alright! i tried to use the same compiler settings as in my main project, but while one compiles, the other crashes. installing the service pack 1 for VS did not help, he keeps crashing when compiling these nested template classes of the form class TransposeImpl<MatrixType,Sparse>::InnerIterator no clue what causes these conflicts ... |
Registered Member
|
i think found the problem! apparently it's the "enable browse" compiler option /FR which causes the compiler to crash with the sparse template classes.
greetings, Oliver |
Moderator
|
ok, good to know, this is something we could add in the doc
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]