1)登錄http://activemq.apache.org/
2)進入下載頁面
http://activemq.apache.org/cms/activemq-cpp-394-release.html
3)進入activemq-cpp\vs2008-build,打開activemq-cpp.sln
4)添加apr頭文件目錄
5)編譯activemq-cpp項目,編譯靜態庫libactivemq-cppd.lib
6)注意事項
很多參考文章中需要編譯apr-iconv,apr-util實際上都沒有編譯,猜測只是在
cppunit單元測試中使用到
7)添加進工程目錄,編譯運行
輸出錯誤:
No Matching Factory Registered for format :=ws
No Matching Factory Registered for format :=http
實際上url應該是tcp://192.168.60.205:61616
參考
https://blog.csdn.net/wenyu826/article/details/52935411