frenetic-lang / frenetic

The Frenetic Programming Language and Runtime System
http://www.frenetic-lang.org/
Other
222 stars 52 forks source link

Building error #646

Closed Hauser-F closed 3 years ago

Hauser-F commented 4 years ago

Hi,

when trying to build the project I get the following error: image

What have I done wrong? Also, the links to the VMs don't work anymore. Would it be possible to provide one again?

HaiDang9719 commented 3 years ago

I have the same issue. Any workarounds?

jnfoster commented 3 years ago

Let me see if I can put together a patch to get Frenetic building against a modern OCaml environment.

jnfoster commented 3 years ago

The build should be fixed now.

I've only tested with the OCaml version 4.11.0 and the latest libraries from OPAM.

I recommend running the following command, opam switch create 4.11.0 and then installing dependencies as suggested in the README file.

jnfoster commented 3 years ago

If you checkout the latest version of the code, navigate into the top-level directory, and try

opam pin frenetic .

it should compile successfully.