dbuenzli / vg

Declarative 2D vector graphics for OCaml
http://erratique.ch/software/vg
ISC License
86 stars 12 forks source link

Can't make vg.cairo work #29

Closed davesnx closed 3 years ago

davesnx commented 3 years ago

Hello @dbuenzli

I successfully made vg with SVG working great, but I want to change to render pngs. While using vg.cairo, I'm able to install it but fails while building.

OCaml 4.10 (I tried with 4.12 as well) dune 2.8.5

Error: Library "vg.cairo" in /home/runner/.opam/4.10.0/lib/vg is hidden

I'm unsure what "vg is hidden" means.

Tried to re-install vg, re-install cairo2 and removed META files.

Thanks!

dbuenzli commented 3 years ago

I'm unsure what "vg is hidden" means.

I have never seen this message either is it a dune thing ?

Can you please try the minimal example and compilation instructions here.

davesnx commented 3 years ago

Weird, using the steps from the docs I got another warning regarding cairo2 missing which It wasn't... Then I nuke the opam switch and started again and everything seems to work fine, with either ocamlfind either dune.

Sorry for the trouble.

dbuenzli commented 3 years ago

Hé no problem. Glad that it works now.