I think this is what you are after.
My recommendation is to download Eigen and simply include the following :
#include <Eigen/Dense>
You will get the following errors ... these errors are C++ specific and indicate preprocessor problems. Note that Eigen works with a large number of preprocessors (Eigen) so it is possible that the problems are not with Eigen. Eigen supports 6 other compilers, so it is possible that these are new errors for cc21k ? :
Description | Resource | Path | Location | Type |
cc0133: error: expected a member name | project | line 117, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\TriangularSolverVector.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 125, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\SolveTriangular.h | C/C++ Problem | |
cc0153: error: expression must have class type | project | line 125, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\SolveTriangular.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 126, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\SolveTriangular.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 131, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\TriangularMatrixVector.h | C/C++ Problem | |
cc0029: error: expected an expression | project | line 156, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\StableNorm.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 156, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\StableNorm.h | C/C++ Problem | |
cc0020: error: identifier "ENOMEM" is undefined | project | line 167, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\util\Memory.h | C/C++ Problem | |
cc0135: error: namespace "std" has no member "stringstream" | project | line 195, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\IO.h | C/C++ Problem | |
cc0135: error: namespace "std" has no member "conj" | project | line 208, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\MathFunctions.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 271, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\RealQZ.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 272, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\RealQZ.h | C/C++ Problem | |
cc0065: error: expected a ";" | project | line 289, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0079: error: expected a type specifier | project | line 289, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0065: error: expected a ";" | project | line 290, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0079: error: expected a type specifier | project | line 290, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0403: error: invalid redeclaration of member function "Eigen::internal::gemm_blocking_space<StorageOrder, _LhsScalar, _RhsScalar, MaxRows, MaxCols, MaxDepth, KcFactor, true>::__attribute__(<error-type>)" (declared at line 289) | project | line 290, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0065: error: expected a ";" | project | line 291, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0079: error: expected a type specifier | project | line 291, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0403: error: invalid redeclaration of member function "Eigen::internal::gemm_blocking_space<StorageOrder, _LhsScalar, _RhsScalar, MaxRows, MaxCols, MaxDepth, KcFactor, true>::__attribute__(<error-type>)" (declared at line 289) | project | line 291, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 291, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\ComplexEigenSolver.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 293, external location: C:\Users\_\Desktop\eigen\Eigen\src\QR\HouseholderQR.h | C/C++ Problem | |
cc0020: error: identifier "m_staticA" is undefined | project | line 300, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0020: error: identifier "m_staticB" is undefined | project | line 301, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0020: error: identifier "m_staticW" is undefined | project | line 302, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixMatrix.h | C/C++ Problem | |
cc0020: error: identifier "imag" is undefined | project | line 340, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\GenericPacketMath.h | C/C++ Problem | |
cc0020: error: identifier "real" is undefined | project | line 340, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\GenericPacketMath.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 340, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\RealSchur.h | C/C++ Problem | |
cc0020: error: identifier "imag" is undefined | project | line 343, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\GenericPacketMath.h | C/C++ Problem | |
cc0020: error: identifier "real" is undefined | project | line 343, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\GenericPacketMath.h | C/C++ Problem | |
cc0020: error: identifier "aligned" is undefined | project | line 421, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0065: error: expected a ";" | project | line 421, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0020: error: identifier "tmp0" is undefined | project | line 439, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 443, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\EigenSolver.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 461, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\SelfAdjointEigenSolver.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 467, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\EigenSolver.h | C/C++ Problem | |
cc0020: error: identifier "tmp0" is undefined | project | line 502, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0020: error: identifier "tmp0" is undefined | project | line 514, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0020: error: identifier "tmp0" is undefined | project | line 517, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 525, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\EigenSolver.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 526, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\EigenSolver.h | C/C++ Problem | |
cc0020: error: identifier "aligned" is undefined | project | line 530, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0065: error: expected a ";" | project | line 530, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0020: error: identifier "tmp0" is undefined | project | line 531, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\GeneralMatrixVector.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 591, external location: C:\Users\_\Desktop\eigen\Eigen\src\Eigenvalues\EigenSolver.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 63, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\TriangularMatrixVector.h | C/C++ Problem | |
cc0065: error: expected a ";" | project | line 74, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\DenseStorage.h | C/C++ Problem | |
cc0079: error: expected a type specifier | project | line 74, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\DenseStorage.h | C/C++ Problem | |
cc0133: error: expected a member name | project | line 74, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\products\TriangularSolverVector.h | C/C++ Problem | |
cc0018: error: expected a ")" | project | line 752, external location: C:\Users\_\Desktop\eigen\Eigen\src\plugins\BlockMethods.h | C/C++ Problem | |
cc0325: error: inline specifier allowed on function declarations only | project | line 752, external location: C:\Users\_\Desktop\eigen\Eigen\src\plugins\BlockMethods.h | C/C++ Problem | |
cc0040: error: expected an identifier | project | line 753, external location: C:\Users\_\Desktop\eigen\Eigen\src\plugins\BlockMethods.h | C/C++ Problem | |
cc0065: error: expected a ";" | project | line 753, external location: C:\Users\_\Desktop\eigen\Eigen\src\plugins\BlockMethods.h | C/C++ Problem | |
cc0135: error: namespace "std" has no member "real" | project | line 77, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\MathFunctions.h | C/C++ Problem | |
cc0020: error: identifier "array" is undefined | project | line 78, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\DenseStorage.h | C/C++ Problem | |
cc0065: error: expected a ";" | project | line 91, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\DenseStorage.h | C/C++ Problem | |
cc0079: error: expected a type specifier | project | line 91, external location: C:\Users\_\Desktop\eigen\Eigen\src\Core\DenseStorage.h | C/C++ Problem |