You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+19-19
Original file line number
Diff line number
Diff line change
@@ -37,19 +37,19 @@ There are only C and C++ interface headers for now. <br>
37
37
3.**MINGW 11.2.0** (tested on this, but might also work with previous versions), you can check if it is already installed in your machine by running <br>
38
38
39
39
```
40
-
$gcc --version
40
+
$gcc --version
41
41
```
42
42
43
43
OR
44
44
45
45
```
46
-
$g++ --version
46
+
$g++ --version
47
47
```
48
48
49
49
If this isn't already installed, run the following in MSYS2 MinGW shell
50
50
51
51
```
52
-
$pacman -S gcc
52
+
$pacman -S gcc
53
53
```
54
54
55
55
4.**GNU Make 4.3**, you can check if it is already installed, though it already comes with mingw64 binutils package, by running
@@ -87,8 +87,8 @@ There are only C and C++ interface headers for now. <br>
87
87
```
88
88
8.**Vulkan Headers**
89
89
```
90
-
meson wrap install vulkan-headers
91
-
meson wrap install glfw
90
+
$ meson wrap install vulkan-headers
91
+
$ meson wrap install glfw
92
92
```
93
93
94
94
### Requirements for building on Linux (Debian)
@@ -170,8 +170,8 @@ There are only C and C++ interface headers for now. <br>
170
170
```
171
171
8.**Vulkan Headers**
172
172
```
173
-
meson wrap install vulkan-headers
174
-
meson wrap install glfw
173
+
$ meson wrap install vulkan-headers
174
+
$ meson wrap install glfw
175
175
```
176
176
177
177
### Requirements for building on FreeBSD
@@ -181,23 +181,23 @@ For now, you would need to do the following:
181
181
- You will need gcc and g++ compilers supporting C++20, FreeBSD uses LLVM/Clang by default
182
182
- Install the following packages
183
183
```
184
-
pkg install gmake # for GNU make
185
-
pkg install shaderc # for shaderc libraries and glslc
186
-
pkg install pkgconf # for pkg-config
184
+
$ pkg install gmake # for GNU make
185
+
$ pkg install shaderc # for shaderc libraries and glslc
186
+
$ pkg install pkgconf # for pkg-config
187
187
```
188
188
189
189
#### For Building SUTK (Spectrum UI Toolkit library), you will need cmake
190
190
##### On Linux
191
191
```
192
-
apt install cmake
192
+
$ apt install cmake
193
193
```
194
194
##### On Windows (MSYS)
195
195
```
196
-
pacman -S cmake
196
+
$ pacman -S cmake
197
197
```
198
198
##### On FreeBSD
199
199
```
200
-
pkg install cmake
200
+
$ pkg install cmake
201
201
```
202
202
203
203
@@ -219,7 +219,7 @@ $ make -f build_shaders.makefile all
219
219
1. Clone the repository by running the following command <br>
2. Change the working directory to `VulkanRenderer`
@@ -235,11 +235,11 @@ $ make -f build_shaders.makefile all
235
235
```
236
236
5. Verify Installation by running pkg-config as follows
237
237
```
238
-
pkg-config sge_static --cflags --libs
238
+
$ pkg-config sge_static --cflags --libs
239
239
```
240
240
OR
241
241
```
242
-
pkg-config sge_shared --cflags --libs
242
+
$ pkg-config sge_shared --cflags --libs
243
243
```
244
244
It must print include header and link libraries directories which you can pass into your gcc or clang compiler/linker.
245
245
@@ -259,12 +259,12 @@ sge_static = sge_static_dep
259
259
### Test Run (Optional)
260
260
There are several tests which you can try running by just passing arguments:
261
261
```
262
-
$./build/main_test CUBE
262
+
$./build/main_test CUBE
263
263
```
264
264
The above set of commands would launch a window in which a white cube will be spinning.
265
265
If you want to see all the possible test cases, you may launch the execution without any arguments and it would just print the list of possible test cases:
0 commit comments