Step:

  1. download the latest rabbitmq-c via: https://github.com/alanxz/rabbitmq-c
  2. follow the document, download the cmake tool, make sure the right version of cmake. https://cmake.org/
  3. install the C compiler, if developed by VS2012, so set MSVC110=VS2012
  4. convert rabbitmq-c to C++ project via cmake command
    1. create "build" folder to rabbitmq-c root folder, then new bat file with below comman:

      REM -- create and put into /rabbitmq-c-0.9.0/build folder, then run the bat
      REM -- -DENABLE_SSL_SUPPORT=OFF disable SSL feature, otherwise will occur ssl error
      REM -- -G "Visual Studio 11 2012" , set the build environment
      cmake .. -DENABLE_SSL_SUPPORT=OFF -G "Visual Studio 11 2012"
      pause
  5. open the C++ project generate in step 4, then build rabbitmq project with Release version
  6. rename the rabbitmq.*.dll to rabbitmq.1.dll, then replace to the target folder

Troubleshooting:

  1. "Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found suitable version "0.9.8h", minimum required is "0.9.8")"
    1. Solution1: add OPENSSL_ROOT_DIR command to bat file: -DOPENSSL_ROOT_DIR="C:\Users\zhengs\Downloads\openssl-0.9.8k_WIN32" https://stackoverflow.com/questions/16248775/cmake-not-able-to-find-openssl-library
    2. Solution2: Disable SSL suppport, add  "-DENABLE_SSL_SUPPORT=OFF" to command. https://github.com/conetix/librabbitmq

最新文章

  1. linux查看本机IP、gateway、DNS
  2. (十八)WebGIS中清空功能和地图定位功能的设计以及实现
  3. PopupWindow 点击外部和返回键无法消失背后的真相(setBackgroundDrawable(Drawable background))
  4. POJ3422 Kaka's Matrix Travels[费用流]
  5. Asp.net管道模型(管线模型)
  6. 暑假前的flag
  7. 如何自定义ViewGroup
  8. esc安装数据库 sqlserver mssql
  9. bzoj2395
  10. 第三百零五天 how can I 坚持
  11. theano中对图像进行convolution 运算
  12. php 函数之 )_each()list()implode()explode()in_array()
  13. 令人作呕的OpenSSL
  14. 安居客Android项目架构演进
  15. MAC本如何优雅的创建定时任务
  16. django(权限、认证)系统——第三方组件实现Object级别权限控制
  17. 论文阅读笔记(七)YOLO
  18. spring boot打包
  19. 备份与还原ORACLE数据库(通过CMD命令执行)
  20. Windows删除服务方法

热门文章

  1. CentOS取消屏幕保护自动锁屏功能
  2. HDU - 1430 魔板 【BFS + 康托展开 + 哈希】
  3. 什么是shell【TLCL】
  4. 常用的MySQL语句写法
  5. 1W字看懂互联网知识经济
  6. JavaUtil_00_资源帖
  7. javascript-JQuery样式篇(一)
  8. 关于com组件中idl文件的理解
  9. codeforces 707D D. Persistent Bookcase(dfs)
  10. 【leetcode刷题笔记】Integer to Roman