有没有办法在Windows上构建thrift 0.8?
我有Microsoft Visual Studio 2008(v9),提升1.48和WDK 7
我在测试中发现了几个错误...... 例如,我不得不改变:
in concurrency / threadmanager.h
#include <boost/shared_ptr.hpp> to
#include <shared_ptr.hpp>
#include <tr1/functional> to
#include <tr1/functional.hpp>
然后我发现/windows/tagertversion.h试图包含winsdkver.h,但我找不到它,如果它应该被包含在WDK中。
答案 0 :(得分:0)
这两项更改都表明您要包含完全不同的文件。 boost::shared_ptr
仍在boost/shared_ptr.hpp
文件中。如果您不能包含它,那么您没有正确设置包含路径。