thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hatem Helal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-1834) Support dynamic linking against the thrift C++ library on windows
Date Wed, 31 Jul 2019 14:36:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897246#comment-16897246
] 

Hatem Helal commented on THRIFT-1834:
-------------------------------------

Was this resolved in THRIFT-4759?  I'm not sure I've followed all of the details in this issue
or related ones but I'm interested in using thrift as a DLL on windows.  [~jking3], could
you summarize the current state?

> Support dynamic linking against the thrift C++ library on windows
> -----------------------------------------------------------------
>
>                 Key: THRIFT-1834
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1834
>             Project: Thrift
>          Issue Type: Story
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: Windows x86_64 MSVC 2010
>            Reporter: Chris Stylianou
>            Priority: Major
>              Labels: dll, msvc, thrift, windows
>
> I am unable to build a valid .dll version of the Thrift C++ library using MSVC2010 as
nothing has been declared with "__declspec(dllexport)/__declspec(dllimport)", meaning that
MSVC2010 (and presumably all other versions) are unable to generate the import .lib that should
accompany the .dll library.
> Currently the cmake environment only supports building a static library (with static
or dynamic runtime - you choose with the "WITH_MT" option).



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message