Anonymous - 2015-06-26

Can you help me?

I set the preproces command "VCG_USE_EIGEN", and get the compiling error:

D:\3rdparty\vcglib\vcg/math/eigen_matrixbase_addons.h(134): error C2065: “ei_scalar_add_op”: undeclared
1>D:\3rdparty\vcglib\vcg/math/eigen_matrixbase_addons.h(134): error C2976: “Eigen::CwiseUnaryOp”:
1> d:\3rdparty\vcglib\eigenlib\eigen\src/Core/util/ForwardDeclarations.h(87) :
1>D:\3rdparty\vcglib\vcg/math/eigen_matrixbase_addons.h(134): error C2059: syntax error:“,”
1>D:\3rdparty\vcglib\vcg/math/eigen_matrixbase_addons.h(140): error C2086: “const int Eigen::MatrixBase<derived>::ScalarAddReturnType”: redefine
1>D:\3rdparty\vcglib\vcg/math/eigen_matrixbase_addons.h(226): error C2086: “const int Eigen::MatrixBase<derived>::PlainMatrixType”: redefine
1>d:\3rdparty\vcglib\vcg\math../../eigenlib/Eigen/Array(8): fatal error C1189: #error : The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
...</derived></derived>

environment: vs2010, vcglib

I have succeeded to complie the vcglib code without the preprocess command "VCG_USE_EIGEN".