[ 
https://issues.apache.org/jira/browse/THRIFT-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Meier updated THRIFT-3534:
--------------------------------
    Fix Version/s: 1.0
                   0.9.4

> 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
>             Fix For: 0.9.4, 1.0
>
>         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)

Reply via email to