-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu boost error #384
Comments
Hi, source:
meson.build:
Regards, |
@frsauvage This version of crow is incompatible with If you'd like a version compatible with 1.70 or later, take a look at this. Note: regarding the |
Hi @The-EDev, thanks, |
@frsauvage You can change socket_adaptors.hpp #if BOOST_VERSION >= 107000
#define GET_IO_SERVICE(s) ((boost::asio::io_context&)(s).get_executor().context())
#else
#define GET_IO_SERVICE(s) ((s)->get_io_service())
#endif and boost::asio::io_service& get_io_service() {
return GET_IO_SERVICE(socket_);
}
......
boost::asio::io_service& get_io_service() {
return GET_IO_SERVICE(raw_socket());
} |
ipkn#380: Update CMake config.
@The-EDev
You should see a plain text html 'Hello World' in the browser window. If you are running this on Ubuntu 20-or-higher ( I'm running on Ubuntu 20.04), Just for reference, Igor Mróz was the most recent contributor when I wrote this comment. Nov 8, 2022 |
crow_all.h:3353: error: ‘boost::asio::ip::tcp::socket’ {aka ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp’} has no member named ‘get_io_service’
main.cpp:1:
crow_all.h: In member function ‘boost::asio::io_service& crow::SocketAdaptor::get_io_service()’:
crow_all.h:3353:28: error: ‘boost::asio::ip::tcp::socket’ {aka ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp’} has no member named ‘get_io_service’
3353 | return socket_.get_io_service();
Using built-in specs.
COLLECT_GCC=g
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-10ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c ,go,brig,d,fortran,objc,obj-c ,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
The text was updated successfully, but these errors were encountered: