Also, right now x11 is used to view the screen inside the container. This needs to be updated to work for Windows and Mac as well. Also, xhost +local:docker is used to allow docker to use the screen. This needs to be adapted for multi-platform purposes as well
6 lines
242 B
Bash
Executable File
6 lines
242 B
Bash
Executable File
#!/bin/bash
|
|
clear
|
|
g++ src/main.cpp -o dist/jelly_rescue -L$LD_LIBRARY_PATH -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
|
|
# g++ src/main.cpp -o dist/jelly_rescue -L$LD_LIBRARY_PATH -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
|
|
./dist/jelly_rescue
|