Open liubh0425 opened 4 years ago
I've meet the same error. Have you fix it?
I've meet the same error. Have you fix it?
no.......
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 opencv
.
So which version of opencv should I use? I've not found the author's email to connect.
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!
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...
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!
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!
Could you please tell me which version of opencv did you use? Yolo seems used opencv/dnn.hpp
. So you used opencv3.x?
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> >