[ https://issues.apache.org/jira/browse/THRIFT-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harald Fernengel updated THRIFT-3534: ------------------------------------- Attachment: THRIFT-3534-qt5-build-fix.patch > 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 > Attachments: THRIFT-3534-qt5-build-fix.patch > > > 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)