Trying to compile cv_bridge - OpenCVConfig.cmake missing
Hello
can someone point me on where to find this one ?
I tried copying the repositiory of https://github.com/opencv/opencv to my catkin/src folder but I still get the error
-- +++ processing catkin package: 'cv_bridge'
-- ==> add_subdirectory(cv_bridge)
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (found version "2.7.16")
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- python
CMake Error at cv_bridge/CMakeLists.txt:16 (find_package):
Could not find a package configuration file provided by "OpenCV" (requested
version 3) with any of the following names:
OpenCVConfig.cmake
opencv-config.cmake
Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.
can someone help me out ?
thanks
This is most likely not what you want to be doing.
See #q346123 for a recent Q&A about what I believe you want/should be doing.
it's not even remotely related to missing OpenCVConfig.cmake nor OpenCV ros package
I use a code/compiled ros, not official packages since it's a raspberry pi 4
that referenced question does not seem to be related to this problem, the problem still happens when following that process.
I could compile it on my side, can't really remember, I just used the regular ros opencv package and switched to ros build utils or something