volvet / alphamatting Goto Github PK
View Code? Open in Web Editor NEWImplementation of Shared Sampling for Real-time Alpha Matting - http://inf.ufrgs.br/~eslgastal/SharedMatting/
Implementation of Shared Sampling for Real-time Alpha Matting - http://inf.ufrgs.br/~eslgastal/SharedMatting/
i use opencv3.4.1,when i use the command cmake -G"Unix Makefiles",i meet the error.
........
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/time.h:108:9: note:
'clock' declared here
clock_t clock(void) __DARWIN_ALIAS(clock);
^
/Users/SEU-Li/Downloads/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:138:1: error:
use of undeclared identifier 'ArenaImpl'
ArenaImpl::CleanupChunk* ArenaImpl::ExpandCleanupList(CleanupChunk* cleanup,
^
/Users/SEU-Li/Downloads/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:138:26: error:
use of undeclared identifier 'ArenaImpl'
ArenaImpl::CleanupChunk* ArenaImpl::ExpandCleanupList(CleanupChunk* cleanup,
^
/Users/SEU-Li/Downloads/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:139:55: error:
use of undeclared identifier 'Block'; did you mean 'clock'?
Block* b) {
^~~~~
clock
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/time.h:108:9: note:
'clock' declared here
clock_t clock(void) __DARWIN_ALIAS(clock);
^
/Users/SEU-Li/Downloads/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:155:8: error:
unknown type name 'GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE'
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
^
/Users/SEU-Li/Downloads/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:156:1: error:
expected unqualified-id
void ArenaImpl::AddCleanupInBlock(
^
[ 3%] Linking C static library ../lib/libittnotify.a
/Users/SEU-Li/Downloads/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:169:6: error:
use of undeclared identifier 'ArenaImpl'
void ArenaImpl::AddCleanup(void* elem, void (cleanup)(void)) {
^
/Users/SEU-Li/Downloads/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:173:7: error:
use of undeclared identifier 'ArenaImpl'
void* ArenaImpl::AllocateAligned(size_t n) {
^
/Users/SEU-Li/Downloads/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:179:7: error:
use of undeclared identifier 'ArenaImpl'
void* ArenaImpl::AllocateAlignedAndAddCleanup(size_t n,
^
[ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_bilateral.c.o
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o] Error 1
make[1]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 3%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzclose.c.o
[ 3%] Built target ittnotify
[ 3%] Building C object 3rdparty/libjpeg/CMakeFiles/libjpeg.dir/jcdctmgr.c.o
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/io_dec.c.o
......
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.