DEV Community

Discussion on: Use OpenCV with Xcode

Collapse
 
pertuit profile image
René Pertuit

Hi,
Thank you for this working installation. This is all very well, but how do you export this program to another computer without having to reinstall all OpenCV on this computer? This is a problem I currently have: when launching the program (the built program) on another computer where OpenCV is not installed, it does not work:
It claims that the Dylibs be placed in /usr/local/opt/opencv/lib/xxx.dylib, although I put them in the program folder. Is there a setting to be made in Xcode to allow the export to another computer (without having to reinstall everything)? Do you have a solution to avoid reinstalling all OpenCV on each computer where the program is copied?
Thanks.

Collapse
 
0xkoji profile image
0xkoji

Probably, you will need to use static libraries.