Registered Member
|
Hi,
I upgraded from Eigen 3.1.2 to 3.2.0 this week. I use Eigen in a fairly complex C++ project that involves, for example, OpenMP, dense and sparse algebra (inluding several types of decompositions), Qt 4.8, SWIG 2.11 bindings (meaning, that C++ and Eigen objects are passed through extern "C"{} blocks), Boost 1.55 etc. We use the MinGW-w64 cross compiler based on GCC 4.8.2. Now the interesting thing is:
Did any of you experiences similar problems? Does any of you might have an idea of what is going on there? Can you imagine any new Eigen magic that might produce such effects? |
Moderator
|
That's really hard to guess what a workaround could be without more information. You could use 'hg bisect' to narrow the offending changeset.
|
Registered Member
|
At least I went a few steps further on this topic.
- The problem appears when including Qt 4.8 OpenGL and graphics headers (e.g. QOpenGLWidget, QImageReader, QPainter) and Eigen Core. (Yes, simply including the header files is the problem) - Upgrade MinGW runtime from 2013/March (SVN) to 3.1.0 at least relaxes the memory issue. So, if anyone else encounters this problem: Try to remove included headers (also check recursive includes), split your CPP files and upgrade your MinGW-w64 runtime to the most recent version. |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]