Closed afgranero closed 3 years ago
I also tried to rewrite the lib in C without using OpenCV for a simpler lib to work around OpenCV (the program where I use it can do all OpenCV stuff). But my call to libusb_bulk_transfer gives me an LIBUSB_ERROR_IO after connecting to the Seek CompactPro.
I tryed to compile OpenCV from source. I followed instructions here: http://techawarey.com/programming/install-opencv-c-c-in-ubuntu-18-04-lts-step-by-step-guide/. I was sucessfull in compiling and installing. I was able to compile a C++ test program using OpenCV using headers from /usr/include/opencv.
But I am still not able to compile this project, recieving the error of of libopencv-dev not installed.
This is interesting because as I'm sure you can see the library does not do anything out of the ordinary to direct CMAKE how to locate OpenCV we just call the find_package
macro. On most platforms the package will be automatically located. I wonder if something is going wrong with the logging macro. Can you try removing the TRUE
from macro_log_feature (OPENCV_FOUND "OpenCV" "Required to handle image processing" "https://opencv.org/" TRUE)
and seeing if the build proceeds.
After compiling OpenCV from source I attempted to use cmake again and it worked. I was able to cmpile the examples. But I still don't understandt why installling libopencv-dev didn't work
This is interesting because as I'm sure you can see the library does not do anything out of the ordinary to direct CMAKE how to locate OpenCV we just call the
find_package
macro. On most platforms the package will be automatically located. I wonder if something is going wrong with the logging macro. Can you try removing theTRUE
frommacro_log_feature (OPENCV_FOUND "OpenCV" "Required to handle image processing" "https://opencv.org/" TRUE)
and seeing if the build proceeds.
I will try.
have anyone solved this problem in win10
i've downloaded opencv from https://opencv.org/releases/ then install
i've copied OpenCVConfig.cmake to cmake folder
which step that i am missing or i'm wrong
please correct me
I followed the instructions and installed the dependencies (for Linux Mint):
But cmake reports (the relevant part):
libopencv-dev is the correct version. I added those lines to CMakelists.txt:
getting (the relevant part):
If I give :
ldconfig -p | grep opencv-dev
I get: