title: How to run a OSX application with OpenCV in a mac without OpenCV installed
body: <p>I am developing a OSX application in Objective-C and OpenCV-2.4.12 using Xcode. 
  I followed <a href="https://www.youtube.com/watch?v=37RvqZVddAw" rel="nofollow">this installation video guide</a> and <a href="https://www.youtube.com/watch?v=OVSPfUmNyOw" rel="nofollow">this setup video guide</a> to integrate the OpenCV. Basically in the second video, the author uses the OpenCV dynamic libraries (.dylib files).</p>
  
  <p>This work perfectly in my mac, but in another macs without OpenCV installed the application gives an error and I can´t open and run it.
  I have searched and I think the solution is to use static libraries (.a files). But I can´t figure out how to replace the dynamic libraries with static libraries.</p>
  
  <p>Which static libraries I need to use? Where I find them? How I link them in Xcode?</p>
  
  <p>My settings right now:</p>
  
  <p>I added to the project the <em>libopencv_core.2.4.12.dylib</em>, <em>libopencv_highgui.2.4.12.dylib</em>, <em>libopencv_imgproc.2.4.12.dylib</em>.</p>
  
  <p>In the Search Paths I have (like explained in the second video):</p>
  
  <ul>
  <li><strong>Framework Search Paths:</strong> /usr/local/lib</li>
  <li><strong>Header Search Paths:</strong> /usr/local/include</li>
  <li><strong>Library Search Paths:</strong> <em>"OpenCVFolderPath"</em>/build/lib</li>
  </ul>
  
  <p>Thank you.</p>