diff --git a/README.md b/README.md index 79fefe407b530bfff20a436f55cf8c42b80ef16d..59cc41821dd5bd27f702204c554278c13a9fd0f0 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ player can run their own client and connect to the same server in the same local ## 2 Compile Instructions This project only works on UNIX systems (Linux / macOS). We thus only explain the how to compile the game on these -systems. The following description was tested on Ubuntu 20.04 and on macOS Sequoia. +systems. The following description was tested on Ubuntu 22.04 and on macOS Sequoia. ### 2.1 Prepare OS Environment @@ -44,7 +44,7 @@ running `git clone https://gitlab.ethz.ch/beckermar/wizard.git` (clone with HTTP Cloning the game as a first step also makes provided scripts for preparing the OS environment and for compiling the code available. -#### 2.1.1 Ubuntu 20.04 +#### 2.1.1 Ubuntu 22.04 The necessary packages and software can either be installed manually or by running the provided script. @@ -53,8 +53,9 @@ To use the provided script, run `bash scripts/prepare_ubuntu.sh` inside the **wi To manually prepare Ubuntu, execute the following commands: 1. `sudo apt-get update` (update package list) 2. `sudo apt-get install build-essential` (install software to build from source) -3. `sudo apt-get install libwxgtk3.0-gtk3-dev` (install wxwidgets, use libwxgtk3.2-dev on Ubuntu 24.04) +3. `sudo apt-get install libwxgtk3.2-dev` (install wxwidgets, use libwxgtk3.0-gtk3-dev on Ubuntu 20.04) 4. `sudo apt-get install cmake` (install cmake) +5. `sudo reboot` (reboot system) #### 2.1.2 macOS Sequoia @@ -71,7 +72,7 @@ To manually prepare macOS, execute the following commands: Compiling the code creates executables for the client (Wizard-client) and for the server (Wizard-server). -#### 2.2.1 Ubuntu 20.04 +#### 2.2.1 Ubuntu 22.04 Compiling the code can be done by running the provided script. diff --git a/scripts/prepare_ubuntu.sh b/scripts/prepare_ubuntu.sh index c398c5643585e56ef82bdd07961b86d23583407d..550ef73564bd3dcfced2ecf97c0a3f9ec3727276 100644 --- a/scripts/prepare_ubuntu.sh +++ b/scripts/prepare_ubuntu.sh @@ -1,5 +1,6 @@ #!/bin/bash sudo apt-get update sudo apt-get install build-essential -sudo apt-get install libwxgtk3.0-gtk3-dev -sudo apt-get install cmake \ No newline at end of file +sudo apt-get install libwxgtk3.2-dev +sudo apt-get install cmake +sudo reboot \ No newline at end of file