Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
-
Patch
Description
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.