Hi,
I'd like to compile my program with openCV as a static library, to create a standalone app. I've tried using the cmake flag BUILD_SHARED_LIBS=OFF, however when I try to run my app on an ubuntu machine without openCV installed, I get the following error:
./gray_static_v03.out: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Any ideas? Any help would be greatly appreciated!
Here is a link to the dockerfile I am using: github.com/sknelson111/openCV/blob/master/Dockerfile
Thank you!