Zezeng Wang created THRIFT-5212: ----------------------------------- Summary: 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 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)