开发者

Compiling with -o3 freezes app, while -o0 works fine

I've just successfully built openCV as a static library for iOS armv7 architecture.

However, when refe开发者_StackOverflowrencing this library from an app compiled under -o3 (or -o2, -o1) the app just freezes when this library is called.

I'm guessing it's something I didn't set as build flags or options when compiling openCV that's the problem (I compiled openCV using cMake and Xcode 4) - any ideas what I'm doing wrong?


Like @ughoavgfhw said above, it was a threading issue. One task was being completed at an earlier stage than expected (with no checking for this), and ended up creating a recurring loop.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜