Skip to content

Commit 1617e28

Browse files
committed
Update Linux build instructions
1 parent 874a8cc commit 1617e28

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

README.md

+24-12
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ brew install git
124124

125125
# 3 Install the Zep library as a package
126126
Here is a typical build instruction for windows, assuming you have just synced this repo:
127-
```
127+
```
128128
mkdir build
129129
cd build
130130
cmake -G "Visual Studio 16 2019" -A x64 -DZEP_FEATURE_CPP_FILE_SYSTEM=1 -DBUILD_IMGUI=0 -DBUILD_TESTS=0 -DBUILD_DEMOS=0 ..
@@ -158,26 +158,39 @@ config.bat OR config_qt.bat or config_imgui.bat (for qt and imgui respectively)
158158
build.bat
159159
```
160160

161-
# Linux
162-
```
163-
# MUtils
161+
# GNU/Linux
162+
163+
## Install dependencies
164+
165+
```bash
166+
sudo apt install cmake git
167+
```
168+
169+
## MUtils
170+
```bash
164171
git clone https://github.com/Rezonality/mutils
165172
cd mutils
166-
chmod +x prebuild.bat
167-
chmod +x m3rdparty/packages/install.sh
173+
chmod +x prebuild.sh
168174
chmod +x config.sh
169175
chmod +x build.sh
170176
./config.sh
171177
./build.sh
178+
```
172179

173-
# Qt
174-
sudo apt install qt-default (for Qt/Demo support)
175-
set QT_INSTALL_LOCATION=C:\Qt\5.10.0\msvc2017_64 (example)
180+
## Qt (required is using build_qt.sh)
181+
```bash
182+
# for Qt/Demo support
183+
sudo apt install qt5-default
184+
# Adapt to your installation path
185+
set QT_INSTALL_LOCATION="/usr/include/x86_64-linux-gnu/qt5"
186+
```
176187

177-
# Zep
188+
## Zep
189+
```bash
178190
git clone https://github.com/Rezonality/zep
179191
cd zep
180-
./config.sh OR ./config_qt.sh or ./config_imgui.sh (for qt and imgui respectively)
192+
# Optional argument are qt and imgui
193+
./config.sh ( qt | imgui )
181194
./build.sh
182195
```
183196

@@ -196,4 +209,3 @@ SDL2 is used to get a window on the screen in a cross platform way, and for Open
196209

197210
[ImGui: 2D GUI](https://github.com/ocornut/imgui)
198211
ImGui is a great 2D User interface for 3D applications
199-

0 commit comments

Comments
 (0)