OpenCV/iOS linkage with libc++ fails (Bug #2319)
Description
Hi,
I'm trying to create an XCode project with C++11 standard library capabilities (such as std::unique_ptr).
In order to do that, I must use libc++ as my standard library, and not libstdc++ which doesn't support C++11.
However, if I'm correct, there are currently two problems with compiling my code with libc++ and linking it
with the opencv2.framework:
1. The framework is built with the default libstdc++.
2. When linking my code, I get an error from operations.hpp, saying that <ext/atomicity.h> is not found, because
there's no such file in libc++.
In the bottom line, I cannot write C++11 compliant code if I use OpenCV in my project.
Related issues
duplicates Bug #2412: link error: opencv 2.4.2 libc++ | Open | 2012-10-04 |
Associated revisions
Merge pull request #2319 from m3d:patch-1
History
Updated by Vadim Pisarevsky over 12 years ago
- Target version deleted (
2.4.3)
Updated by Andrey Kamaev over 12 years ago
Closing as a duplicate
- Status changed from Open to Cancelled
- Assignee set to Vadim Pisarevsky
Updated by Andrey Kamaev about 12 years ago
- Target version set to 2.4.3