|
|
@ -1,24 +0,0 @@ |
|
|
|
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 |
|
|
|
|
|
|
|
|