You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2016/01/10 16:31:39 UTC

[jira] [Resolved] (THRIFT-3534) Link error when building with Qt5

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

Roger Meier resolved THRIFT-3534.
---------------------------------
    Resolution: Fixed

committed

> 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)