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

James E. King, III commented on THRIFT-1834:
--------------------------------------------

Some of this is also being discussed in THRIFT-2850 around cmake.  I agree with 
the root cause; nothing is declared exported so no implib is created during the 
build.  I recently fixed up the windows cmake build environment so that it 
builds most of the unit tests (I could not get libevent to work on Windows 
because it requires autoconf to generate a config.h file, so the non-blocking 
server is not working, but the others are).

> Unable to build C++ Thrift dynamic library on Windows
> -----------------------------------------------------
>
>                 Key: THRIFT-1834
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1834
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: Windows x86_64 MSVC 2010
>            Reporter: Chris Stylianou
>              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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to