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

fatal error: opencv2/core/core.hpp: No such file or directory #23

Open
yesmkaran opened this issue Nov 8, 2020 · 2 comments
Open

fatal error: opencv2/core/core.hpp: No such file or directory #23

yesmkaran opened this issue Nov 8, 2020 · 2 comments

Comments

@yesmkaran
Copy link

When I try running the source code using make, I get this error -

In file included from src/lane/util.cpp:8:
include/lane/util.hpp:4:10: fatal error: opencv2/core/core.hpp: No such file or directory
4 | #include <opencv2/core/core.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:41: build/src/lane/util.o] Error 1

Can anyone help with this, please?

@MengFanZe1
Copy link

sudo apt-get install libopencv-dev

@igormahall
Copy link

for me, I needed to add the "opencv4/opencv2" to find the libs

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

3 participants