Comments (5)
The SSL warnings are because Apple has "deprecated" OpenSSL for some time. This doesn't mean anything other than you should probably verify which version of OpenSSL is being linked in, and perhaps install your own using homebrew.
The actual error is that the linker can't find -latomic. I don't believe wangle is "officially" supported on OS X, but since this is part of C++11, can you try removing '-latomic' from CMakeLists and try?
from wangle.
Problem is the CMakeLists.txt file has the CXX Compiler Flags set to -std=c++11. Replace that with -std=c++14 and it'll compile fine. You can also check my pull request which fixes the OS X build : #47
from wangle.
After removing -latomic from Cmakelist I got:
[ 72%] Building CXX object CMakeFiles/AsyncTest.dir/concurrent/test/AsyncTest.cpp.o
In file included from /Users/bithavoc/Documents/Projects/wangle/wangle/concurrent/test/AsyncTest.cpp:12:
/Users/bithavoc/Documents/Projects/wangle/wangle/../wangle/concurrent/Async.h:18:1: error: 'auto' return without trailing return type; deduced return
types are a C++14 extension
auto async(F&& fn) {
^
/Users/bithavoc/Documents/Projects/wangle/wangle/concurrent/test/AsyncTest.cpp:22:12: error: no matching function for call to 'async'
auto f = async([]{ return 42; });
^~~~~
/Users/bithavoc/Documents/Projects/wangle/wangle/concurrent/test/AsyncTest.cpp:31:17: error: no matching function for call to 'async'
auto future = async(lambda);
^~~~~
/Users/bithavoc/Documents/Projects/wangle/wangle/concurrent/test/AsyncTest.cpp:37:17: error: no matching function for call to 'async'
auto future = async(lambda);
^~~~~
/Users/bithavoc/Documents/Projects/wangle/wangle/concurrent/test/AsyncTest.cpp:44:17: error: no matching function for call to 'async'
auto future = async(lambda);
^~~~~
5 errors generated.
make[2]: *** [CMakeFiles/AsyncTest.dir/concurrent/test/AsyncTest.cpp.o] Error 1
make[1]: *** [CMakeFiles/AsyncTest.dir/all] Error 2
make: *** [all] Error 2
any tips?
Update:
I'm compiling without tests, seems to be doing the trick: cmake -DBUILD_TESTS=OFF . && make
from wangle.
@bithavoc, it says "types are a C++14 extension". Does your compiler speak C++14?
from wangle.
it should
g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
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.