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

Mario Emmenlauer commented on THRIFT-5212:
------------------------------------------

As a workaround, if you have cmake available you may have better success with 
the cmake-generated project files. Is that something that can work for you?

> Thrift Visual Studio project throw errors when build
> ----------------------------------------------------
>
>                 Key: THRIFT-5212
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5212
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>         Environment: Visual Studio 2019 
> Windows 7(64 bit)
>            Reporter: Zezeng Wang
>            Priority: Major
>
> Open *thrift.sln* with Visual Studio 2019, build *libthrift.vcxproj* and 
> *libthriftnb.vcxproj* project. It will throw errors as below:
>  
> “src\thrift\concurrency\Util.cpp”: No such file or directory 
> C:\project\thrift_vs_pro\thrift-master\lib\cpp\c1xx 1 libthrift
> “src\thrift\concurrency\BoostMutex.cpp”: No such file or directory 
> C:\project\thrift_vs_pro\thrift-master\lib\cpp\c1xx 1 libthrift
> “src\thrift\concurrency\BoostMonitor.cpp”: No such file or directory 
> C:\project\thrift_vs_pro\thrift-master\lib\cpp\c1xx 1 libthrift
> “thrift/config.h”: No such file or directory 
> C:\project\thrift_vs_pro\thrift-master\lib\cpp\src\thrift\transport\THttpClient.cpp
>  25 libthrift
> Undefined identifier: "PACKAGE_VERSION" 
> C:\project\thrift_vs_pro\thrift-master\lib\cpp\src\thrift\transport\THttpServer.cpp
>  130 libthrift
> “PACKAGE_VERSION”: Undeclared identifier 
> C:\project\thrift_vs_pro\thrift-master\lib\cpp\src\thrift\transport\THttpClient.cpp
>  106 libthrift
> “PACKAGE_VERSION”: Undeclared identifier 
> C:\project\thrift_vs_pro\thrift-master\lib\cpp\src\thrift\transport\THttpServer.cpp
>  130 libthrift
> “apache::thrift::transport::TSSLSocketFactory::manualOpenSSLInitialization_”: 
> Not allowed dllimport definition of static data members 
> C:\project\thrift_vs_pro\thrift-master\lib\cpp\src\thrift\transport\TSSLSocket.cpp
>  851 libthrift
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to