OpenCV/iOS linkage with libc++ fails (Bug #2319)


Added by Yaron Inger over 12 years ago. Updated about 12 years ago.


Status:Cancelled Start date:2012-08-28
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:ios
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision 935e36bc
Added by Roman Donchenko about 11 years ago

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

Also available in: Atom PDF