I know we've got someone here at Cloudera who has been working on getting Thrift working on Windows. I'll ping her to see if she has anything to add here.
-Todd On Thu, Jun 24, 2010 at 9:42 AM, James King <[email protected]> wrote: > We are using the C# runtime, but I have some new features from the C# > runtime that I would like to implement in the C++ runtime; having the > ability to do that all inside the IDE would definitely be nice. > > As for your Mac/Win dilemma, you can build the compiler with Cygwin and > produce the thrift executable, with a few Cygwin DLLs, and check that in > for folks... and allow that to be called in a post-build script for your > project containing .thrift files. I am the only one on my team with > Cygwin and the only one currently who builds the thrift generator... but > everyone on the team can use it, and we're on Windows. > > - Jim > > -----Original Message----- > From: Rush Manbert [mailto:[email protected]] > Sent: Thursday, June 24, 2010 12:35 PM > To: [email protected] > Subject: Re: Using Thrift in Visual Studio 2008 > > Actually, this prompts me to ask the question: > > I know of 2 users besides myself. (We are in the process of releasing a > product based on this work) Has anyone else used it or tried it, etc? > There were a number of people who expressed interesst while I was > developing the code, but I haven't heard from anyone but the 2 that I > mentioned. > > - Rush > > On Jun 24, 2010, at 9:09 AM, Bryan Duxbury wrote: > > > I would add, if you do update the patch for your purposes, please > contribute > > it back. > > > > On Thu, Jun 24, 2010 at 8:40 AM, Rush Manbert <[email protected]> > wrote: > > > >> There is a patch available, but the following caveats apply: > >> > >> 1) It does not build the compiler, just the runtime libs. So you need > to > >> process your IDL on another platform and bring the generated code to > the > >> Windows platform. We develop for Mac and Windows, so we generate the > code on > >> the Mac, check it into our repository, and check it out on Wiindows. > It's > >> painful for our guys who only like to develop on Windows, but they're > wrong > >> to think that way anyway so we (who like to develop on the Mac) win. > ;-) > >> > >> 2) It is based on the state of the Thrift code as of Sept. 24, 2009, > when I > >> checked out the head of the SVN repository. I haven't had the time to > update > >> it since then. > >> > >> 3) It was developed using VS 2005. It can be converted, but the last > person > >> who did it ran into a couple of problems that I fixed for him, but I > have > >> never had the time to roll the fixes back into the patch. I'm swamped > at > >> work these days, so don't really have much time to help. > >> > >> Given all that, if you're still interested, the patch is attached to > JIRA > >> 591. > >> > >> - Rush > >> > >> On Jun 24, 2010, at 6:35 AM, Michael Walsh wrote: > >> > >>> Rush Manbert was working in this area and there may be a patch on > the > >> Jira for ThriftMSVCPatch to allow libthrift to be compiled using VS. > >>> > >>> M > >>> > >>> Sent from my iPhone > >>> > >>> On 24 Jun 2010, at 14:01, "Arun Kumar Raj Voruganti" < > >> [email protected]> wrote: > >>> > >>>> Hi All, > >>>> > >>>> > >>>> > >>>> I want to use Thrift in visual studio 2008 c++ projects. Did > someone > >> already > >>>> compile Thrift with Visual Studio? > >>>> > >>>> > >>>> > >>>> As far I understood from the requirements in Wiki, It is only > possible > >> to > >>>> compile the projects with Cygwin or MinGW. I use neither of them to > >> compile > >>>> my projects. > >>>> > >>>> > >>>> > >>>> Any help in this regard is appreciated J > >>>> > >>>> > >>>> > >>>> Arun Voruganti > >>>> > >>>> > >>>> > >> > >> > > -- Todd Lipcon Software Engineer, Cloudera
