-
opam init
Added the line it displays into .bashrc:
eval $(opam env)
-
opam install core async graphics async_shell js_of_ocaml-lwt js_of_ocaml-ppx angstrom tgls tsdl camlimages tgls tsdl
and whetever else is listed as libraries in the dune files. -
poly/ is bitrotten at the moment.
For poly/ you'll need to install maxima and OpenCL drivers. Below are instructions for OpenSuSE 15.1 with an Intel GPU.
-
In Software Management add repo http://download.opensuse.org/repositories/home:/linnaea:/Intel-OpenCL/openSUSE_Leap_15.1/
-
install opencl-headers libOpenCL1 libigdfcl1 intel-opencl-neo maxima
Make sure to not install beignet - it exhibited some fascinating bugs like computing only some stripes of the data.
Do not install intel-opencl, it causes "error building program OUT_OF_HOST_MEMORY."
-
ln -s /usr/lib64/libOpenCL.so.1 /usr/lib64/libOpenCL.so
-
-
For http-server:
- install npm
sudo npm install -g http-server
Most things can be run by going to the directory you want to run, and running
make
sudo su
./start.sh
google-chrome http://localhost/index-server.html
You should be able to use things that need microphone without microphone by choosing the correct 'Monitor' interface under 'Recording' in pavucontrol.
We have to use https because chrome doesn't allow to use microphone otherwise, but you have to click through the bad certificate warning.