Aboat compiling Culane evaluation tools
Closed this issue · 1 comments
I always get the following error when I want to compile the evaluation tools using "make" command
#############################
CXX src/counter.cpp
In file included from include/lane_compare.hpp:4,
from include/counter.hpp:4,
from src/counter.cpp:8:
include/spline.hpp:6:10: fatal error: opencv2/core.hpp: No such file or directory
6 | #include <opencv2/core.hpp>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:40: build/src/counter.o] Error 1
#################################
Although the Opencv C++ requirements are reinstalled, the mentioned error has always been raised.
Is there any solution to this error?
You can try to install opencv lib by sudo apt install -y libopencv-dev
and compile the eval tools. By the way, our repo reimplements the evaluation tool using python opencv.