You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Zezeng Wang (Jira)" <ji...@apache.org> on 2020/05/19 09:15:00 UTC

[jira] [Assigned] (THRIFT-5212) Thrift Visual Studio project throw errors when build

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

Zezeng Wang reassigned THRIFT-5212:
-----------------------------------

    Assignee: Zezeng Wang

> 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
>            Assignee: Zezeng Wang
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)