Thank you everybody for your help. I was able to get this resolved.
Thanks to James’s question about the general configuration, I performed a search to find OpenCV files that must have been installed via another hardware SDK (they were not located under /usr/local).
After deleting those, everything installed properly. However, I got an error stating “fatal error: opencv2/opencv.hpp: No such file or directory”. After doing some more research, I added “-D OPENCV_GENERATE_PKGCONFIG=ON” to the build options.
After all that, I can now build my program with pkg-config --libs --cflags opencv4
instead of opencv.
Willy