www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Thrift

reply ddos <oggs gmx.at> writes:
Looking for a RPC library, thrift looked promising, but i can't 
even compile the simple example given here 
https://thrift.apache.org/tutorial/d

to compile i've
1. copied the thrift/lib/d/src/thrift folder to my source 
directory
2. copied the generated sources ( tutorial and share folder ) 
into my source directory
3. compiling with dub and dmd 66 ( ive also tried 68 before with 
the same result )

dub.json: http://pastebin.com/pQSsCUAd
compiling errors: http://pastebin.com/qp02S1EW

please help if you know how to get a simple example with d & 
thrift running
thx, dominik
Sep 16 2015
next sibling parent Nikolay <sibnick gmail.com> writes:
On Wednesday, 16 September 2015 at 16:57:39 UTC, ddos wrote:

 please help if you know how to get a simple example with d & 
 thrift running
 thx, dominik
Some time ago I could use facebook brunch with dlang: https://github.com/facebook/fbthrift
Sep 17 2015
prev sibling parent reply David Eagen <davideagen mailinator.com> writes:
On Wednesday, 16 September 2015 at 16:57:39 UTC, ddos wrote:
 Looking for a RPC library, thrift looked promising, but i can't 
 even compile the simple example given here 
 https://thrift.apache.org/tutorial/d
I just ran into the same thing. I tried earlier branches of Thrift and those don't work either, but for different reasons.
Sep 18 2015
parent David Eagen <davideagen mailinator.com> writes:
On Friday, 18 September 2015 at 17:50:05 UTC, David Eagen wrote:
 On Wednesday, 16 September 2015 at 16:57:39 UTC, ddos wrote:
 Looking for a RPC library, thrift looked promising, but i 
 can't even compile the simple example given here 
 https://thrift.apache.org/tutorial/d
I just ran into the same thing. I tried earlier branches of Thrift and those don't work either, but for different reasons.
On a whim I tried today with Thrift's GIT head (a6ab1f5e6d8c5f8c64d356d72993a423cc2bf588) and everything works fine now.
Dec 04 2015