-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to compile? #1
Comments
I've meet the same error. Have you fix it? |
no....... |
Don't know which version of opencv the author used. I've completely compiled the Dynaslam(bescos, here), but when I compile this, many errors appear. They are almost all related to |
Hi all, unfortunately I primarily worked on the other repository of this project. @ilnehc has done the majority of the work on the project, so he would be your best resource. Thanks for your interest in the project! |
But he haven't open issue... |
Could you please tell me which version of opencv did you use? Yolo seems used |
Sorry for the late reply. This is the first time I have issues on Github, that I didn't pay some attention to these messages. I believe my opencv version is 3.4.4. Hope this can help you guys. |
Hello, I really appreciate your work.
But I reported an error during compilation, how should I solve it?
In file included from /usr/local/include/opencv2/core.hpp:56:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/traits.hpp:226:18: error: previous definition of ‘class cv::DataType’
template<> class DataType
^
In file included from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:3:0:
/usr/local/opencv2.4.11/include/opencv2/core/core.hpp:1106:18: error: redefinition of ‘class cv::DataType’
template<> class DataType
^
In file included from /usr/local/include/opencv2/core.hpp:56:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/traits.hpp:241:18: error: previous definition of ‘class cv::DataType’
template<> class DataType
^
In file included from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:3:0:
/usr/local/opencv2.4.11/include/opencv2/core/core.hpp:1118:44: error: redefinition of ‘class cv::DataType<cv::Matx<_Tp, m, n> >’
template<typename _Tp, int m, int n> class DataType<Matx<_Tp, m, n> >
^
In file included from /usr/local/include/opencv2/core.hpp:57:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/matx.hpp:253:44: error: previous definition of ‘class cv::DataType<cv::Matx<_Tp, m, n> >’
template<typename _Tp, int m, int n> class DataType< Matx<_Tp, m, n> >
^
In file included from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:3:0:
/usr/local/opencv2.4.11/include/opencv2/core/core.hpp:1130:38: error: redefinition of ‘class cv::DataType<cv::Vec<_Tp, m> >’
template<typename _Tp, int cn> class DataType<Vec<_Tp, cn> >
^
In file included from /usr/local/include/opencv2/core.hpp:57:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/matx.hpp:416:38: error: previous definition of ‘class cv::DataType<cv::Vec<_Tp, m> >’
template<typename _Tp, int cn> class DataType< Vec<_Tp, cn> >
^
In file included from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:3:0:
/usr/local/opencv2.4.11/include/opencv2/core/core.hpp:1142:30: error: redefinition of ‘class cv::DataType<std::complex<_Tp> >’
template class DataType<std::complex<_Tp> >
^
In file included from /usr/local/include/opencv2/core.hpp:3223:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/cvstd.inl.hpp:60:30: error: previous definition of ‘class cv::DataType<std::complex<_Tp> >’
template class DataType< std::complex<_Tp> >
^
In file included from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:3:0:
/usr/local/opencv2.4.11/include/opencv2/core/core.hpp:1154:30: error: redefinition of ‘class cv::DataType<cv::Complex<_Tp> >’
template class DataType<Complex<_Tp> >
^
In file included from /usr/local/include/opencv2/core.hpp:58:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/types.hpp:93:30: error: previous definition of ‘class cv::DataType<cv::Complex<_Tp> >’
template class DataType< Complex<Tp> >
^
In file included from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:3:0:
/usr/local/opencv2.4.11/include/opencv2/core/core.hpp:1166:30: error: redefinition of ‘class cv::DataType<cv::Point<Tp> >’
template class DataType<Point<Tp> >
^
In file included from /usr/local/include/opencv2/core.hpp:58:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/types.hpp:185:30: error: previous definition of ‘class cv::DataType<cv::Point<Tp> >’
template class DataType< Point<Tp> >
^
In file included from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:3:0:
/usr/local/opencv2.4.11/include/opencv2/core/core.hpp:1178:30: error: redefinition of ‘class cv::DataType<cv::Point3<Tp> >’
template class DataType<Point3<Tp> >
^
In file included from /usr/local/include/opencv2/core.hpp:58:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/types.hpp:256:30: error: previous definition of ‘class cv::DataType<cv::Point3<Tp> >’
template class DataType< Point3<Tp> >
^
In file included from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:3:0:
/usr/local/opencv2.4.11/include/opencv2/core/core.hpp:1190:30: error: redefinition of ‘class cv::DataType<cv::Size<Tp> >’
template class DataType<Size<Tp> >
^
In file included from /usr/local/include/opencv2/core.hpp:58:0,
from /usr/local/include/opencv2/dnn/dnn.hpp:46,
from /usr/local/include/opencv2/dnn.hpp:62,
from /home/liubh/YOLO-DynaSLAM-master/src/yolo.cc:2:
/usr/local/include/opencv2/core/types.hpp:319:30: error: previous definition of ‘class cv::DataType<cv::Size<Tp> >’
template class DataType< Size<_Tp> >
The text was updated successfully, but these errors were encountered: