Comments (3)
I'm not sure what homebrew's "stable 0.48.0" corresponds to, but it's likely too old to build wangle. Try building folly from master. You need folly to be newer than this commit facebook/folly@e845ef5
from wangle.
Hmm, I built folly against master branch according to its instructions in README and got different errors when building wangle.
In file included from /Users/yimmeng/repos/devlibs/wangle/wangle/acceptor/Acceptor.cpp:10:
In file included from /Users/yimmeng/repos/devlibs/wangle/wangle/../wangle/acceptor/Acceptor.h:14:
/Users/yimmeng/repos/devlibs/wangle/wangle/../wangle/acceptor/ConnectionManager.h:63:12: error: no matching function for call to 'make_unique'
return folly::make_unique<ConnectionManager, Destructor>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/yimmeng/repos/devlibs/wangle/wangle/acceptor/Acceptor.cpp:86:53: note: in instantiation of function template specialization
'wangle::ConnectionManager::makeUnique<folly::EventBase *&, const std::__1::chrono::duration<long long, std::__1::ratio<1, 1000> > &, wangle::Acceptor *>' requested here
downstreamConnectionManager_ = ConnectionManager::makeUnique(
^
/usr/local/include/folly/Memory.h:49:1: note: candidate function [with T = wangle::ConnectionManager, Args = <folly::DelayedDestruction::Destructor, const
std::__1::chrono::duration<long long, std::__1::ratio<1, 1000> > &, wangle::Acceptor *>] not viable: no known conversion from 'folly::EventBase *' to
'folly::DelayedDestruction::Destructor' for 1st argument
make_unique(Args&&... args) {
^
/usr/local/include/folly/Memory.h:63:3: note: candidate template ignored: disabled by 'enable_if' [with T = wangle::ConnectionManager, Args =
<folly::DelayedDestruction::Destructor>]
std::extent<T>::value != 0, std::unique_ptr<T>>::type
^
/usr/local/include/folly/Memory.h:56:1: note: candidate function template not viable: requires single argument 'n', but 3 arguments were provided
make_unique(const size_t n) {
^
4 warnings and 1 error generated.
make[2]: *** [CMakeFiles/wangle.dir/acceptor/Acceptor.cpp.o] Error 1
make[1]: *** [CMakeFiles/wangle.dir/all] Error 2
make: *** [all] Error 2
Some new folly incompatibility?
from wangle.
Don't use folly from homebrew. Always build from master and make sure to remove it from homebrew: brew remove folly
. I think I might change this brew recipe to always build from master.
from wangle.
Related Issues (20)
- Failed to run example echo examples HOT 3
- ByteToMessageDecoder decode
- Too many dangling CLOSE_WAIT connections HOT 5
- error: no member named 'tcpi_retransmits' in 'tcp_info'; did you mean '__tcpi_retransmits'? HOT 3
- Installs empty directories
- if iouring will be supported soon?
- Build fails on Debian Buster: Acceptor.cpp.o SocketPeeker.h:25:67: error: expected class-name before ‘,’ token
- failed to install wangle on windows with vcpkg install wangle command HOT 1
- very poor performance with echo example HOT 1
- Function with noexcept specifier throws exception causes program terminated HOT 3
- enable tcp and udp in single ServerBootstrap HOT 1
- run client on browser
- Wangle - Vcpkg - Windows (wvw)
- Problem linking libsodium HOT 3
- Incompatibility with openssl3 HOT 5
- test failure HOT 1
- Access Pipelines from Server
- MacOS encounter this issue. plz help me with this.
- Q: Does wangle support websockets?
- Acceptor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wangle.