Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Activating cairo-dependent features of graph_tool

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).

like image 442
Ellie Avatar asked Oct 20 '25 06:10

Ellie


1 Answers

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

like image 132
Tiago Peixoto Avatar answered Oct 21 '25 20:10

Tiago Peixoto



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!