File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 7
7
- [ stb] ( https://github.com/nothings/stb )
8
8
- [ GLM] ( https://github.com/g-truc/glm )
9
9
10
- A nix development shell is included which installs the required libraries into the environment.
10
+ A nix development shell is included which comes installed with the required libraries:
11
11
12
12
``` sh
13
- nix develop --impure -c $SHELL
13
+ nix develop
14
14
```
15
15
16
- If not using nix, find the corresponding packages for your distro and install them on your system.
16
+ If not using nix, you can install the dependencies system wide.
17
+ These are the packages for Ubuntu:
17
18
18
- ## Compile and run
19
+ ``` sh
20
+ sudo apt install libglfw3-dev libglew-dev libstb-dev libglm-dev
21
+ ```
22
+
23
+ For other distros, you'll have to find the matching packages and install them on your system.
24
+
25
+ ## Building
19
26
20
27
With the dependencies installed and accessible to the compiler,
21
28
the included Makefile can be used for compiling and running the program.
27
34
# compile and run
28
35
make run
29
36
30
- # clean up any compiled files
37
+ # remove all generated build files
31
38
make clean
32
39
```
40
+
41
+ The compiled binary can be found at ` ./bin/out `
You can’t perform that action at this time.
0 commit comments