Registered Member
|
Hi,
I have a project using Eigen that successfully compiles under Clang using the C++11 standard. I've been asked by someone to try and get this project working with gcc as well, the version available is 4.4.6 which supports a -std=c++0x switch but not -std=c++11. It's currently failing to compile the following line:
with the following error message:
(Some file names changed for clarity). Does anyone have any idea what the problem is? Similar issues with incomplete types in Eigen seem to be to do with missing includes, but Eigen/Geometry is included and that seems to include all the relevant files I can think of. |
Moderator
|
You should not explicitly specify the template parameter of the Scaling function because there are many template overload. Simply do
Affine3d S(Scaling(dim1, dim2, dim3)); or if dim* are not doubles: Affine3d S(Scaling(double(dim1), double(dim2), double(dim3))); |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]