(And sorry for the delay, I've been on vacation.)
- Rush On Sep 13, 2009, at 1:04 PM, Joel Meyer wrote:
Mark, your message did go through. I believe most people are using Thrift on*nix based platforms. A quick search of my GMail archives for the thrift-user list turned up some email from Rush Manbert referencing THRIFT-311 (https://issues.apache.org/jira/browse/THRIFT-311) for MSVCcompatibility. That may be a good place to start looking. Sorry I can't bemore helpful. Cheers, JoelOn Fri, Sep 11, 2009 at 10:03 PM, Mark Schmit <[email protected]> wrote:Did this not go through or do people simply not build on (or care about thrift compiler on) Windows? Has anyone else encountered similar problems?-MarkOn Mon, Sep 7, 2009 at 1:08 AM, Mark Schmit <[email protected]> wrote:Hey guys, I'm new to Thrift but am looking forward to playing with it.UnfortunatelyI'm struggling to get a working Thrift compiler on Windows. I've built thrift.exe in Cygwin with the no-cygwin-dependency path documented on http://wiki.apache.org/thrift/ThriftInstallationWin32, but it seems to only half-work. For example, when I try to generate C++ code using thetutorial files, the compiler says this: [ERROR:c:\development\project\foo\thrift\tutorial.thrift:123] (last token was 'shared.SharedService') Service "shared.SharedService" has not been defined.The same command line works fine on Linux. Secondly, if I try compilingshared.thrift directly, I only see SharedService.h/cpp and SharedService_server.skeleton.cpp, while on Linux I also seeshared_types.h/cpp. I tried some other sample .thrift files and it seemslike I'm missing all of the thrift-file-related (as opposed to service-related) C++ files. I tried generating Java and Python as well. Java seemed to workcorrectly,outputting the same thing on both Linux and Windows. Python didn'toutput*anything* on Windows, while it generated appropriate files anddirectorieson Linux.What's going on? Did I build thrift.exe incorrectly? Does somethingaboutit not like Windows? Have others encountered similar problems? (Anychanceof a binary distribution of thrift.exe so I can expect the compiledbinaryto do what it's supposed to?) -Mark
smime.p7s
Description: S/MIME cryptographic signature
