Just wanted to share a success… I was struggling to get the latest robotpy-cscore on my nvidia Jetson. I was previously using the repo from @auscompgeek to install, but it has not been updated in a while. I found this old thread, but it seems to be quite out of date.
I successfully got it installed by setting the include directory and using pip.
Hm? There’s no section about compiling OpenCV in the docs. There is a bullet point about it, but that’s about it. Is that what you’re referring to? Maybe I need to make it clearer those are two entirely separate bullet points.
-DOPENCV_GENERATE_PKGCONFIG=ON is a cmake build option for OpenCV. Your pkg-config call found opencv4, so the OpenCV you have installed would’ve been built with that.