This forum has been archived. All content is frozen. Please use KDE Discuss instead.

does eigen work with visual studio 2012?

Tags: None
(comma "," separated)
ajax20
Registered Member
Posts
10
Karma
0
hey,

i have open an old projekt with visual studio 2012. And I get an error if I use "Hs.inverse()*u" (Hs is a MatrixXd, u is a Vector). If I use Hs.fullPivLu().solve(u) ervery thing is right.

The error is:
"Eine nicht behandelte Ausnahme des Typs "System.AccessViolationException" ist in Interpolation.exe aufgetreten.
Zusätzliche Informationen: Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist."

An unhandled exception of type "System.AccessViolationException" occurred in Interpolation.exe. An attempt was made to read or write protected memory. This is often an indication that other memory is corrupt.

the programm stops at PacketMath.h Line293

any ideas?
(I can't change the plattformtoolset because some libraries need v110)
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
Yes, Eigen does work with MSVC 2012, and "Hs.inverse()*u" works for me. You could run a memory debugger to track the issue. Anyway, using Hs.partialPivLU().solve(u) is much better than explicitly computing the inverse.
ajax20
Registered Member
Posts
10
Karma
0
I need the inverse of Hs for another calculation... so I have to use the "Hs.inverse()"

edit: I think I'll go the easy way and eliminate all functions from v110.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]