1下载

https://thrift.apache.org/download

Apache Thrift Archive

 

下载编译好的release可执行文件:

Thrift compiler forWindows (thrift-0.9.2.exe)

 

2安装

thrift-0.9.2.exe改名为thrift.exe放到path环境变量中存在的目录下,如:C:\Windows

 

改名为thrift.exe不是必须的,但是最好这样,因为修改后的名字使用起来输入方便一点。

 

3运行生成代码

切换到thrift文件所在的目录,执行如下命令

thrift -r --gen cpp tutorial.thrift

 

相关文章:

  • 2022-01-19
  • 2021-10-10
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
猜你喜欢
  • 2022-03-04
  • 2021-12-07
  • 2022-01-07
  • 2021-10-31
  • 2021-09-27
  • 2021-12-06
  • 2022-02-19
相关资源
相似解决方案