MobileNet-YOLO icon indicating copy to clipboard operation
MobileNet-YOLO copied to clipboard

[Bug] make时发生的错误

Open QingxinWx opened this issue 5 years ago • 5 comments

../lib/libcaffe.so.1.0.0:对‘cv::VideoWriter::write(cv::Mat const&)’未定义的引用 ../lib/libcaffe.so.1.0.0:对‘cv::VideoWriter::VideoWriter(cv::String const&, int, double, cv::Size_, bool)’未定义的引用 ../lib/libcaffe.so.1.0.0:对‘cv::VideoWriter::VideoWriter()’未定义的引用 ../lib/libcaffe.so.1.0.0:对‘cv::VideoWriter::isOpened() const’未定义的引用 ../lib/libcaffe.so.1.0.0:对‘cv::VideoWriter::~VideoWriter()’未定义的引用 collect2: error: ld returned 1 exit status tools/CMakeFiles/caffe.bin.dir/build.make:134: recipe for target 'tools/caffe' failed make[2]: *** [tools/caffe] Error 1 CMakeFiles/Makefile2:617: recipe for target 'tools/CMakeFiles/caffe.bin.dir/all' failed make[1]: *** [tools/CMakeFiles/caffe.bin.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

QingxinWx avatar Jul 16 '19 05:07 QingxinWx

the same problem

gxzmf avatar Jul 23 '19 12:07 gxzmf

the same problem

Did you solve the problem?

QingxinWx avatar Jul 28 '19 12:07 QingxinWx

the same problem

Did you solve the problem?

see https://github.com/eric612/MobileNet-YOLO/issues/73#issuecomment-506580259

gxzmf avatar Jul 30 '19 09:07 gxzmf

if your opencv version 3.X, open OPENCV_VERSION := 3 in Makefile.config OR, add a line: LIBRARIES += opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs opencv_videoio in Makefile.config

cyscn avatar Aug 14 '19 06:08 cyscn

你可以把其它版本的opencv卸载,然后装上opencv3.3.1版本,再按照他的步骤进行编译。应该就可以解决这个问题了。 @QingxinWx

WallZFE avatar Aug 28 '19 02:08 WallZFE