linebender / piet

An abstraction for 2D graphics.
Apache License 2.0
1.25k stars 94 forks source link

Provide install instructions for cairo-rs dependency which requires provided cairo dll #9

Open rylev opened 5 years ago

rylev commented 5 years ago

Cairo is quite portable, and it is quite feasible to build on other systems. However, the cairo-rs crate seems to expect a library to be provided, rather than building it from sources. On Windows, I've been using prebuilt binary releases from cairo-windows.

We should file an issue with cairo-rs to see if we can make this a bit more friendly.

Until then, we should provide install instructions so that people don't get tripped up on this.

raphlinus commented 5 years ago

Can this be closed? I think the instructions are ok, especially for Mac where are likely to care. Also, the fact that this is tested in CI helps, people can always look at those scripts.

rylev commented 5 years ago

There's still a todo in the readme. I think that should be cleaned up first before closing this. I'll try to get to it soon.