Skip to content
Snippets Groups Projects
Commit 8f3689bc authored by Andrew E. Torda's avatar Andrew E. Torda
Browse files

Setting up for new branch to preserve work on adaptive steps.

parent dfa71e89
No related branches found
No related tags found
No related merge requests found
...@@ -8,10 +8,13 @@ I do not have a mac for testing, so this is limited to linux and windows. ...@@ -8,10 +8,13 @@ I do not have a mac for testing, so this is limited to linux and windows.
One can download the source, or perhaps there is a pre-built binary One can download the source, or perhaps there is a pre-built binary
It can be built with or without graphics. It can be built with or without graphics.
## Prerequisites ## Prerequisites
- You must have go installed. I have only tried with go back to version 1.16. It may well build with earlier versions. It does expect support for `go.mod`. - You must have go installed. I have only tried with go back to version 1.16. It may well build with earlier versions. It requires support for `go.mod`.
- You need a C compiler and cgo for the graphics. - You need a C compiler and cgo for the graphics.
- If you disable graphics, you do not need C or cgo, but cross compiling (linux-> windows) works. - cross compiling from linux to windows is easy without graphics, but not much fun if you want graphics.
- native compilation under windows is painless
## Build ## Build
...@@ -19,7 +22,7 @@ It can be built with or without graphics. ...@@ -19,7 +22,7 @@ It can be built with or without graphics.
cd ackley_mc cd ackley_mc
go build . go build .
and you should end up with an executable called `ackley_mc` or `ackley_mc.exe` under windows. and you should end up with an executable called `ackley_mc` or `ackley_mc.exe` under windows. To build without graphics,
git clone git@gitlab.rrz.uni-hamburg.de:Bae5157/ackley_mc.git git clone git@gitlab.rrz.uni-hamburg.de:Bae5157/ackley_mc.git
cd ackley_mc cd ackley_mc
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment