{"id":832,"date":"2013-11-13T08:36:09","date_gmt":"2013-11-13T00:36:09","guid":{"rendered":"http:\/\/systemsci.org\/jinshanw\/?p=832"},"modified":"2013-11-13T08:36:09","modified_gmt":"2013-11-13T00:36:09","slug":"igraph%e5%ae%89%e8%a3%85%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.systemsci.org\/jinshanw\/2013\/11\/13\/igraph%e5%ae%89%e8%a3%85%e4%bd%bf%e7%94%a8\/","title":{"rendered":"igraph\u5b89\u88c5\u4f7f\u7528"},"content":{"rendered":"<p>\u5982\u679c\u5df2\u7ecf\u5b89\u88c5igraph\uff0c\u5e0c\u671b\u627e\u5230\u7f16\u8bd1\u65f6\u5019\u7684\u53c2\u6570\uff0c\u53ef\u4ee5\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<br \/>\npkg-config &#8211;libs &#8211;cflags igraph<br \/>\n\u5982\u4f55pkg-config\u6ca1\u6709\u5b89\u88c5\uff0c\u5c31\u5148\u5b89\u88c5\u8fd9\u4e2a\u8f6f\u4ef6\u3002<\/p>\n<p>\u5982\u679c\u81ea\u5df1\u624b\u52a8\u5b89\u88c5\uff0c\u5219\u9700\u8981\u77e5\u9053\u81ea\u5df1\u5b89\u88c5\u5230\u7684\u76ee\u5f55\uff0c\u4f8b\u5982\/opt\/igraph\uff0c\u7136\u540e\u4ea7\u751f\u76f8\u5e94\u7684-I\uff08\u5934\u6587\u4ef6igraph.h\u6240\u5728\u7684\u4f4d\u7f6e\uff09\u4e0e-L\uff08lib\u6587\u4ef6\uff0c.a, .so, .DLL\u7b49\u6587\u4ef6\u6240\u5728\u7684\u4f4d\u7f6e\uff0c\u4f8b\u5982\/opt\/igraph\/lib\uff09\u53c2\u6570\u7684\u503c<\/p>\n<p>\u5982\u679c\u81ea\u52a8\u5b89\u88c5\uff0c\u5219\u5728\u8f6f\u4ef6\u4e2d\u5fc3\u6216\u8005\u65b0\u7acb\u5f97\u7ba1\u7406\u5668\u4e2d\u5bfb\u627eigraph\uff0c\u6216\u8005apt-get\u4e00\u4e0b\u5c31\u884c\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u624b\u52a8\u5b89\u88c5\u8fc7\u7a0b\uff1a\u4e0b\u8f7digraph\u8f6f\u4ef6\uff08google\uff09\uff0c\u89e3\u538b\u7f29\uff0c\u5728\u89e3\u538b\u4ee5\u540e\u7684\u76ee\u5f55\u4e2d\u8fd0\u884c .\/configure &#8211;prefix=\/opt\/igraph\uff0c\u7136\u540e make\uff0c\u6700\u540esudo make install\u641e\u5b9a\u3002<\/p>\n<p>\u6b63\u786e\u8fd0\u884cigraph\u7a0b\u5e8f\u9700\u8981\u8bbe\u7f6e\u5e93\u7684\u8def\u5f84\uff0cexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/opt\/igraph\/lib\uff08\u6539\u6210\u81ea\u5df1\u5b89\u88c5\u7684\u8def\u5f84\uff09\uff0c\u6216\u8005\u7528\u9759\u6001\u7f16\u8bd1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u5df2\u7ecf\u5b89\u88c5igraph\uff0c\u5e0c\u671b\u627e\u5230\u7f16\u8bd1\u65f6\u5019\u7684\u53c2\u6570\uff0c\u53ef\u4ee5\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a pkg-config &#8211;lib &hellip; <a href=\"https:\/\/www.systemsci.org\/jinshanw\/2013\/11\/13\/igraph%e5%ae%89%e8%a3%85%e4%bd%bf%e7%94%a8\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cigraph\u5b89\u88c5\u4f7f\u7528\u201d<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/posts\/832"}],"collection":[{"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/comments?post=832"}],"version-history":[{"count":0,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/posts\/832\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/media?parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/categories?post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.systemsci.org\/jinshanw\/wp-json\/wp\/v2\/tags?post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}