Created Graphics: Working with Raylib and SSH (markdown)

master
Maxine hace 4 años
padre
commit
6097c88345
Se han modificado 1 ficheros con 24 adiciones y 0 borrados
  1. +24
    -0
      Graphics:-Working-with-Raylib-and-SSH.md

+ 24
- 0
Graphics:-Working-with-Raylib-and-SSH.md

@ -0,0 +1,24 @@
First, ssh into one of the csil linux machines. Then, run the following:
```
cd ~
git clone https://github.com/raysan5/raylib.git raylib
cd raylib
cmake -DBUILD_SHARED_LIBS=ON -B build/
make -C build
mkdir -p ~/.local/
cd build
DESTDIR="~/.local/" make install
```
This clones the raylib library from its git repo, builds it in its directory, then creates a local folder and installs the library there.
Once this is complete, go back into the chiventure directory, and run the following:
```
mkdir build
cmake -DCMAKE_FIND_ROOT_PATH="~/.local" -B build/
```
To build the chiventure executable you can now just run
```make```
To actually see the graphics, you’ll need to log into [http://vdesk.cs.uchicago.edu/](http://vdesk.cs.uchicago.edu/) to get an Ubuntu desktop (log in w your cnet and password) — this has the same file system as if you’d ssh’ed, so you can even go as far as building and making chiventure ssh’ed from your terminal and then just running it from vdesk

Cargando…
Cancelar
Guardar