ubuntu 16.04 hisi 200 , opencv 交叉编译

https://zhuanlan.zhihu.com/p/84839635

可能的错误

common.cc:52:2: error: #error "No suitable threading library available." #error "No suitable threading library available.

 

解决方法:

在/home/jsaon/tool/opencv-3.4.5/3rdparty/protobuf/src/google/protobuf/stubs/common.cc 中添加下面这一行

#define HAVE_PTHREAD

posted @ 2019-11-07 08:42  Ahuzcl  阅读(751)  评论(0编辑  收藏  举报