You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: build error on develop due to websocket library
Build Error Description
build fails on develop branch
Error is :
[ 67%] Building CXX object libraries/app/CMakeFiles/graphene_app.dir/application.cpp.o
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /root/src/boost_1_67_0/include/boost/container/throw_exception.hpp:26,
from /root/src/boost_1_67_0/include/boost/container/new_allocator.hpp:24,
from /root/src/boost_1_67_0/include/boost/container/flat_map.hpp:26,
from /root/src/peerplays/libraries/fc/include/fc/container/flat_fwd.hpp:2,
from /root/src/peerplays/libraries/chain/include/graphene/chain/protocol/types.hpp:25,
from /root/src/peerplays/libraries/chain/include/graphene/chain/protocol/base.hpp:26,
from /root/src/peerplays/libraries/chain/include/graphene/chain/protocol/operations.hpp:25,
from /root/src/peerplays/libraries/chain/include/graphene/chain/account_object.hpp:25,
from /root/src/peerplays/libraries/app/include/graphene/app/full_account.hpp:26,
from /root/src/peerplays/libraries/app/include/graphene/app/database_api.hpp:26,
from /root/src/peerplays/libraries/app/include/graphene/app/api.hpp:26,
from /root/src/peerplays/libraries/app/application.cpp:24:
/usr/include/c++/5/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = fc::rpc::websocket_api_connection; _Args = {const std::shared_ptr<fc::http::websocket_connection>&}; _Tp = fc::rpc::websocket_api_connection]’:
/usr/include/c++/5/bits/alloc_traits.h:530:4: required from ‘static void std::allocator_traits<std::allocator<T> >::construct(std::allocator_traits<std::allocator<T> >::allocator_type&, _Up*, _Args&& ...) [with _Up = fc::rpc::websocket_api_connection; _Args = {const std::shared_ptr<fc::http::websocket_connection>&}; _Tp = fc::rpc::websocket_api_connection; std::allocator_traits<std::allocator<T> >::allocator_type = std::allocator<fc::rpc::websocket_api_connection>]’
/usr/include/c++/5/bits/shared_ptr_base.h:522:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const std::shared_ptr<fc::http::websocket_connection>&}; _Tp = fc::rpc::websocket_api_connection; _Alloc = std::allocator<fc::rpc::websocket_api_connection>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5/bits/shared_ptr_base.h:617:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = fc::rpc::websocket_api_connection; _Alloc = std::allocator<fc::rpc::websocket_api_connection>; _Args = {const std::shared_ptr<fc::http::websocket_connection>&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5/bits/shared_ptr_base.h:1097:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<fc::rpc::websocket_api_connection>; _Args = {const std::shared_ptr<fc::http::websocket_connection>&}; _Tp = fc::rpc::websocket_api_connection; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5/bits/shared_ptr.h:319:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<fc::rpc::websocket_api_connection>; _Args = {const std::shared_ptr<fc::http::websocket_connection>&}; _Tp = fc::rpc::websocket_api_connection]’
/usr/include/c++/5/bits/shared_ptr.h:620:39: required from ‘std::shared_ptr<_Tp1> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = fc::rpc::websocket_api_connection; _Alloc = std::allocator<fc::rpc::websocket_api_connection>; _Args = {const std::shared_ptr<fc::http::websocket_connection>&}]’
/usr/include/c++/5/bits/shared_ptr.h:635:39: required from ‘std::shared_ptr<_Tp1> std::make_shared(_Args&& ...) [with _Tp = fc::rpc::websocket_api_connection; _Args = {const std::shared_ptr<fc::http::websocket_connection>&}]’
/root/src/peerplays/libraries/app/application.cpp:229:74: required from here
/usr/include/c++/5/ext/new_allocator.h:120:4: error: no matching function for call to ‘fc::rpc::websocket_api_connection::websocket_api_connection(const std::shared_ptr<fc::http::websocket_connection>&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /root/src/peerplays/libraries/app/application.cpp:44:0:
/root/src/peerplays/libraries/fc/include/fc/rpc/websocket_api.hpp:13:10: note: candidate: fc::rpc::websocket_api_connection::websocket_api_connection(fc::http::websocket_connection&)
websocket_api_connection( fc::http::websocket_connection& c );
^
/root/src/peerplays/libraries/fc/include/fc/rpc/websocket_api.hpp:13:10: note: no known conversion for argument 1 from ‘const std::shared_ptr<fc::http::websocket_connection>’ to ‘fc::http::websocket_connection&’
cc1plus: warning: unrecognized command line option ‘-Wno-terminate’
cc1plus: warning: unrecognized command line option ‘-Wno-class-memaccess’
libraries/app/CMakeFiles/graphene_app.dir/build.make:86: recipe for target 'libraries/app/CMakeFiles/graphene_app.dir/application.cpp.o' failed
make[2]: *** [libraries/app/CMakeFiles/graphene_app.dir/application.cpp.o] Error 1
CMakeFiles/Makefile2:1198: recipe for target 'libraries/app/CMakeFiles/graphene_app.dir/all' failed
make[1]: *** [libraries/app/CMakeFiles/graphene_app.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
Build Environment
Details about the build environment, including the relevant required libraries. Much of this information can be found in the CMakeFiles/CMakeOutput.log.
Host OS: Ubuntu 18.04 LTS
Host Physical RAM 64GB
Source Branch/Tag: develop
Boost Version: 1.67.0
C++ Compiler: gcc7.x
Steps To Reproduce
Steps to reproduce the behavior (example outlined below):
Attempt build
git checkout develop followed by regular build instructions
Console Logs
provided above.
The text was updated successfully, but these errors were encountered:
name: build error on develop due to websocket library
Build Error Description
develop
branchBuild Environment
Details about the build environment, including the relevant required libraries. Much of this information can be found in the
CMakeFiles/CMakeOutput.log
.develop
Steps To Reproduce
Steps to reproduce the behavior (example outlined below):
git checkout develop
followed by regular build instructionsConsole Logs
provided above.
The text was updated successfully, but these errors were encountered: