{"id":1051,"date":"2023-08-26T17:50:19","date_gmt":"2023-08-26T09:50:19","guid":{"rendered":"https:\/\/www.fanyamin.com\/wordpress\/?p=1051"},"modified":"2023-08-28T14:25:55","modified_gmt":"2023-08-28T06:25:55","slug":"c-%e4%b8%ad%e6%81%bc%e4%ba%ba%e7%9a%84%e4%be%9d%e8%b5%96%e7%ae%a1%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.fanyamin.com\/wordpress\/?p=1051","title":{"rendered":"c++ \u4e2d\u607c\u4eba\u7684\u4f9d\u8d56\u7ba1\u7406"},"content":{"rendered":"<p>Java \u6709 maven, Python \u6709 pip, C++ \u5462\uff1f<br \/>\nC++ \u6709 vcpkg \u548c conan<\/p>\n<h1>\u793a\u4f8b<\/h1>\n<p>\u6bd4\u8f83\u4e00\u4e0b libzmq \u7684\u5b89\u88c5<\/p>\n<h2>\u4ece\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5<\/h2>\n<pre><code>git clone  git@github.com:zeromq\/libzmq.git\ncd libzmq\n.\/autogen.sh\n.\/configure\nmake\nmake install\n<\/code><\/pre>\n<h2>\u4ece vcpkg \u5b89\u88c5<\/h2>\n<pre><code>git clone https:\/\/github.com\/microsoft\/vcpkg.git\n.\/bootstrap-vcpkg.bat # For powershell\n.\/bootstrap-vcpkg.sh # For bash\n.\/vcpkg install zeromq<\/code><\/pre>\n<h1>\u53c2\u89c1<\/h1>\n<ul>\n<li><a href=\"https:\/\/github.com\/52doho\/vcpkg-vs-conan\">https:\/\/github.com\/52doho\/vcpkg-vs-conan<\/a><\/li>\n<li><a href=\"https:\/\/devbins.github.io\/post\/conan\/\">https:\/\/devbins.github.io\/post\/conan\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Java \u6709 maven, Python \u6709 pip, C++ \u5462\uff1f C++ \u6709 vcpkg \u548c conan \u793a\u4f8b \u6bd4\u8f83\u4e00\u4e0b libzmq \u7684\u5b89\u88c5 \u4ece\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 git clone git@github.com:zeromq\/libzmq.git cd libzmq .\/autogen.sh .\/configure make make install \u4ece vcpkg \u5b89\u88c5 git clone https:\/\/github.com\/microsoft\/vcpkg.git .\/bootstrap-vcpkg.bat # For powershell .\/bootstrap-vcpkg.sh # For bash .\/vcpkg install zeromq \u53c2\u89c1 https:\/\/github.com\/52doho\/vcpkg-vs-conan https:\/\/devbins.github.io\/post\/conan\/ <a class=\"read-more\" href=\"https:\/\/www.fanyamin.com\/wordpress\/?p=1051\" title=\"Permanent Link to: c++ \u4e2d\u607c\u4eba\u7684\u4f9d\u8d56\u7ba1\u7406\">&rarr;Read&nbsp;more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1051","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1051"}],"collection":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1051"}],"version-history":[{"count":4,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1051\/revisions"}],"predecessor-version":[{"id":1055,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1051\/revisions\/1055"}],"wp:attachment":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}