Updated readme file

This commit is contained in:
OmniaX-Dev 2024-09-08 06:38:46 +02:00
parent 6a93250fe7
commit 76cfbf9341

View file

@ -6,35 +6,37 @@ A collection of C++ classes and tools that I have created over the years
## Build instructions - Windows ## Build instructions - Windows
**Step 1:** **Step 1:**
download MSYS2 from https://www.msys2.org/ and install it download MSYS2 from https://www.msys2.org/ and install it
**Step 2:** **Step 2:**
run MSYS2, and in the terminal run: run MSYS2, and in the terminal run:
``` ```
pacman -Syuu pacman -Syuu
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-clang mingw-w64-ucrt-x86_64-gdb mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-make mingw-w64-ucrt-x86_64-boost mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-SDL2_mixer mingw-w64-ucrt-x86_64-SDL2_image mingw-w64-ucrt-x86_64-SDL2_ttf mingw-w64-ucrt-x86_64-SDL2_gfx pacman -S --needed base-devel mingw-w64-ucrt-x86_64-clang mingw-w64-ucrt-x86_64-gdb mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-make mingw-w64-ucrt-x86_64-boost mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-SDL2_mixer mingw-w64-ucrt-x86_64-SDL2_image mingw-w64-ucrt-x86_64-SDL2_ttf mingw-w64-ucrt-x86_64-SDL2_gfx mingw-w64-ucrt-x86_64-openssl
``` ```
**Step 3:** **Step 3:**
open a UCRT64/MSYS2 command prompt inside the root directory of the project open a UCRT64/MSYS2 command prompt inside the root directory of the project
**Step 4:** **Step 4:**
execute this command: execute theese two commands:
``` ```
./compile ./compile
./install
``` ```
## Build instructions - Linux (Arch) ## Build instructions - Linux (Arch)
**Step 1:** **Step 1:**
open a terminal and run: open a terminal and run:
``` ```
sudo pacman -Syuu sudo pacman -Syuu
sudo pacman -S --needed base-devel clang gdb cmake make boost sdl2 sdl2_mixer sdl2_image sdl2_ttf sdl2_gfx sudo pacman -S --needed base-devel clang openssl gdb cmake make boost sdl2 sdl2_mixer sdl2_image sdl2_ttf sdl2_gfx
``` ```
**Step 2:** **Step 2:**
open a terminal inside the root directory of the project and run this command: open a terminal inside the root directory of the project and run theese two commands:
``` ```
./compile ./compile
./install
``` ```
## Build instructions - Linux (Ubuntu) ## Build instructions - Linux (Ubuntu)
@ -46,23 +48,25 @@ sudo apt install clang gdb make cmake libboost-all-dev libsdl2-dev libsdl2-mixer
``` ```
**Step 2:** **Step 2:**
open a terminal inside the root directory of the project and run this command: open a terminal inside the root directory of the project and run theese two commands:
``` ```
./compile ./compile
./install
``` ```
## Build instructions - Linux (Fedora) ## Build instructions - Linux (Fedora)
**Step 1:** **Step 1:**
open a terminal and run: open a terminal and run:
``` ```
sudo dnf update sudo dnf update
sudo dnf install gcc gcc-c++ make clang gdb cmake clang-tools-extra boost boost-devel openssl openssl-devel SDL2 SDL2_image SDL2_mixer SDL2_ttf SDL2_gfx SDL2-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel SDL2_gfx-devel sudo dnf install gcc gcc-c++ make clang gdb cmake clang-tools-extra boost boost-devel openssl openssl-devel SDL2 SDL2_image SDL2_mixer SDL2_ttf SDL2_gfx SDL2-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel SDL2_gfx-devel
``` ```
**Step 2:** **Step 2:**
open a terminal inside the root directory of the project and run this command: open a terminal inside the root directory of the project and run theese two commands:
``` ```
./compile ./compile
./install
``` ```
#### For other Linux distros, install the dependencies using your package manager. #### For other Linux distros, install the dependencies using your package manager.