安装
igraph在mac下面的安装:直接用brew install即可。会安装到/usr/local/Cellar/igraph/0.8.2
具体的安装指南在https://igraph.org/c/
clion使用
在CMakeLists.txt
里面,加上:
1 | include_directories(/usr/local/Cellar/igraph/0.8.2/include/igraph) |
igraph在mac下面的安装:直接用brew install即可。会安装到/usr/local/Cellar/igraph/0.8.2
具体的安装指南在https://igraph.org/c/
在CMakeLists.txt
里面,加上:
1 | include_directories(/usr/local/Cellar/igraph/0.8.2/include/igraph) |