Discussion:
Building from Visual Studio Config FIles
Adam Marcionek
2017-05-18 19:08:54 UTC
Permalink
When building the libraries using the Visual Studio configuration files, THttpClient.cpp and THttpServer.cpp both have import #include <thrift/config.h> but cannot find the file. For Windows, the file is already included in the ./windows directory, but this is not part of the include path in the projects. So changing the source file to #include <config.h> fixes the build error because it's just looks in the existing source folders. Is this a bug or intentional?

Thanks,
Adam Marcionek
Adam Marcionek
2017-05-18 20:24:46 UTC
Permalink
Just a heads up, I checkout 0.10.0 and don't have this problem. I can see from https://issues.apache.org/jira/browse/THRIFT-3973 that master is in transition, so please disregard.

-----Original Message-----
From: Adam Marcionek [mailto:***@seven10storage.com]
Sent: Thursday, May 18, 2017 3:09 PM
To: ***@thrift.apache.org
Subject: Building from Visual Studio Config FIles

When building the libraries using the Visual Studio configuration files, THttpClient.cpp and THttpServer.cpp both have import #include <thrift/config.h> but cannot find the file. For Windows, the file is already included in the ./windows directory, but this is not part of the include path in the projects. So changing the source file to #include <config.h> fixes the build error because it's just looks in the existing source folders. Is this a bug or intentional?

Thanks,
Adam Marcionek

Loading...