I have a simple program that displays an image using OpenCV 4.3. If I run it in terminal e.g. ./test_opencv
it displays the image, however if I double-click the same executable in a Finder window, the read image is empty.
What is the cause of this?
I am including cmake 3.16, apple clang 11.0.3, and am including all opencv libraries.