Ask Your Question

openCv & ios #include <ext/atomicity> error

asked 2012-07-16 04:50:47 -0500

leolelego gravatar image

updated 2012-10-23 21:49:34 -0500

AlexanderShishkov gravatar image

Hello !

I want to use OpenCV in a iOS project. With little project that's works good, but in another projet i have a problem in operations.hpp. The compilation log tells me there is an error in operations.hpp, that I don't know

 #include < ext / atomicity >

When i do a "locate" command i see it in the ios "normal" include folder.

i don't understand this error! Do you have suggestions ?


PS: i'm french, so sorry for my poor english, and can you respond without abbreviation =)

edit retag flag offensive close merge delete


Hello, I have the same problem with this file. Were you able to fix this issue?

Foxfire gravatar imageFoxfire ( 2012-10-23 13:23:42 -0500 )edit

2 answers

Sort by » oldest newest most voted

answered 2012-11-01 16:52:25 -0500

AlexanderShishkov gravatar image

This problem was fixed. Additional information is in the following pull request:

edit flag offensive delete link more

answered 2012-10-23 21:50:59 -0500

AlexanderShishkov gravatar image

Try to change your project's target settings, select libstdc++ (GNU C++ standard library) for the C++ Standard Library setting.

edit flag offensive delete link more


that fixed the: "'ext/atomicity.h' file not found" error, but now i'm getting 40 errors for: "Undefined symbols for architecture armv7". do I need to build opencv again with a different config?

Foxfire gravatar imageFoxfire ( 2012-10-24 01:33:07 -0500 )edit

just trying to bump the issue. Would changing xCode standard library requires to rebuild OpenCV?

Foxfire gravatar imageFoxfire ( 2012-10-25 15:27:28 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2012-07-16 04:50:47 -0500

Seen: 2,111 times

Last updated: Nov 01 '12