Thrift安装与部署

Thrift安装与部署

  1. Boost的部署:

        1> 解压

        2> 编译产生lib目录

   2. libevent

         1> 解压

         2> 该库只需libthriftnb工程引入,只有include没有lib

   3. thrift项目部署(C++)

         1> 打开thrift.sln(VS2010以上)

         2> 配置boost, openssl, libevent路径

         3> 在servel目录手动添加TConnectedClient.cpp和TServerFramework.cpp(这是Thrift C++使用方式的bug)

         4> 编译libthrift和libthriftnb工程,生成libthrift.lib和libthriftnb.lib

       libthriftnb的inclue配置:

        Thrift安装与部署


         libthriftnb的lib配置:

        Thrift安装与部署

相关文章:

  • 2021-04-15
  • 2021-11-23
  • 2021-05-07
  • 2021-05-10
  • 2021-05-07
  • 2021-06-29
  • 2021-05-21
  • 2021-07-21
猜你喜欢
  • 2021-12-11
  • 2022-12-23
  • 2021-10-14
  • 2021-10-08
  • 2021-11-02
  • 2021-10-06
  • 2022-01-08
相关资源
相似解决方案