diff --git a/README.md b/README.md index f14498786c53221ea38f7053b0fbac9f6daa6e73..00a1e15a5bbbfc9a2473b22afd386822a09ccd47 100644 --- a/README.md +++ b/README.md @@ -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 It can be built with or without graphics. + ## 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. - - 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 @@ -19,7 +22,7 @@ It can be built with or without graphics. cd ackley_mc 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 cd ackley_mc diff --git a/docs/uebung_ackley.docx b/docs/uebung_ackley.docx index 1e5f34c36573b5488c3f94708042f931f406acd5..6fc47ea775ef77416c19d6aa73a288ffa1b93848 100644 Binary files a/docs/uebung_ackley.docx and b/docs/uebung_ackley.docx differ