Activating cairo-dependent features of graph_tool

余生长醉 提交于 2019-12-07 19:16:47

问题


I have been using the graph-tool library for a while now, thus far I hadn't really been using most of its drawing features. Today when trying to use graph_tool.draw.graph_draw I realised that I had configured graph-tool initially without cairo,

./configure --disable-cairo

and this is exactly the graphics library that graph_draw uses. If I install cairo now, is there a way to activate the features of graph_tool that rely on cairo without having to remove and reinstall the whole graph_tool module? This would spare a few hours of re-installation. (the make process takes about 3 hours on my machine).


回答1:


You have to recompile the library, since the cairo-based drawing is implemented in C++.



来源:https://stackoverflow.com/questions/32789062/activating-cairo-dependent-features-of-graph-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!