Harald Fernengel created THRIFT-3534:
----------------------------------------

             Summary: Link error when building with Qt5
                 Key: THRIFT-3534
                 URL: https://issues.apache.org/jira/browse/THRIFT-3534
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
            Reporter: Harald Fernengel


When building thrift with CMakeLists.txt and Qt5 support, I'm getting:

Undefined symbols for architecture x86_64:
  "apache::thrift::TOutput::strerror_s(int)", referenced from:
      
apache::thrift::transport::TTransportException::TTransportException(apache::thrift::transport::TTransportException::TTransportExceptionType,
 std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&, int) in TQIODeviceTransport.cpp.o
  "typeinfo for apache::thrift::transport::TTransportException", referenced 
from:
      apache::thrift::transport::TQIODeviceTransport::open() in 
TQIODeviceTransport.cpp.o
      apache::thrift::transport::TQIODeviceTransport::read(unsigned char*, 
unsigned int) in TQIODeviceTransport.cpp.o

The Qt5 lib is not linking to thriftcpp, thus, the linker complains.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to