@nihui
您好,编译时遇到如下错误,请问如何调试,
opencv-mobile-4.5.4-c906/lib/libopencv_core.a(parallel.cpp.o): in function .L0 ': parallel.cpp:(.text._ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd+0x4e): undefined reference to
__atomic_exchange_1'
下面是测试代码
#include"opencv2/opencv.hpp"
#include"opencv2/highgui.hpp"
#include"iostream"
using namespace std;
using namespace cv;
int main(int argc,char* argv[])
{
Mat frame = imread("./image.jpg");
imwrite("new.jpg",frame);
return 0;
}
~