S73417H
S73417H

Reputation: 2671

Thrift / Google Protocol Buffers on Windows

Looking at Thrift and Google Protocol Buffers to implement some quick 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

Upvotes: 1

Views: 1499

Answers (3)

M4rk
M4rk

Reputation: 2272

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

Upvotes: 0

kert
kert

Reputation: 2281

Try Zeroc ICE

Upvotes: 2

matt b
matt b

Reputation: 139931

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.

Upvotes: 0

Related Questions