Skip to content
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

Linux build error #118

Open
JeongyongShin opened this issue Jun 15, 2019 · 1 comment
Open

Linux build error #118

JeongyongShin opened this issue Jun 15, 2019 · 1 comment

Comments

@JeongyongShin
Copy link

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

@selimarikan
Copy link

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*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants