Closed rnunziata closed 6 years ago
Do you have OpenCV installed on your system? (If so, perhaps there's some sort of version clash. I will have to double check which exact version is needed.)
Otherwise, maybe try adding #include <opencv/cv.h>
to the problematic file(s).
Apologies for the vague responses, it's just that I temporarily do not have access to a system with an nVIDIA GPU and CUDA so that I can test these things.
I have installed opencv 3.3, however I think I can get around this...its the Eigen error that I am not sure what to do about.
Hmm, so the return Eigen::Matrix4d((~viso_matrix).val[0]);
is causing an error? Again, I can't try out any changes right now (really sorry!), but can you try making a (non-const) copy of viso_matrix
, transposing it (using the ~
operator), and using val[0]
to construct an Eigen matrix?
Eigen::Matrix4d VisoToEigen(const Matrix &viso_matrix) { // The '~' transposes the matrix... Matrix a=viso_matrix; return Eigen::Matrix4d((~a).val[0]); }
got pass with this mod....
closed see above fix
I was getting the following bug
Track.cpp:73:30: error: ‘setw’ was not declared in this scope
but fixed it by adding the line at the top of the file.
include
Now it fails with following errors....not sure what to do?