-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Description
I used the opencv4.2.0 ,and occur this problem:
/home/music/catkin_ws/src/ORB_SLAM2/src/PnPsolver.cc:841:6: error: no declaration matches ‘void ORB_SLAM2::PnPsolver::gauss_newton(const CvMat*, const CvMat*, double*)’
841 | void PnPsolver::gauss_newton(const CvMat * L_6x10, const CvMat * Rho,
| ^~~~~~~~~
In file included from /home/music/catkin_ws/src/ORB_SLAM2/src/PnPsolver.cc:53:
/home/music/catkin_ws/src/ORB_SLAM2/include/PnPsolver.h:113:8: note: candidate is: ‘void ORB_SLAM2::PnPsolver::gauss_newton(const int*, const int*, double*)’
113 | void gauss_newton(const CvMat * L_6x10, const CvMat * Rho, double current_betas[4]);
| ^~~~~~~~~~~~
In file included from /home/music/catkin_ws/src/ORB_SLAM2/src/PnPsolver.cc:53:
/home/music/catkin_ws/src/ORB_SLAM2/include/PnPsolver.h:61:7: note: ‘class ORB_SLAM2::PnPsolver’ defined here
61 | class PnPsolver {
| ^~~~~~~~~
/home/music/catkin_ws/src/ORB_SLAM2/src/PnPsolver.cc:861:6: error: no declaration matches ‘void ORB_SLAM2::PnPsolver::qr_solve(CvMat*, CvMat*, CvMat*)’
861 | void PnPsolver::qr_solve(CvMat * A, CvMat * b, CvMat * X)
| ^~~~~~~~~
In file included from /home/music/catkin_ws/src/ORB_SLAM2/src/PnPsolver.cc:53:
Could you please give me a hand !
Thank you!
Metadata
Metadata
Assignees
Labels
No labels