{"id":2930,"date":"2021-05-05T04:10:55","date_gmt":"2021-05-05T04:10:55","guid":{"rendered":"http:\/\/43.153.210.228\/\/?p=2930"},"modified":"2021-05-05T04:10:55","modified_gmt":"2021-05-05T04:10:55","slug":"%e9%85%8d%e7%bd%ae%e6%af%94%e7%89%b9%e5%b8%81%e6%a0%b8%e5%bf%83%e6%97%b6%e6%97%a0%e6%b3%95%e6%a3%80%e6%b5%8b%e5%88%b0boost%e5%ba%93-apple-m1-mac-mini","status":"publish","type":"post","link":"http:\/\/43.153.210.228\/?p=2930","title":{"rendered":"\u914d\u7f6e\u6bd4\u7279\u5e01\u6838\u5fc3\u65f6\u65e0\u6cd5\u68c0\u6d4b\u5230boost\u5e93-Apple M1 Mac Mini"},"content":{"rendered":"<p>2<br \/>\u6211\u00b4\u6211\u8bd5\u7740\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5\u6bd4\u7279\u5e01\u5728\u82f9\u679cm1macmini\uff08bigsur11.2.3\uff09\u4e0a\uff0c\u6211\u5f97\u5230\u8fd9\u4e2a\u8fd0\u884c\u65f6<br \/>.\/configure&#8211;prefix=$PWD\/depends\/arm-apple-darwin20.3.0<br \/>\u201c\u6211\u4eec\u65e0\u6cd5\u68c0\u6d4b\u5230boost\u5e93\uff081.58.0\u6216\u66f4\u9ad8\u7248\u672c\uff09\u3002\u5982\u679c\u60a8\u6709\u4e00\u4e2a\u6682\u5b58\u7684boost\u5e93\uff08\u4ecd\u672a\u5b89\u88c5\uff09\uff0c\u8bf7\u5728\u60a8\u7684\u73af\u5883\u4e2d\u6307\u5b9a$boost\\u ROOT\uff0c\u5e76\u4e14\u4e0d\u8981\u7ed9\u51fa\u5230&#8211;with boost\u9009\u9879\u7684\u8def\u5f84\u3002\u201d<br \/>config.log\u544a\u8bc9\u6211\uff1a<br \/>configure:32586\uff1a\u68c0\u67e5boostlib&gt;=1.58.0\uff08105800\uff09<br \/>configure:32618\uff1ag++-std=c++17-c-g-O2-I\/opt\/homebrew\/opt\/libffi\/include-DHAVE\\u BUILD\\u INFO-D\\u STDC\\u FORMAT\\u MACROS-DMAC\\u OSX-DOBJC\\u OLD\\u DISPATCH\\u PROTOTYPES=0-DPROVIDE\\u FUZZ\\u MAIN\u51fd\u6570conftest.cpp&gt;&amp;amp;5<br \/>\u786e\u8ba4\u6d4b\u8bd5\u3002cpp:73\uff1a10:\u81f4\u547d\u9519\u8bef\uff1a\u627e\u4e0d\u5230\u201cboost\/version.hpp\u201d\u6587\u4ef6<br \/>#\u5305\u62ec&lt;boost\/version.hpp&gt;<br \/>^~~~~~~~~~~~~~~~~~~<br \/>\u751f\u62101\u4e2a\u9519\u8bef\u3002<br \/>configure:32618: $? = 1<br \/>\u6211\u5728\/opt\/homebrew\/Cellar\/boost\uff081.75.0\u7248\uff09\u4e2d\u5b89\u88c5\u4e86boost\uff0c\u6211\u4e5f\u5c1d\u8bd5\u8fc7<br \/>\u5bfc\u51faBOOST\\u ROOT=\/opt\/homebrew\/Cellar\/BOOST<br \/>\u5728\u6784\u5efa\u4e4b\u524d\uff0c\u4f46\u4e0d\u65ad\u5f97\u5230\u76f8\u540c\u7684\u7ed3\u679c\u3002<br \/>echo&#8217;export PATH=\u201c\/opt\/homebrew\/opt\/icu4c\/bin:$PATH\u201d&gt;&gt;~\/.zshrc<br \/>echo&#8217;export PATH=\u201c\/opt\/homebrew\/opt\/icu4c\/sbin:$PATH\u201d&gt;&gt;~\/.zshrc<br \/>export LDFLAGS=\u201c-L\/opt\/homebrew\/opt\/icu4c\/lib\u201d<br \/>export CPPFLAGS=\u201c-I\/opt\/homebrew\/opt\/icu4c\/include\u201d<br \/>\u4e5f\u6ca1\u6709\u5e2e\u52a9\u3002\u975e\u5e38\u611f\u8c22\u60a8\u7684\u5efa\u8bae\u3002\u8c22\u8c22<br \/>\u96e8\u8863<br \/>\u7f16\u8bd1<br \/>\u5206\u4eab<br \/>\u6539\u8fdb\u8fd9\u4e2a\u95ee\u9898<br \/>\u8ddf\u968f<br \/>11\u5c0f\u65f6\u524d\u7f16\u8f91\u7684<br \/>\u8fc8\u514b\u5c14\u00b7\u798f\u514b\u68ee<br \/>557677\u94f6\u724c2222\u94dc\u724c<br \/>4\u67083\u65e59:23\u95ee<br \/>\u514b\u52aa\u7279\u00b7\u5361\u7eb3\u666e<br \/>2122\u9752\u94dc\u5fbd\u7ae0<br \/>\u6dfb\u52a0\u8bc4\u8bba<br \/>1\u4e2a\u7b54\u6848<br \/>0<br \/>\u95ee\u9898\u89e3\u51b3\u4e86\u3002\u7f57\u585e\u58542\u53f7\u5728\u6211\u5efa\u7acb\u7684\u65b0\u7cfb\u7edf\u4e0a\u4e0d\u89c1\u4e86\u3002\u5982\u679c\u5176\u4ed6\u4eba\u9047\u5230\u540c\u6837\u7684\u95ee\u9898\uff1a<br \/>\u8f6f\u4ef6\u66f4\u65b0&#8211;\u5b89\u88c5rosetta<br \/>\u6709\u529e\u6cd5\u3002\u611f\u8c22Twitter\u4e0a\u7684@AlgorithmicRisk\u6307\u51fa\u8fd9\u4e00\u70b9\u3002<\/p>\n<p><a href=\"http:\/\/43.153.210.228\/\/wp-content\/uploads\/2021\/05\/sskoo_blockchain___BTC.com45.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"sskoo_blockchain_\u533a\u5757\u94fe_\u6bd4\u7279\u5e01_BTC.com (45)\" style=\"border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline\" border=\"0\" alt=\"sskoo_blockchain_\u533a\u5757\u94fe_\u6bd4\u7279\u5e01_BTC.com (45)\" src=\"http:\/\/43.153.210.228\/\/wp-content\/uploads\/2021\/05\/sskoo_blockchain___BTC.com45_thumb.jpg\" width=\"572\" height=\"234\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2\u6211\u00b4\u6211\u8bd5\u7740\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5\u6bd4\u7279\u5e01\u5728\u82f9\u679cm1macmini\uff08bigsur11.2.3\uff09\u4e0a\uff0c\u6211\u5f97\u5230\u8fd9\u4e2a\u8fd0\u884c\u65f6.\/co [&hellip;]<\/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-2930","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/2930"}],"collection":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2930"}],"version-history":[{"count":1,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/2930\/revisions"}],"predecessor-version":[{"id":2931,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/2930\/revisions\/2931"}],"wp:attachment":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2930"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}