thrift and dub

yawniek via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 27 16:00:49 PST 2014


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


More information about the Digitalmars-d-learn mailing list