currently it seems that it does not compile by default on cygwin.
see https://issues.apache.org/jira/browse/THRIFT-757 for details

please apply first the patches provided there and report on that JIRA issue if you have any problem on cygwin.

Quoting Jeff Zhang <zjf...@gmail.com>:

I am using it under cygwin. Thrift C++ is not supported by cygwin ?


On Fri, Oct 8, 2010 at 1:41 PM,  <ro...@bufferoverflow.ch> wrote:
Hi Jeff

C++ Runtime on Windows is currently not supported by default, but you can
have a look on the following two pages:
- http://wiki.apache.org/thrift/ThriftInstallationWin32
- https://issues.apache.org/jira/browse/THRIFT-591

an other option for windows, use the csharp implementation
lib/csharp/ThriftMSBuildTask/ThriftMSBuildTask.csproj will create Thrift.dll

Regards

Roger

Quoting Jeff Zhang <zjf...@gmail.com>:

Hi ,

I want to use thrift's cpp interface, but when I compile it, the
following errors happens :

E:\Java\lib\thrift-0.4.0\lib\cpp\src/transport/TBufferTransports.h:240:
undefined reference to `vtable for
apache::thrift::transport::TBufferedTransport'
collect2: ld returned 1 exit status
make: *** [Thrift_C++.exe] Error 1


I run it under windows platforms, seems it is a link problem, anyone
know what's the problem and where can I find the thrift runtime
library ?


--
Best Regards

Jeff Zhang






----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





--
Best Regards

Jeff Zhang






----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to