wangshiliang
wangshiliang
英文显示无问题,中文全部是方框和竖线
An error occurred while compiling muduo: /home/shiliangw/code/muduo/examples/ace/ttcp/ttcp_asio_async.cc:147:76: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptor’} has no member named ‘get_io_service’ 147 | TtcpServerConnectionPtr new_connection(new TtcpServerConnection(acceptor.get_io_service())); i thought it is because of the version...
i note that in folder muduo/base, there are two classes : Thread( in file thread.h) and ThreadPool( in file ThreadPool.h), i also note that in folder muduo/net, there are two...
头文件找不到
我在编译libphxpaxos_plugin.a时出现了问题。 操作系统Ubuntu18.04 第三方库protobuf和leveldb都手动编译好了放到third_part文件夹里。 然后执行./autoinstall.sh也没有问题。 然后执行make的时候,就报错显示找不到头文件 /home/user1/src/phxpaxos/src/comm/comm_include.h:24:10: fatal error: ./paxos_msg.pb.h: No such file or directory #include "./paxos_msg.pb.h" 我find / -name "paxos_msg.pb.h"也找不到这个文件。不知道这个头文件是哪里的?是phxpaxos本身的吗还是第三方库的?