Registered Member
|
hi there
I'm trying to use the JacobiSVC function as follows: MatrixXd Cross(3,3); Cross = Matrix3d::Zero(); //do stuff with Cross Eigen::JacobiSVD<Eigen::MatrixXd> svd(Cross, Eigen::ComputeThinV | Eigen::ComputeThinU); //error: variable ‘Eigen::JacobiSVD<Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, 2> svd’ has initializer but incomplete typ I'm using gcc 4.6.3 and eigen3 on ubuntu 12.04. Does anyone know how to fix this error? |
Registered Member
|
You probably forgot to include the SVD header file: #include <Eigen/SVD>
|
Registered Member
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]