johnwhitington / camlpdf

OCaml library for reading, writing and modifying PDF files
Other
200 stars 28 forks source link

Compilation fails with OCaml 5 #59

Closed klartext closed 1 year ago

klartext commented 1 year ago

In OCaml 5, the Genlex module has been removed: https://v2.ocaml.org/releases/5.0/notes/Changes

klartext commented 1 year ago

https://discuss.ocaml.org/t/module-stream-removed-from-5-0-standard-library/10218/2

johnwhitington commented 1 year ago

Per https://github.com/johnwhitington/camlpdf/issues/49 you should be able to use tag v2.5.3 for OCaml 5