title: OpenCV 2.4.3+ with libstdc++ for iOS?
body: <p>I'm trying to include a recent version of OpenCV into an existing iOS project and am having linker errors because my XCode project is set to use libstdc++ and not libc++ / C++ 11 support.</p>
  
  <p>I have seen several other people who have fixed their errors by enabling libc++. Examples:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/14030546/linker-errors-after-upgrading-xcode-to-4-5-2-and-opencv-to-2-4-3">Linker errors after upgrading Xcode to 4.5.2 and OpenCV to 2.4.3</a></li>
  <li><a href="https://stackoverflow.com/questions/14185716/how-to-resolve-ios-link-errors-with-opencv">How to resolve iOS Link errors with OpenCV</a></li>
  </ul>
  
  <p>However, I NEED to use libstdc++ because I have other 3rd party libraries which are already compiled with the older stdlib (can't be changed). Is there a way to compile OpenCV 2.4.3+ without -stdlib=libc++ ? Are there special flags to pass to CMake? or to the build_framework.py script that comes in the ios folder of the OpenCV source code?</p>
  
  <p>Alternatively, does anyone have a binary version available? It seems all downloadable from OpenCV assume libc++ / C++11.</p>