cpvrlab/ImagePlay

Linux build error

Opened this issue · 1 comments

I faced below error at Ubuntu 16.4.
How can I do?

collect2: error: ld returned 1 exit status
Makefile:373: recipe for target '../_bin/Release/linux/imageplay' failed
make[1]: *** [../_bin/Release/linux/imageplay] Error 1
make[1]: Leaving directory '/home/jy/ImagePlay/ImagePlay'
Makefile:86: recipe for target 'sub-ImagePlay-make_first-ordered' failed
make: *** [sub-ImagePlay-make_first-ordered] Error 2

Hi, I had the same problem. You can use this:
sudo apt-get install libopencv-contrib-dev

wget -O opencv-3.4-x86_64.pkg.tar.xz https://www.archlinux.org/packages/extra/x86_64/opencv/download/

sudo tar --wildcards --strip=2 -C /usr/lib/x86_64-linux-gnu/ -xf opencv-3.4-x86_64.pkg.tar.xz usr/lib/libopencv_xfeatures2d.so* usr/lib/libopencv_xphoto.so* usr/lib/libopencv_optflow.so*