Open wangzeke opened 4 years ago
You can use "string_view.hpp" https://github.com/qicosmos/rest_rpc/blob/master/include/string_view.hpp
from the current project directly.
Maybe your boost version is less than 1.69, you'd better use a boost version contains string_view.
Thanks.
Hi, I try to use rest_rpc in Ubuntu. When I try to run the example provided using the following comments:
~/nethz/study/RPC/rest_rpc/examples/app_client$ gcc main.cpp -I../../include/ ../../third/msgpack/include -pthread -std=c++11 In file included from ../../include/rpc_client.hpp:6:0, from client.hpp:2, from main.cpp:2: ../../include/use_asio.hpp:43:41: fatal error: boost/utility/string_view.hpp: No such file or directory compilation terminated.
Looks like there is no boost/utility/ at all. Any idea to solve this issue? Thanks.