Reply to topic

does eigen work with visual studio 2012?

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
2195
Karma
15
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.

 
Reply to topic

Bookmarks



Who is online

Registered users: Alexa [Bot], Artmessiah, Baidu [Spider], barrypicker, Bing [Bot], eagleton, Exabot [Bot], garthecho, ggael, ghevan, Google [Bot], google01103, Hans, jsirek, ken300, koriun, Majestic-12 [Bot], mcaceres, mutlu, nezumi, pinguin74, private_lock, samuelig, scummos, Tepee, TheraHedwig, tparrott, woodburner60, Yahoo [Bot], zabastodwa