Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380
My Carrier: Vodafone

Integrating OpenCv to cascades app, says ext/atomicity.h: No such file or directory

Hi all,

 

I have integrated opencv library and its header library. While building i am gettting the below error.

make -f Makefile.Debug
make[2]: Entering directory `C:/ndk-10.2-workspace/OpenCvSample/arm'
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,o.le-v7-g/.obj/OpenCvSample -Wno-psabi -lang-c++ -fstack-protector -fstack-protector-all -mcpu=cortex-a9 -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../bbndk/target_10_2_0_1155/qnx6/usr/share/qt4/mkspecs/blackberry-armv7le-qcc -I../../OpenCvSample -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4 -I../../OpenCV-2_4_1/modules/core/include -I../../OpenCV-2_4_1/modules/highgui/include -Io.le-v7-g/.moc -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/freetype2 -I. -o o.le-v7-g/.obj/main.o ../src/main.cpp
In file included from ../../OpenCV-2_4_1/modules/core/include/opencv2/core/core.hpp:4587:0,
                 from ../src/main.cpp:24:
../../OpenCV-2_4_1/modules/core/include/opencv2/core/operations.hpp:65:33: fatal error: ext/atomicity.h: No such file or directory
compilation terminated.
cc: C:/bbndk/host_10_2_0_15/win32/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1plus caught signal 1
make[2]: *** [o.le-v7-g/.obj/main.o] Error 1
make[1]: *** [debug] Error 2
make: *** [Device-Debug] Error 2
make[2]: Leaving directory `C:/ndk-10.2-workspace/OpenCvSample/arm'
make[1]: Leaving directory `C:/ndk-10.2-workspace/OpenCvSample/arm'

 

 

 

 

Developer
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380
My Carrier: Vodafone

Re: Integrating OpenCv to cascades app, says ext/atomicity.h: No such file or directory

Does anyone knows?
Highlighted
Developer
Posts: 101
Registered: ‎02-25-2011
My Device: Playbook, q5, z10
My Carrier: TM

Re: Integrating OpenCv to cascades app, says ext/atomicity.h: No such file or directory

we are also struggling with opencv. if i have any further information. i will let you know

________________
mappau Dev Team
blackberry@mappau.com
twitter: mappau