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

[SOLVED] mingw 3.4.2

Tags: None
(comma "," separated)
tcostigl
Registered Member
Posts
5
Karma
0

[SOLVED] mingw 3.4.2

Tue Jan 13, 2009 3:56 am
I am using qtcreator on windows (which installs mingw32-3.4.2) and I get compile errors resembling:
Code: Select all
"/eigen2/Eigen/src/Core/util/Memory.h:62: error: `_mm_malloc' was not declared in this scope"


I have also defined EIGEN_DONT_VECTORIZE if it makes any difference. I do not care about vectorization at this point.

I would be happy with any solution even using a different IDE/compiler, although I do need to use qt4.

Thanks.

Last edited by bjacob on Wed Jan 14, 2009 1:48 am, edited 1 time in total.
User avatar
bjacob
Registered Member
Posts
658
Karma
3

RE: mingw 3.4.2

Tue Jan 13, 2009 11:32 am
Which beta of Eigen are you using? I was believing that this problem was already fixed. Can you try beta6 or, if you use svn, just svn up.

Sidenote: gcc 3.4 doesn't give very good performance with eigen, hopefully mingw upgrades soon to gcc 4...


Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list!
tcostigl
Registered Member
Posts
5
Karma
0

RE: mingw 3.4.2

Wed Jan 14, 2009 1:21 am
I must have downloaded the source package right before it was updated. Anyway, it works now! Thanks.
User avatar
bjacob
Registered Member
Posts
658
Karma
3

RE: mingw 3.4.2

Wed Jan 14, 2009 1:51 am
Great.
Here I found something that looks like a gcc 4.3 solution based on mingw:
http://www.tdragon.net/recentgcc/

Just FYI, Eigen aligns memory regardless of vectorization so you can link together vectorized and non-vectorized code. And anyway with GCC, Eigen will only vectorize if the gcc version is >= 4.2.


Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list!


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell