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

[SOLVED] MSVC: The block at 0x... was not allocated by _aligned routines, use free()

Tags: None
(comma "," separated)
timvdm
Registered Member
Posts
1
Karma
0
In avogadro Cylinder::freeBuffers() we call:

delete [] d->normalBuffer;

which causes this error on startup:

"The block at 0x... was not allocated by _aligned routines, use free()"

Code to initialize the variable:

Eigen::Vector3f *normalBuffer;
d->normalBuffer = new Vector3f[vertexCount];

Eigen2: At revision: 908503

Compiler: MSVC 2008

Any ideas?

Last edited by bjacob on Fri Jan 09, 2009 11:36 pm, edited 1 time in total.
User avatar
bjacob
Registered Member
Posts
658
Karma
3
Thanks for the report, should be fixed in svn now.


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