The source project of this merge request has been removed.
The build failed on my Mac:
[ 7%] Performing install step for 'leveldb'
cp: the -R and -r options may not be specified together.
make[2]: *** [libs/3rdparty/leveldb-prefix/src/leveldb-stamp/leveldb-install] Error 1
make[1]: *** [libs/3rdparty/CMakeFiles/leveldb.dir/all] Error 2
make: *** [all] Error 2
I looked it up online: On Linux, -R and -r do the same thing. On Mac, -R is the equivalent of them and -r is an obsolete parameter:
COMPATIBILITY
Historic versions of the cp utility had a -r option. This implementation supports that option; however,
its use is strongly discouraged, as it does not correctly copy special files, symbolic links, or fifo's.
Here's another error:
[ 47%] Building CXX object libs/server/CMakeFiles/flowee_server.dir/netbase.cpp.o
/Users/mac/Downloads/thehub-master/libs/server/netbase.cpp: In function 'bool Socks5(const string&, int, const ProxyCredentials*, SOCKET&)':
/Users/mac/Downloads/thehub-master/libs/server/netbase.cpp:327:90: error: 'MSG_NOSIGNAL' was not declared in this scope
ssize_t ret = send(hSocket, (const char*)begin_ptr(vSocks5Init), vSocks5Init.size(), MSG_NOSIGNAL);
^~~~~~~~~~~~
/Users/mac/Downloads/thehub-master/libs/server/netbase.cpp:327:90: note: suggested alternative: 'SIGEV_SIGNAL'
ssize_t ret = send(hSocket, (const char*)begin_ptr(vSocks5Init), vSocks5Init.size(), MSG_NOSIGNAL);
^~~~~~~~~~~~
SIGEV_SIGNAL
make[2]: *** [libs/server/CMakeFiles/flowee_server.dir/netbase.cpp.o] Error 1
make[1]: *** [libs/server/CMakeFiles/flowee_server.dir/all] Error 2
make: *** [all] Error 2
Update: I found that its equivalent on Mac is SO_NOSIGPIPE
and added the fix