MessagePack - RPC for C++ make error

Asked 2 years ago, Updated 2 years ago, 31 views

CentOS 6.6
gcc 4.9.2

The mpio and msgpack-c were successfully installed, but the MessagePack-RPC for C++ make error.
The error can be found in

 exception.cc: In the function 'void msgpack::rpc::throw_exception(msgpack::rpc::future_impl*)':
exception.cc:44:17: Error: 'RAW' is not a member of 'msgpack::v1::type'
  if(err.type==msgpack::type::RAW&&
exception.cc:45:12: Error: 'union msgpack::v1::object::union_type' has no member named 'raw'
    err.via.raw.ptr == TIMEOUT_ERROR_PTR) {
exception.cc:48:24: Error: 'RAW' is not a member of 'msgpack::v1::type'
  } else if(err.type==msgpack::type::RAW&&
exception.cc:49:12: Error: 'union msgpack::v1::object::union_type' has no member named 'raw'
    err.via.raw.ptr == CONNECT_ERROR_PTR) {

It is shown that
I want to install it, but I don't think I can solve it by myself.
May I ask for your advice?

c++

2022-09-30 18:33

1 Answers

The same problem is reported below.

Better support for str/bin discrepancy ·Issue #57·msgpack/msgpack-c

The answers to this are as follows, and the workaround is provided.

Better support for str/bin discrepancy ·Issue #57·msgpack/msgpack-c

For your information.


2022-09-30 18:33

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.