dbuenzli / vg

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

Compilation error with b0 #35

Closed pveber closed 7 months ago

pveber commented 7 months ago

When trying to compile using b0:

$ opam source --dev-repo vg
Successfully fetched vg development repo to ./vg/
$ cd vg
$ b0
[FAIL] [ocamlopt][2]: (b0 file log --id 21)
File "/home/pveber/tmp/vg/B0.ml", line 19, characters 19-21:
Error: Unbound value ~/

b0: [ERROR] Could not compile B0 file /home/pveber/tmp/vg/B0.ml

It kind of looks like an automatic replace that went bad, but maybe I missed something.

dbuenzli commented 7 months ago

Try with opam pin b0 --dev, if it still doesn't work please use topkg build, I have a bunch of private changes in b0 that are waiting a bit to be pushed for technical reasons.

pveber commented 7 months ago

Sorry, I should have checked the opam file first. It worked invoking

ocaml pkg/pkg.ml build

Thanks!