HMS JANUS
Installation
Janus is written in go. You will need to make sure that go is installed (see you system details for how to do that).
Getting and building Janus is relatively straightforward. You can clone the repository with git clone https://git.sr.ht/~hms/janus
. This will make a janus
directory. You can then go into the directory and then use go build hmsj janus.go
. This should result in downloading all the necessary libraries and compiling what is necessary (but you will need to manually do the nlopt
compilation, see below). After you have ensured that nlopt
is ok, you can go ahead and run go build hmsj janus.go
again. Then you should be good to run ./janus
.
Make sure that go-nlopt is up to date. That is the most common problem installation/run-time issue. https://github.com/go-nlopt/nlopt. Sometimes you will get an error after compiling and running an example, and this can be because of nlopt. To ensure that you have nlopt correctly installed, you can go to where it is installed in your system, for mine it is godir/github.com/go-nlopt/nlopt
. Then you can run bash install_nlopt.sh
. You will need to enter your password (and if you have run this before, you may need to delete the nlopt*/build
directory). But after you have completed this, rerun the build of Janus.
For documentation on use click here.