Ask Your Question

johnw's profile - activity

2013-06-06 23:56:21 -0600 asked a question persistence.cpp rejects haarcascade_frontalface_default.xml

Hi,

I am using Cross Compiled OpenCV 2.4.3 on an ARM platform. I have used ccmake. utility to produce statically linked libraries and then compiled them into my program as one very large executable ( around 10MB ).

I am having an issue where when trying to load the haarcascade_frontalface_default.xml, persistence.cpp rejects it.

OpenCV Error: Parsing error (/home/pi/testio/configxml/data/haarcascades/haarcascade_frontalface_default.xml(1): There should be space between attributes) in icvXMLParseTag, file /Users/jw/opencv243/modules/core/src/persistence.cpp, line 2233
terminate called after throwing an instance of 'cv::Exception'
what():
/Users/jw/opencv243/OpenCVrbp/opencv243/modules/core/src/persistence.cpp:2233: error: (-212) /home/pi/testio/configxml/data/haarcascades/haarcascade_frontalface_default.xml(1): There should be space between attributes in function icvXMLParseTag

I would truly appreciate some help in resolving this.

Thank you. John

2013-06-06 07:41:01 -0600 asked a question ARM crosscompiling generates undefined reference errors when statically linking

Hi,

I would truly appreciate help on the following. I am cross compiling for ARM on a MAC OS X host. My goal is to statically link the OpenCV Libraries. The following error pops op ;

/Users/jw/projects/testproj/code/code/trunk/Cmodels/testpl/opencv243/arm/lib/libopencv_imgproc.a(color.cpp.o): In function cv::CvtColorLoop_Invoker<cv::mRGBA2RGBA<unsigned char> >::~CvtColorLoop_Invoker()': color.cpp:(.text._ZN2cv20CvtColorLoop_InvokerINS_10mRGBA2RGBAIhEEED2Ev[_ZN2cv20CvtColorLoop_InvokerINS_10mRGBA2RGBAIhEEED5Ev]+0x20): undefined reference tocv::ParallelLoopBody::~ParallelLoopBody()'

Sincerely, John