1
我曾嘗試在編譯CPP的應用與節儉0.9.0 Ubuntu的precise32:發行編譯節儉0.9.0 C++客戶
g++ hello_client.cpp gen-cpp/HelloSvc.cpp -lthrift
然而,這會導致:
In file included from /usr/local/include/thrift/transport/TSocket.h:25:0,
from hello_client.cpp:4:
/usr/local/include/thrift/transport/TTransport.h:34:1: error: 'uint32_t' does not name a type
/usr/local/include/thrift/transport/TTransport.h:107:3: error: 'uint32_t' does not name a type
...