I was tried to build .so file. The file contains libraries such as tbb,dlib. When i execute my cpp file, exception raised [Assembler messages: Error: thumb conditional instruction should be in IT block -- `strexeq r1,r2,[r4]'].
vector<tbb::atomic<bool> > face_detections_used(face_detections.size());
if(face_detections_used[detection_ind].compare_and_swap(true, false) == false)
{
// Reinitialise the model
clm_models[model].Reset();
clm_models[model].detection_success = false;
detection_success = CLMTracker::DetectLandmarksInVideo(grayscale_image, depth_image, face_detections[detection_ind], clm_models[model], clm_parameters[model]);
active_models[model] = true;
break;
}
I thing exception from that code. Any specific cpp flags required for tbb. Any idea about this, its helpful for me thank you
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…