在编译Opencv时报错:#error "No suitable threading library available."
解决方案:
opencv-3.4.514/3rdparty/protobuf/src/google/protobuf/stubs/common.cc
中添加下面这一行
#define HAVE_PTHREAD
保存修改后的文件,然后重新编译。
在编译Opencv时报错:#error "No suitable threading library available."
解决方案:
opencv-3.4.514/3rdparty/protobuf/src/google/protobuf/stubs/common.cc
中添加下面这一行
#define HAVE_PTHREAD
保存修改后的文件,然后重新编译。