Chris00 / ocaml-cairo

Binding to Cairo, a 2D Vector Graphics Library.
GNU Lesser General Public License v3.0
54 stars 8 forks source link

Question: "cannot use mapped file" #32

Open yilinwei opened 1 year ago

yilinwei commented 1 year ago

Hi,

I'm currently playing around with using ocaml-cairo as the renderer for a toy GUI project and calling of_data32 I get the error that a mapped file cannot be used.

Why is this the case? Is it a fundamental limitation with the cairo library, or with the Bigarray representation or something else?

Chris00 commented 1 year ago

Frankly, I do not remember. Maybe you want to try and, if it works, open a PR?