开发者

Thrift / Google Protocol Buffers on Windows

Looking at Thrift and Google Protocol Buffers to implement some qui开发者_如何学Cck RPC code. Thrift would be perfect if the generated C++ code compiled on windows (which is what I need). And of course, GPB creates RPC stubs, but no implementation.

Is there a way to get Thrift Windows friendly? Or, even better, are there any RPC implementations available freely for generated C++ protobuf stubs (a Java counterpart would be nice too, but is not necessary).

Thanks


Try Zeroc ICE


Is there a way to get Thrift Windows friendly?

According to this page on the Thrift wiki, it is not possible.

The following instructions are for making the thrift compiler only. The Thrift C++ runtime library does not currently work on Windows. This means that you'll be able to compile ThriftIDL files to C++/Java/Python/etc., but you won't be able to compile and run the generated C++ code under Windows.


You can installing thrift following this "guide". Look also at my solution at the bottom, to let it works on windows.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜