Closed lvicentesanchez closed 8 years ago
I have the same problem when I try to compile trigl4.ml
Versions:
tgls 0.8.3 tsdl 0.9.0
Downgrading to tsdl 0.8.2 solves the problem
The problem is that tsdl switched to the result
type that is upcoming in OCaml 4.03.0, however no release of tgls happened since then so the sample code is outdated.
I'd still advise you to use tsdl 0.9.0
and simply replace the polymorphic variant result type [Ok of 'a |
Error of 'b] by the new result type (available in the result
opam compatibility package) since this is the way forward.
(Reopening so that I don't forget to update the sample code)
I'm trying to compile
trigl3.ml
using the following line:And I get the following error:
I have installed both tgls and tsdl using opam and then I check out this repository. Am I missing something?