qicosmos / rest_rpc

modern C++(C++11), simple, easy to use rpc framework
MIT License
1.66k stars 365 forks source link

请问下这个库怎么使用? #39

Open lambda7xx opened 3 years ago

lambda7xx commented 3 years ago

我把它clone我的项目,在ubuntu下想直接使用,刚开始报的错误是msgpack.hpp: No such file or directory,然后sudo apt install libmsgpack-dev后,报的错误为 /rest_rpc/include/rest_rpc/codec.h:38:42: error: no matching function for call to ‘unpack(msgpack::v1::unpacked, const char&, sizet&)’ 38 | msgpack::unpack(&msg, data, length); | ^

qicosmos commented 3 years ago

之前用的是老版本的msgpack,等我fix一下。

qicosmos commented 3 years ago

已经更新了msgpack版本,你可以再试一下。

lambda7xx commented 3 years ago

非常感谢发自我的iPhone------------------ 原始邮件 ------------------发件人: qicosmos notifications@github.com发送时间: 2021年1月30日 16:55收件人: qicosmos/rest_rpc rest_rpc@noreply.github.com抄送: qin lambda7xx@gmail.com, Author author@noreply.github.com主题: 回复:[qicosmos/rest_rpc] 请问下这个库怎么使用? (#39) 已经更新了msgpack版本,你可以再试一下。

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/qicosmos/rest_rpc/issues/39#issuecomment-770180091", "url": "https://github.com/qicosmos/rest_rpc/issues/39#issuecomment-770180091", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]