Faster_OpenCV_4_Raspberry_Pi icon indicating copy to clipboard operation
Faster_OpenCV_4_Raspberry_Pi copied to clipboard

Wrong install path

Open kaajo opened this issue 4 years ago • 0 comments

In the build_information.txt there is install path /usr/local but all .deb packages install libraries to /usr path. This leads to the wrong configuration in CMake using pkg-config. I had to manually fix the issue in my scripts using this command: sed -i 's/prefix=\/usr\/local/prefix=\/usr/' /usr/lib/pkgconfig/opencv4.pc

I suggest editing the build configuration to /usr and reupload packages

Anyway, these deb packages helped me a lot in my RPI project!

kaajo avatar Dec 28 '20 23:12 kaajo