www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - thrift and dub

reply "yawniek" <dlang srtnwz.com> writes:
hi,
i'm trying to get a thrift example working within a dub project.
it seems that the thrift.d in the dub repo is not whats actually 
needed but
i should link against libthriftd.a that comes from the official 
thrift distro.

what i tried is add the following to dub.json:

	"libs": ["/path/to/thrift/lib/d/libthriftd.a"],
	"sourcePaths": ["/path/to/thrift/lib/d/src"],

but that seems not to be the correct thing to do.

anyone has a working example (e.g. the calculator example)?

thanks
y
Nov 27 2014
parent "yawniek" <dlang srtnwz.com> writes:
got it to work by using the thrift code from the fbthrift repo 
(minus the tests).
Nov 28 2014