Issue 1:
master branch build error:

ruct std::atomic<long int>’ has no member named ‘GetNext’
lifecycle_id_ = lifecycle_id_generator_.GetNext();
^~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:69:3: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&hint_, 0);
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:70:3: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&threads_, 0);
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:76:75: error: ‘InitBlock’ was not declared in this scope
InitBlock(initial_block_, &thread_cache(), options_.initial_block_size);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:77:5: error: ‘ThreadInfo’ was not declared in this scope
ThreadInfo* info = NewThreadInfo(initial_block_);
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:77:17: error: ‘info’ was not declared in this scope
ThreadInfo* info = NewThreadInfo(initial_block_);
^~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:77:52: error: ‘NewThreadInfo’ was not declared in this scope
ThreadInfo* info = NewThreadInfo(initial_block_);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:79:5: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&threads_,
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:80:80: error: ‘AtomicWord’ in namespace ‘google::protobuf::internal’ does not name a type
reinterpret_cast<google::protobuf::internal::AtomicWord>(info));
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:81:5: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&space_allocated_,
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:83:30: error: ‘CacheBlock’ was not declared in this scope
CacheBlock(initial_block_);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:85:5: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&space_allocated_, 0);
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: At global scope:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:106:19: error: prototype for ‘google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::NewBlock(void*, google::protobuf::internal::ArenaImpl::Block*, size_t)’ does not match any in class ‘google::protobuf::internal::ArenaImpl’
ArenaImpl::Block* ArenaImpl::NewBlock(void* me, Block* my_last_block,
^~~~~~~~~
In file included from /usr/local/include/google/protobuf/arena.h:51:0,
from /media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/usr/local/include/google/protobuf/arena_impl.h:291:10: error: candidate is: google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::NewBlock(google::protobuf::internal::ArenaImpl::Block*, size_t)
Block* NewBlock(Block* last_block, size_t min_bytes);
^~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:106:12: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context
ArenaImpl::Block* ArenaImpl::NewBlock(void* me, Block* my_last_block,
^~~~~
In file included from /usr/local/include/google/protobuf/arena.h:51:0,
from /media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/usr/local/include/google/protobuf/arena_impl.h:215:25: note: declared private here
class PROTOBUF_EXPORT Block {
^~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:125:58: error: no ‘void google::protobuf::internal::ArenaImpl::InitBlock(google::protobuf::internal::ArenaImpl::Block*, void*, size_t)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
void ArenaImpl::InitBlock(Block* b, void *me, size_t size) {
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:125:27: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context
void ArenaImpl::InitBlock(Block* b, void *me, size_t size) {
^~~~~
In file included from /usr/local/include/google/protobuf/arena.h:51:0,
from /media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/usr/local/include/google/protobuf/arena_impl.h:215:25: note: declared private here
class PROTOBUF_EXPORT Block {
^~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:139:63: error: no ‘google::protobuf::internal::ArenaImpl::CleanupChunk* google::protobuf::internal::ArenaImpl::ExpandCleanupList(google::protobuf::internal::ArenaImpl::CleanupChunk*, google::protobuf::internal::ArenaImpl::Block*)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
Block* b) {
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:138:12: error: ‘struct google::protobuf::internal::ArenaImpl::CleanupChunk’ is private within this context
ArenaImpl::CleanupChunk* ArenaImpl::ExpandCleanupList(CleanupChunk* cleanup,
^~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/arena.h:51:0,
from /media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/usr/local/include/google/protobuf/arena_impl.h:128:10: note: declared private here
struct CleanupChunk {
^~~~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:139:55: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context
Block* b) {
^~~~~
In file included from /usr/local/include/google/protobuf/arena.h:51:0,
from /media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/usr/local/include/google/protobuf/arena_impl.h:215:25: note: declared private here
class PROTOBUF_EXPORT Block {
^~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:155:8: error: ‘GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE’ does not name a type
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void google::protobuf::internal::ArenaImpl::AddCleanup(void*, void (*)(void*))’:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:170:38: error: ‘GetBlock’ was not declared in this scope
return AddCleanupInBlock(GetBlock(0), elem, cleanup);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:170:54: error: ‘AddCleanupInBlock’ was not declared in this scope
return AddCleanupInBlock(GetBlock(0), elem, cleanup);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:170:54: error: return-statement with a value, in function returning 'void' [-fpermissive]
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void* google::protobuf::internal::ArenaImpl::AllocateAligned(size_t)’:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:176:35: error: ‘GetBlock’ was not declared in this scope
return AllocFromBlock(GetBlock(n), n);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:176:39: error: ‘AllocFromBlock’ was not declared in this scope
return AllocFromBlock(GetBlock(n), n);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void* google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(size_t, void (*)(void*))’:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:183:24: error: ‘GetBlock’ was not declared in this scope
Block* b = GetBlock(n);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:184:34: error: ‘AllocFromBlock’ was not declared in this scope
void* mem = AllocFromBlock(b, n);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:185:36: error: ‘AddCleanupInBlock’ was not declared in this scope
AddCleanupInBlock(b, mem, cleanup);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: At global scope:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:189:8: error: ‘GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE’ does not name a type
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:217:8: error: ‘GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE’ does not name a type
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:231:51: error: no ‘google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::GetBlockSlow(void*, google::protobuf::internal::ArenaImpl::Block*, size_t)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
size_t n) {
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:230:12: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context
ArenaImpl::Block* ArenaImpl::GetBlockSlow(void* me, Block* my_full_block,
^~~~~
In file included from /usr/local/include/google/protobuf/arena.h:51:0,
from /media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/usr/local/include/google/protobuf/arena_impl.h:215:25: note: declared private here
class PROTOBUF_EXPORT Block {
^~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::SpaceAllocated() const’:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:248:10: error: ‘NoBarrier_Load’ is not a member of ‘google::protobuf::internal’
return google::protobuf::internal::NoBarrier_Load(&space_allocated_);
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::SpaceUsed() const’:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:252:3: error: ‘ThreadInfo’ was not declared in this scope
ThreadInfo* info =
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:252:15: error: ‘info’ was not declared in this scope
ThreadInfo* info =
^~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:253:24: error: ‘ThreadInfo’ does not name a type
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:253:34: error: expected ‘>’ before ‘*’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:253:34: error: expected ‘(’ before ‘*’ token
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:253:35: error: expected primary-expression before ‘>’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:253:37: error: ‘Acquire_Load’ is not a member of ‘google::protobuf::internal’
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:253:89: error: expected ‘)’ before ‘;’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:259:43: error: cannot convert ‘google::protobuf::internal::ArenaImpl::Block::next’ from type ‘google::protobuf::internal::ArenaImpl::Block* (google::protobuf::internal::ArenaImpl::Block::)() const’ to type ‘google::protobuf::internal::ArenaImpl::Block*’
for (Block* b = info->head; b; b = b->next) {
^~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:260:31: error: ‘kHeaderSize’ was not declared in this scope
space_used += (b->pos - kHeaderSize);
^~~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::FreeBlocks()’:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:271:3: error: ‘ThreadInfo’ was not declared in this scope
ThreadInfo* info =
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:271:15: error: ‘info’ was not declared in this scope
ThreadInfo* info =
^~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:272:24: error: ‘ThreadInfo’ does not name a type
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:272:34: error: expected ‘>’ before ‘*’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:272:34: error: expected ‘(’ before ‘*’ token
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:272:35: error: expected primary-expression before ‘>’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:272:37: error: ‘NoBarrier_Load’ is not a member of ‘google::protobuf::internal’
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:272:91: error: expected ‘)’ before ‘;’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:276:17: error: ‘next_info’ was not declared in this scope
ThreadInfo* next_info = info->next;
^~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:279:30: error: cannot convert ‘google::protobuf::internal::ArenaImpl::Block::next’ from type ‘google::protobuf::internal::ArenaImpl::Block* (google::protobuf::internal::ArenaImpl::Block::)() const’ to type ‘google::protobuf::internal::ArenaImpl::Block*’
Block* next_block = b->next;
^~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:280:30: error: invalid use of member function ‘size_t google::protobuf::internal::ArenaImpl::Block::size() const’ (did you forget the ‘()’ ?)
space_allocated += (b->size);
~~~~^~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:280:34: error: in evaluation of ‘operator+=(google::protobuf::uint64 {aka long unsigned int}, <unresolved overloaded function type>)’
space_allocated += (b->size);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:289:42: error: cannot convert ‘google::protobuf::internal::ArenaImpl::Block::size’ from type ‘size_t (google::protobuf::internal::ArenaImpl::Block::)() const {aka long unsigned int (google::protobuf::internal::ArenaImpl::Block::)() const}’ to type ‘size_t {aka long unsigned int}’
options_.block_dealloc(b, b->size);
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void google::protobuf::internal::ArenaImpl::CleanupList()’:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:303:3: error: ‘ThreadInfo’ was not declared in this scope
ThreadInfo* info =
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:303:15: error: ‘info’ was not declared in this scope
ThreadInfo* info =
^~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:304:24: error: ‘ThreadInfo’ does not name a type
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:304:34: error: expected ‘>’ before ‘*’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:304:34: error: expected ‘(’ before ‘*’ token
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:304:35: error: expected primary-expression before ‘>’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:304:37: error: ‘NoBarrier_Load’ is not a member of ‘google::protobuf::internal’
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:304:91: error: expected ‘)’ before ‘;’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:309:24: error: ‘struct google::protobuf::internal::ArenaImpl::CleanupChunk’ has no member named ‘len’
size_t n = list->len;
^~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:310:46: error: ‘struct google::protobuf::internal::ArenaImpl::CleanupChunk’ has no member named ‘len’
CleanupNode* node = &list->nodes[list->len - 1];
^~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: At global scope:
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:319:12: error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name a type
ArenaImpl::ThreadInfo* ArenaImpl::NewThreadInfo(Block* b) {
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:330:12: error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name a type
ArenaImpl::ThreadInfo* ArenaImpl::FindThreadInfo(void* me) {
^~~~~~~~~~
/media/jintain/sg/permanent/software/source_codes/opencv_git/sandbox/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:342:12: error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name a type
ArenaImpl::ThreadInfo* ArenaImpl::GetThreadInfo(void* me, size_t n) {
^~~~~~~~~~

It's a fresh new opencv, but build with so much more errors..................... And it's about protobuf??????????????????????? what exactly wrong with this weired problem????????????????

Issue 2:
System information (version)

OpenCV => 4.0.0

Operating System / Platform => ubuntu - docker image (jupyter/datascience-notebook:14fdfbf9cfc1)

Compiler => gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)

Detailed description

Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o failes with:

...
Scanning dependencies of target libprotobuf
[ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:51:29: error: ‘SequenceNumber’ in namespace ‘google::protobuf::internal’ does not name a type
google::protobuf::internal::SequenceNumber ArenaImpl::lifecycle_id_generator_;
^~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void google::protobuf::internal::ArenaImpl::Init()’:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:68:43: error: ‘struct std::atomic<long int>’ has no member named ‘GetNext’
lifecycle_id_ = lifecycle_id_generator_.GetNext();
^~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:69:31: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&hint_, 0);
^~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:70:31: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&threads_, 0);
^~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:76:5: error: ‘InitBlock’ was not declared in this scope
InitBlock(initial_block_, &thread_cache(), options_.initial_block_size);
^~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:76:5: note: suggested alternative: ‘NewBlock’
InitBlock(initial_block_, &thread_cache(), options_.initial_block_size);

...

cmake output

Cmake Warnings

CMake Warning at cmake/OpenCVDetectPython.cmake:81 (message):
CMake's 'find_host_package(PythonInterp 2.7)' founds wrong Python version:

PYTHON_EXECUTABLE=/opt/conda/bin/python

PYTHON_VERSION_STRING=3.6.6

Consider specify 'PYTHON2_EXECUTABLE' variable via CMake command line or
environment variables

Call Stack (most recent call first):
cmake/OpenCVDetectPython.cmake:275 (find_python)
CMakeLists.txt:553 (include)

CMake Warning at cmake/OpenCVUtils.cmake:1336 (add_library):
Cannot generate a safe runtime search path for target opencv_core because
files in some directories may conflict with libraries in implicit
directories:

runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/opt/conda/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
cmake/OpenCVModule.cmake:924 (ocv_add_library)
cmake/OpenCVModule.cmake:849 (_ocv_create_module)
modules/core/CMakeLists.txt:72 (ocv_create_module)

-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PythonInterp: /opt/conda/bin/python (found suitable version "3.6.6", minimum required is "2.7")
-- Consider using CMake 3.12+ for better Python support
-- Found PythonInterp: /opt/conda/bin/python3 (found suitable version "3.6.6", minimum required is "3.2")
-- Found PythonLibs: /opt/conda/lib/libpython3.6m.so (found suitable exact version "3.6.6")
-- Looking for ccache - not found
-- Performing Test HAVE_CXX_FSIGNED_CHAR
-- Performing Test HAVE_CXX_FSIGNED_CHAR - Success
-- Performing Test HAVE_C_FSIGNED_CHAR
-- Performing Test HAVE_C_FSIGNED_CHAR - Success
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Success
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Success
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Success
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Success
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Success
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Success
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Success
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Success
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Success
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Success
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Success
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Success
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Success
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_WSHADOW
-- Performing Test HAVE_CXX_WSHADOW - Success
-- Performing Test HAVE_C_WSHADOW
-- Performing Test HAVE_C_WSHADOW - Success
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Success
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Failed
-- Performing Test HAVE_CXX_WUNINITIALIZED
-- Performing Test HAVE_CXX_WUNINITIALIZED - Success
-- Performing Test HAVE_C_WUNINITIALIZED
-- Performing Test HAVE_C_WUNINITIALIZED - Success
-- Performing Test HAVE_CXX_WNO_NARROWING
-- Performing Test HAVE_CXX_WNO_NARROWING - Success
-- Performing Test HAVE_C_WNO_NARROWING
-- Performing Test HAVE_C_WNO_NARROWING - Success
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_CXX_WNO_COMMENT
-- Performing Test HAVE_CXX_WNO_COMMENT - Success
-- Performing Test HAVE_C_WNO_COMMENT
-- Performing Test HAVE_C_WNO_COMMENT - Success
-- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3
-- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 - Success
-- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3
-- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 - Success
-- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW
-- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_CXX_WNO_LONG_LONG
-- Performing Test HAVE_CXX_WNO_LONG_LONG - Success
-- Performing Test HAVE_C_WNO_LONG_LONG
-- Performing Test HAVE_C_WNO_LONG_LONG - Success
-- Performing Test HAVE_CXX_PTHREAD
-- Performing Test HAVE_CXX_PTHREAD - Success
-- Performing Test HAVE_C_PTHREAD
-- Performing Test HAVE_C_PTHREAD - Success
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_C_FFUNCTION_SECTIONS
-- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_CXX_FDATA_SECTIONS
-- Performing Test HAVE_CXX_FDATA_SECTIONS - Success
-- Performing Test HAVE_C_FDATA_SECTIONS
-- Performing Test HAVE_C_FDATA_SECTIONS - Success
-- Performing Test HAVE_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp)
-- Performing Test HAVE_CXX_MSSE - Success
-- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp)
-- Performing Test HAVE_CXX_MSSE2 - Success
-- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp)
-- Performing Test HAVE_CXX_MSSE3 - Success
-- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp)
-- Performing Test HAVE_CXX_MSSSE3 - Success
-- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp)
-- Performing Test HAVE_CXX_MSSE4_1 - Success
-- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp)
-- Performing Test HAVE_CXX_MPOPCNT - Success
-- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp)
-- Performing Test HAVE_CXX_MSSE4_2 - Success
-- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CXX_MF16C - Success
-- Performing Test HAVE_CXX_MFMA
-- Performing Test HAVE_CXX_MFMA - Success
-- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp)
-- Performing Test HAVE_CXX_MAVX - Success
-- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp)
-- Performing Test HAVE_CXX_MAVX2 - Success
-- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp)
-- Performing Test HAVE_CXX_MAVX512F - Success
-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ (check file: cmake/checks/cpu_avx512skx.cpp)
-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ - Success
-- Performing Test HAVE_CPU_BASELINE_FLAGS
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for memalign
-- Looking for memalign - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2.3")
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9")
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION
-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAVE_C_WNO_SHADOW
-- Performing Test HAVE_C_WNO_SHADOW - Success
-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED
-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Success
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test HAVE_C_WNO_UNINITIALIZED
-- Performing Test HAVE_C_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Success
-- Performing Test HAVE_C_WNO_UNUSED
-- Performing Test HAVE_C_WNO_UNUSED - Success
-- Performing Test HAVE_C_WNO_SIGN_COMPARE
-- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success
-- Performing Test HAVE_C_WNO_POINTER_COMPARE
-- Performing Test HAVE_C_WNO_POINTER_COMPARE - Success
-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE
-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE - Failed
-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Looking for /usr/include/libpng/png.h
-- Looking for /usr/include/libpng/png.h - found
-- Looking for semaphore.h
-- Looking for semaphore.h - found
-- Performing Test HAVE_CXX_WNO_SHADOW
-- Performing Test HAVE_CXX_WNO_SHADOW - Success
-- Performing Test HAVE_CXX_WNO_UNUSED
-- Performing Test HAVE_CXX_WNO_UNUSED - Success
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success
-- Performing Test HAVE_CXX_WNO_UNDEF
-- Performing Test HAVE_CXX_WNO_UNDEF - Success
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_CXX_WNO_SWITCH
-- Performing Test HAVE_CXX_WNO_SWITCH - Success
-- Performing Test HAVE_CXX_WNO_PARENTHESES
-- Performing Test HAVE_CXX_WNO_PARENTHESES - Success
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAVE_CXX_WNO_EXTRA
-- Performing Test HAVE_CXX_WNO_EXTRA - Success
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Success
-- Performing Test HAVE_CXX_WNO_DEPRECATED
-- Performing Test HAVE_CXX_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success
-- Checking for module 'gtk+-3.0'
-- No package 'gtk+-3.0' found
-- Checking for module 'gtk+-2.0'
-- No package 'gtk+-2.0' found
-- Checking for module 'gthread-2.0'
-- No package 'gthread-2.0' found
-- Checking for module 'gstreamer-base-1.0'
-- No package 'gstreamer-base-1.0' found
-- Checking for module 'gstreamer-video-1.0'
-- No package 'gstreamer-video-1.0' found
-- Checking for module 'gstreamer-app-1.0'
-- No package 'gstreamer-app-1.0' found
-- Checking for module 'gstreamer-riff-1.0'
-- No package 'gstreamer-riff-1.0' found
-- Checking for module 'gstreamer-pbutils-1.0'
-- No package 'gstreamer-pbutils-1.0' found
-- Checking for module 'gstreamer-base-0.10'
-- No package 'gstreamer-base-0.10' found
-- Checking for module 'gstreamer-video-0.10'
-- No package 'gstreamer-video-0.10' found
-- Checking for module 'gstreamer-app-0.10'
-- No package 'gstreamer-app-0.10' found
-- Checking for module 'gstreamer-riff-0.10'
-- No package 'gstreamer-riff-0.10' found
-- Checking for module 'gstreamer-pbutils-0.10'
-- No package 'gstreamer-pbutils-0.10' found
-- Checking for module 'libdc1394-2'
-- No package 'libdc1394-2' found
-- Checking for module 'libdc1394'
-- No package 'libdc1394' found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- Checking for modules 'libavcodec;libavformat;libavutil;libswscale'
-- Found libavcodec, version 57.107.100
-- Found libavformat, version 57.83.100
-- Found libavutil, version 55.78.100
-- Found libswscale, version 4.8.100
-- Checking for module 'libavresample'
-- No package 'libavresample' found
-- IPPICV: Download: ippicv_2019_lnx_intel64_general_20180723.tgz
-- found Intel IPP (ICV version): 2019.0.0 [2019.0.0 Gold]
-- at: /home/jovyan/opencv-4.0.0/cmake_binary/3rdparty/ippicv/ippicv_lnx/icv
-- found Intel IPP Integration Wrappers sources: 2019.0.0
-- at: /home/jovyan/opencv-4.0.0/cmake_binary/3rdparty/ippicv/ippicv_lnx/iw
-- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
-- Could NOT find Atlas (missing: Atlas_BLAS_LIBRARY)
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- A library with BLAS API found.
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
-- LAPACK(LAPACK/Generic): LAPACK_LIBRARIES: /opt/conda/lib/libopenblas.so;/opt/conda/lib/libopenblas.so
-- LAPACK(LAPACK/Generic): Support is enabled.
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success
-- Performing Test HAVE_CXX_WNO_SIGN_PROMO
-- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Failed
-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS
-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION
-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE
-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success
-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32
-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF
-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Failed
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
-- Could NOT find Pylint (missing: PYLINT_EXECUTABLE)
-- Could NOT find Flake8 (missing: FLAKE8_EXECUTABLE)
-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
-- Looking for dlerror in dl
-- Looking for dlerror in dl - found
-- Performing Test HAVE_C_WNO_UNDEF
-- Performing Test HAVE_C_WNO_UNDEF - Success
-- ADE: Download: v0.1.1d.zip
-- OpenCV Python: during development append to PYTHONPATH: /home/jovyan/opencv-4.0.0/cmake_binary/python_loader
-- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL
-- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD
-- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD - Failed
-- OpenCL samples are skipped: OpenCL SDK is required
--
-- General configuration for OpenCV 4.0.0 =====================================
-- Version control: unknown
--
-- Platform:
-- Timestamp: 2018-11-29T09:51:17Z
-- Host: Linux 4.9.125-linuxkit x86_64
-- CMake: 3.10.2
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: RELEASE
--
-- CPU/HW features:
-- Baseline: SSE SSE2 SSE3
-- requested: SSE3
-- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
-- SSE4_1 (7 files): + SSSE3 SSE4_1
-- SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2
-- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
-- AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
-- AVX2 (13 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
-- AVX512_SKX (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_SKX
--
-- C/C++:
-- Built as dynamic libs?: YES
-- C++ Compiler: /usr/bin/c++ (ver 7.3.0)
-- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
-- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
-- C Compiler: /usr/bin/cc
-- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
-- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
-- Linker flags (Release):
-- Linker flags (Debug):
-- ccache: NO
-- Precompiled headers: YES
-- Extra dependencies: dl m pthread rt
-- 3rdparty dependencies:
--
-- OpenCV modules:
-- To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python3 python_bindings_generator stitching ts video videoio
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: java js python2
-- Applications: tests perf_tests examples apps
-- Documentation: NO
-- Non-free algorithms: NO
--
-- GUI:
-- GTK+: NO
-- VTK support: NO
--
-- Media I/O:
-- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11)
-- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80)
-- WEBP: build (ver encoder: 0x020e)
-- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.34)
-- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.0.9)
-- JPEG 2000: build (ver 1.900.1)
-- OpenEXR: build (ver 1.7.1)
-- HDR: YES
-- SUNRASTER: YES
-- PXM: YES
-- PFM: YES
--
-- Video I/O:
-- DC1394: NO
-- FFMPEG: YES
-- avcodec: YES (ver 57.107.100)
-- avformat: YES (ver 57.83.100)
-- avutil: YES (ver 55.78.100)
-- swscale: YES (ver 4.8.100)
-- avresample: NO
-- GStreamer: NO
-- v4l/v4l2: linux/videodev2.h
--
-- Parallel framework: pthreads
--
-- Trace: YES (with Intel ITT)
--
-- Other third-party libraries:
-- Intel IPP: 2019.0.0 Gold [2019.0.0]
-- at: /home/jovyan/opencv-4.0.0/cmake_binary/3rdparty/ippicv/ippicv_lnx/icv
-- Intel IPP IW: sources (2019.0.0)
-- at: /home/jovyan/opencv-4.0.0/cmake_binary/3rdparty/ippicv/ippicv_lnx/iw
-- Lapack: YES (/opt/conda/lib/libopenblas.so /opt/conda/lib/libopenblas.so)
-- Eigen: NO
-- Custom HAL: NO
-- Protobuf: build (3.5.1)
--
-- OpenCL: YES (no extra features)
-- Include path: /home/jovyan/opencv-4.0.0/3rdparty/include/opencl/1.2
-- Link libraries: Dynamic load
--
-- Python 3:
-- Interpreter: /opt/conda/bin/python3 (ver 3.6.6)
-- Libraries: /opt/conda/lib/libpython3.6m.so (ver 3.6.6)
-- numpy: /opt/conda/lib/python3.6/site-packages/numpy/core/include (ver 1.13.3)
-- packages path: lib/python3.6/site-packages
--
-- Python (for build): /opt/conda/bin/python3
--
-- Java:
-- ant: NO
-- JNI: NO
-- Java wrappers: NO
-- Java tests: NO
--
-- Install to: /opt/conda
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jovyan/opencv-4.0.0/cmake_binary

Build output

root@b32f60382b10:~/opencv-4.0.0/cmake_binary# make clean install
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/alpha_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/buffer_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/frame_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/idec_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/io_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/quant_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/tree_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/vp8_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/vp8l_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/webp_dec.c.o
[ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/demux/anim_decode.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/demux/demux.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing_mips_dsp_r2.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing_neon.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing_sse2.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing_sse41.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost_mips32.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost_mips_dsp_r2.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost_sse2.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cpu.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_clip_tables.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_mips32.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_mips_dsp_r2.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_msa.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_neon.c.o
[ 1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_sse2.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_sse41.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_avx2.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_mips32.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_mips_dsp_r2.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_msa.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_neon.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_sse2.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_sse41.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters_mips_dsp_r2.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters_msa.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters_neon.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters_sse2.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_mips32.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_mips_dsp_r2.c.o
[ 2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_msa.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_neon.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_sse2.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_sse41.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_mips_dsp_r2.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_msa.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_neon.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_sse2.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_mips32.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_mips_dsp_r2.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_msa.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_neon.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_sse2.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/ssim.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/ssim_sse2.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_mips_dsp_r2.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_msa.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_neon.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_sse2.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_sse41.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_mips32.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_mips_dsp_r2.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_neon.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_sse2.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_sse41.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/alpha_enc.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/analysis_enc.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/backward_references_cost_enc.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/backward_references_enc.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/config_enc.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/cost_enc.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/filter_enc.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/frame_enc.c.o
[ 4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/histogram_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/iterator_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/near_lossless_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_csp_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_psnr_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_rescale_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_tools_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/predictor_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/quant_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/syntax_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/token_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/tree_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/vp8l_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/webp_enc.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/mux/anim_encode.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/mux/muxedit.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/mux/muxinternal.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/mux/muxread.c.o
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/bit_reader_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/bit_writer_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/color_cache_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/filters_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/huffman_encode_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/huffman_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/quant_levels_dec_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/quant_levels_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/random_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/rescaler_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/thread_utils.c.o
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/utils.c.o
[ 6%] Linking C static library ../lib/liblibwebp.a
[ 6%] Built target libwebp
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_cm.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_debug.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_getopt.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_icc.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_iccdata.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_image.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_init.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_malloc.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_seq.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_stream.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_string.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_tmr.c.o
[ 6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_tvp.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_version.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jp2_cod.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jp2_dec.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jp2_enc.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_bs.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_cs.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_dec.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_enc.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_math.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_mct.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_mqcod.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_mqdec.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_mqenc.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_qmfb.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t1cod.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t1dec.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t1enc.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t2cod.c.o
[ 7%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t2dec.c.o
[ 8%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t2enc.c.o
[ 8%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_tagtree.c.o
[ 8%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_tsfb.c.o
[ 8%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_util.c.o
[ 8%] Linking C static library ../lib/liblibjasper.a
[ 8%] Built target libjasper
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Half/half.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Iex/IexBaseExc.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Iex/IexThrowErrnoExc.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThread.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadMutex.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadMutexPosix.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadPool.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadPosix.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadSemaphore.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadSemaphorePosix.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadSemaphorePosixCompat.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathColorAlgo.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathFun.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathMatrixAlgo.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathRandom.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathVec.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAcesFile.cpp.o
[ 8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAttribute.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfB44Compressor.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfBoxAttribute.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfCRgbaFile.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfChannelList.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfChannelListAttribute.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfChromaticities.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfChromaticitiesAttribute.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfCompressionAttribute.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfCompressor.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfConvert.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfDoubleAttribute.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfEnvmap.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfEnvmapAttribute.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfFloatAttribute.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfFrameBuffer.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfFramesPerSecond.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfHeader.cpp.o
[ 9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfHuf.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfIO.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfInputFile.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfIntAttribute.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfKeyCode.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfKeyCodeAttribute.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfLineOrderAttribute.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfLut.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfMatrixAttribute.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfMisc.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfMultiView.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfOpaqueAttribute.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfOutputFile.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPizCompressor.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPreviewImage.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPreviewImageAttribute.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPxr24Compressor.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRational.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRationalAttribute.cpp.o
[ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRgbaFile.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRgbaYca.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRleCompressor.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfScanLineInputFile.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfStandardAttributes.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfStdIO.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfStringAttribute.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfStringVectorAttribute.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTestFile.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfThreading.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTileDescriptionAttribute.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTileOffsets.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTiledInputFile.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTiledMisc.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTiledOutputFile.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTiledRgbaFile.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTimeCode.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTimeCodeAttribute.cpp.o
[ 11%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfVecAttribute.cpp.o
[ 12%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfVersion.cpp.o
[ 12%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfWav.cpp.o
[ 12%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfZipCompressor.cpp.o
[ 12%] Linking CXX static library ../lib/libIlmImf.a
[ 12%] Built target IlmImf
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image.c.o
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_all.c.o
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_rgbs.c.o
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_bilateral.c.o
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_box.c.o
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_canny.c.o
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_gaussian.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_general.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_laplacian.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_morphology.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_scharr.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_sobel.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_channel.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_make_border.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_merge.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_split.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_scale.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set_channel.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_swap_channels.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_mirror.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_resize.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_rotate.c.o
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_warpaffine.c.o
[ 14%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_own.c.o
[ 14%] Linking C static library ../lib/libippiw.a
[ 14%] Built target ippiw
[ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:51:29: error: ‘SequenceNumber’ in namespace ‘google::protobuf::internal’ does not name a type
google::protobuf::internal::SequenceNumber ArenaImpl::lifecycle_id_generator_;
^~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void google::protobuf::internal::ArenaImpl::Init()’:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:68:43: error: ‘struct std::atomic<long int>’ has no member named ‘GetNext’
lifecycle_id_ = lifecycle_id_generator_.GetNext();
^~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:69:31: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&hint_, 0);
^~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:70:31: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&threads_, 0);
^~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:76:5: error: ‘InitBlock’ was not declared in this scope
InitBlock(initial_block_, &thread_cache(), options_.initial_block_size);
^~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:76:5: note: suggested alternative: ‘NewBlock’
InitBlock(initial_block_, &thread_cache(), options_.initial_block_size);
^~~~~~~~~
NewBlock
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:77:5: error: ‘ThreadInfo’ was not declared in this scope
ThreadInfo* info = NewThreadInfo(initial_block_);
^~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:77:5: note: suggested alternative: ‘threads_’
ThreadInfo* info = NewThreadInfo(initial_block_);
^~~~~~~~~~
threads_
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:77:17: error: ‘info’ was not declared in this scope
ThreadInfo* info = NewThreadInfo(initial_block_);
^~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:77:17: note: suggested alternative: ‘int8’
ThreadInfo* info = NewThreadInfo(initial_block_);
^~~~
int8
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:77:24: error: ‘NewThreadInfo’ was not declared in this scope
ThreadInfo* info = NewThreadInfo(initial_block_);
^~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:79:33: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&threads_,
^~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:80:80: error: ‘AtomicWord’ in namespace ‘google::protobuf::internal’ does not name a type
reinterpret_cast<google::protobuf::internal::AtomicWord>(info));
^~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:81:33: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&space_allocated_,
^~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:83:5: error: ‘CacheBlock’ was not declared in this scope
CacheBlock(initial_block_);
^~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:83:5: note: suggested alternative: ‘FreeBlocks’
CacheBlock(initial_block_);
^~~~~~~~~~
FreeBlocks
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:85:33: error: ‘NoBarrier_Store’ is not a member of ‘google::protobuf::internal’
google::protobuf::internal::NoBarrier_Store(&space_allocated_, 0);
^~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: At global scope:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:106:19: error: prototype for ‘google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::NewBlock(void*, google::protobuf::internal::ArenaImpl::Block*, size_t)’ does not match any in class ‘google::protobuf::internal::ArenaImpl’
ArenaImpl::Block* ArenaImpl::NewBlock(void* me, Block* my_last_block,
^~~~~~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:291:10: error: candidate is: google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::NewBlock(google::protobuf::internal::ArenaImpl::Block*, size_t)
Block* NewBlock(Block* last_block, size_t min_bytes);
^~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:106:12: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context ArenaImpl::Block* ArenaImpl::NewBlock(void* me, Block* my_last_block,
^~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:215:28: note: declared private here
class LIBPROTOBUF_EXPORT Block {
^~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:125:58: error: no ‘void google::protobuf::internal::ArenaImpl::InitBlock(google::protobuf::internal::ArenaImpl::Block*, void*, size_t)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
void ArenaImpl::InitBlock(Block* b, void *me, size_t size) {
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:125:27: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context void ArenaImpl::InitBlock(Block* b, void *me, size_t size) {
^~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:215:28: note: declared private here
class LIBPROTOBUF_EXPORT Block {
^~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:139:63: error: no ‘google::protobuf::internal::ArenaImpl::CleanupChunk* google::protobuf::internal::ArenaImpl::ExpandCleanupList(google::protobuf::internal::ArenaImpl::CleanupChunk*, google::protobuf::internal::ArenaImpl::Block*)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
Block* b) {
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:138:12: error: ‘struct google::protobuf::internal::ArenaImpl::CleanupChunk’ is private within this context
ArenaImpl::CleanupChunk* ArenaImpl::ExpandCleanupList(CleanupChunk* cleanup,
^~~~~~~~~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:128:10: note: declared private here
struct CleanupChunk {
^~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:139:55: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context
Block* b) {
^~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:215:28: note: declared private here
class LIBPROTOBUF_EXPORT Block {
^~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:157:46: error: no ‘void google::protobuf::internal::ArenaImpl::AddCleanupInBlock(google::protobuf::internal::ArenaImpl::Block*, void*, void (*)(void*))’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
Block* b, void* elem, void (*func)(void*)) {
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:157:5: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context
Block* b, void* elem, void (*func)(void*)) {
^~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:215:28: note: declared private here
class LIBPROTOBUF_EXPORT Block {
^~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void google::protobuf::internal::ArenaImpl::AddCleanup(void*, void (*)(void*) ’:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:170:28: error: ‘GetBlock’ was not declared in this scope
return AddCleanupInBlock(GetBlock(0), elem, cleanup);
^~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:170:28: note: suggested alternative: ‘NewBlock’
return AddCleanupInBlock(GetBlock(0), elem, cleanup);
^~~~~~~~
NewBlock
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:170:10: error: ‘AddCleanupInBlock’ was not declared in this scope
return AddCleanupInBlock(GetBlock(0), elem, cleanup);
^~~~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:170:10: note: suggested alternative: ‘AddCleanupFallback’
return AddCleanupInBlock(GetBlock(0), elem, cleanup);
^~~~~~~~~~~~~~~~~
AddCleanupFallback
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:170:54: error: return-statement with a value, in function returning 'void' [-fpermissive]
return AddCleanupInBlock(GetBlock(0), elem, cleanup);
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void* google::protobuf::internal::ArenaImpl::AllocateAligned(size_t)’:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:176:25: error: ‘GetBlock’ was not declared in this scope
return AllocFromBlock(GetBlock(n), n);
^~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:176:25: note: suggested alternative: ‘NewBlock’
return AllocFromBlock(GetBlock(n), n);
^~~~~~~~
NewBlock
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:176:10: error: ‘AllocFromBlock’ was not declared in this scope
return AllocFromBlock(GetBlock(n), n);
^~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void* google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(size_t, void (*)(void*))’:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:183:14: error: ‘GetBlock’ was not declared in this scope
Block* b = GetBlock(n);
^~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:183:14: note: suggested alternative: ‘NewBlock’
Block* b = GetBlock(n);
^~~~~~~~
NewBlock
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:184:15: error: ‘AllocFromBlock’ was not declared in this scope
void* mem = AllocFromBlock(b, n);
^~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:185:3: error: ‘AddCleanupInBlock’ was not declared in this scope
AddCleanupInBlock(b, mem, cleanup);
^~~~~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:185:3: note: suggested alternative: ‘AddCleanupFallback’
AddCleanupInBlock(b, mem, cleanup);
^~~~~~~~~~~~~~~~~
AddCleanupFallback
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: At global scope:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:190:47: error: no ‘google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::GetBlock(size_t)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
ArenaImpl::Block* ArenaImpl::GetBlock(size_t n) {
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:190:12: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context ArenaImpl::Block* ArenaImpl::GetBlock(size_t n) {
^~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:215:28: note: declared private here
class LIBPROTOBUF_EXPORT Block {
^~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:218:51: error: no ‘void* google::protobuf::internal::ArenaImpl::AllocFromBlock(google::protobuf::internal::ArenaImpl::Block*, size_t)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
void* ArenaImpl::AllocFromBlock(Block* b, size_t n) {
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:218:33: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context void* ArenaImpl::AllocFromBlock(Block* b, size_t n) {
^~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:215:28: note: declared private here
class LIBPROTOBUF_EXPORT Block {
^~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:231:51: error: no ‘google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::GetBlockSlow(void*, google::protobuf::internal::ArenaImpl::Block*, size_t)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
size_t n) {
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:230:12: error: ‘class google::protobuf::internal::ArenaImpl::Block’ is private within this context ArenaImpl::Block* ArenaImpl::GetBlockSlow(void* me, Block* my_full_block,
^~~~~
In file included from /opt/conda/include/google/protobuf/arena.h:51:0,
from /home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:31:
/opt/conda/include/google/protobuf/arena_impl.h:215:28: note: declared private here
class LIBPROTOBUF_EXPORT Block {
^~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::SpaceAllocated() const’:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:248:38: error: ‘NoBarrier_Load’ is not a member of ‘google::protobuf::internal’
return google::protobuf::internal::NoBarrier_Load(&space_allocated_);
^~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::SpaceUsed() const’:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:252:3: error: ‘ThreadInfo’ was not declared in this scope
ThreadInfo* info =
^~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:252:3: note: suggested alternative: ‘threads_’
ThreadInfo* info =
^~~~~~~~~~
threads_
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:252:15: error: ‘info’ was not declared in this scope
ThreadInfo* info =
^~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:252:15: note: suggested alternative: ‘int8’
ThreadInfo* info =
^~~~
int8
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:253:24: error: ‘ThreadInfo’ does not name a type; did you mean ‘ThreadCache’?
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^~~~~~~~~~
ThreadCache
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:253:34: error: expected ‘>’ before ‘*’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:253:34: error: expected ‘(’ before ‘*’ token
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:253:35: error: expected primary-expression before ‘>’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:253:65: error: ‘Acquire_Load’ is not a member of ‘google::protobuf::internal’
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:253:89: error: expected ‘)’ before ‘;’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:259:43: error: cannot convert ‘google::protobuf::internal::ArenaImpl::Block::next’ from type ‘google::protobuf::internal::ArenaImpl::Block* (google::protobuf::internal::ArenaImpl::Block::)() const’ to type ‘google::protobuf::internal::ArenaImpl::Block*’
for (Block* b = info->head; b; b = b->next) {
^~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:260:31: error: ‘kHeaderSize’ was not declared in this scope
space_used += (b->pos - kHeaderSize);
^~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:260:31: note: suggested alternative: ‘kBlockHeaderSize’
space_used += (b->pos - kHeaderSize);
^~~~~~~~~~~
kBlockHeaderSize
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::FreeBlocks()’:/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:271:3: error: ‘ThreadInfo’ was not declared in this scope
ThreadInfo* info =
^~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:271:3: note: suggested alternative: ‘threads_’
ThreadInfo* info =
^~~~~~~~~~
threads_
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:271:15: error: ‘info’ was not declared in this scope
ThreadInfo* info =
^~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:271:15: note: suggested alternative: ‘int8’
ThreadInfo* info =
^~~~
int8
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:272:24: error: ‘ThreadInfo’ does not name a type; did you mean ‘ThreadCache’?
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^~~~~~~~~~
ThreadCache
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:272:34: error: expected ‘>’ before ‘*’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:272:34: error: expected ‘(’ before ‘*’ token
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:272:35: error: expected primary-expression before ‘>’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:272:65: error: ‘NoBarrier_Load’ is not a member of ‘google::protobuf::internal’
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:272:91: error: expected ‘)’ before ‘;’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:276:17: error: ‘next_info’ was not declared in this scope
ThreadInfo* next_info = info->next;
^~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:279:30: error: cannot convert ‘google::protobuf::internal::ArenaImpl::Block::next’ from type ‘google::protobuf::internal::ArenaImpl::Block* (google::protobuf::internal::ArenaImpl::Block::)() const’ to type ‘google::protobuf::internal::ArenaImpl::Block*’
Block* next_block = b->next;
^~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:280:30: error: invalid use of member function ‘size_t google::protobuf::internal::ArenaImpl::Block::size() const’ (did you forget the ‘()’ ?)
space_allocated += (b->size);
~~~~^~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:280:34: error: in evaluation of ‘operator+=(google::protobuf::uint64 {aka long unsigned int}, <unresolved overloaded function type>)’
space_allocated += (b->size);
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:289:42: error: cannot convert ‘google::protobuf::internal::ArenaImpl::Block::size’ from type ‘size_t (google::protobuf::internal::ArenaImpl::Block::)() const {aka long unsigned int (google::protobuf::internal::ArenaImpl::Block::)() const}’ to type ‘size_t {aka long unsigned int}’
options_.block_dealloc(b, b->size);
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function ‘void google::protobuf::internal::ArenaImpl::CleanupList()’:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:303:3: error: ‘ThreadInfo’ was not declared in this scope
ThreadInfo* info =
^~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:303:3: note: suggested alternative: ‘threads_’
ThreadInfo* info =
^~~~~~~~~~
threads_
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:303:15: error: ‘info’ was not declared in this scope
ThreadInfo* info =
^~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:303:15: note: suggested alternative: ‘int8’
ThreadInfo* info =
^~~~
int8
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:304:24: error: ‘ThreadInfo’ does not name a type; did you mean ‘ThreadCache’?
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^~~~~~~~~~
ThreadCache
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:304:34: error: expected ‘>’ before ‘*’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:304:34: error: expected ‘(’ before ‘*’ token
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:304:35: error: expected primary-expression before ‘>’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:304:65: error: ‘NoBarrier_Load’ is not a member of ‘google::protobuf::internal’
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^~~~~~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:304:91: error: expected ‘)’ before ‘;’ token
reinterpret_cast<ThreadInfo*>(google::protobuf::internal::NoBarrier_Load(&threads_));
^
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:309:24: error: ‘struct google::protobuf::internal::ArenaImpl::CleanupChunk’ has no member named ‘len’
size_t n = list->len;
^~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:310:46: error: ‘struct google::protobuf::internal::ArenaImpl::CleanupChunk’ has no member named ‘len’
CleanupNode* node = &list->nodes[list->len - 1];
^~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc: At global scope:
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:319:12: error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name a type
ArenaImpl::ThreadInfo* ArenaImpl::NewThreadInfo(Block* b) {
^~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:330:12: error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name a type
ArenaImpl::ThreadInfo* ArenaImpl::FindThreadInfo(void* me) {
^~~~~~~~~~
/home/jovyan/opencv-4.0.0/3rdparty/protobuf/src/google/protobuf/arena.cc:342:12: error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name a type
ArenaImpl::ThreadInfo* ArenaImpl::GetThreadInfo(void* me, size_t n) {
^~~~~~~~~~
3rdparty/protobuf/CMakeFiles/libprotobuf.dir/build.make:62: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o' failed
make[2]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o] Error 1
CMakeFiles/Makefile2:509: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all' failed
make[1]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

Steps to reproduce

run jupyter/datascience-notebook:14fdfbf9cfc1 with docker run --rm -it -u root jupyter/datascience-notebook:14fdfbf9cfc1 /bin/bash

Enter following commands:

apt-get update && \
apt-get install -y \
build-essential \
cmake \
git \
wget \
unzip \
yasm \
pkg-config \
libswscale-dev \
libtbb2 \
libtbb-dev \
libjpeg-dev \
libpng-dev \
libtiff-dev \
libavformat-dev \
libpq-dev

OPENCV_VERSION=4.0.0

wget -O opencv.zip https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip \
&& unzip opencv.zip \
&& mkdir opencv-${OPENCV_VERSION}/cmake_binary \
&& cd opencv-${OPENCV_VERSION}/cmake_binary

cmake \
-D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D INSTALL_C_EXAMPLES=OFF \
-D BUILD_EXAMPLES=ON \
-D PYTHON_EXECUTABLE=$(which python) \
-D PYTHON_INCLUDE_DIR=$(python -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())") \
-D PYTHON_PACKAGES_PATH=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \
-D CMAKE_INSTALL_PREFIX=$(python -c "import sys; print(sys.prefix)") \
..

make install

Thank you for the support

Regards