Skip to content

KenthJohan/eg

Repository files navigation

sudo apt install build-essential
sudo apt install git
sudo snap install --classic code
sudo snap install cmake --classic

Install bake

cd ~/Downloads
git clone https://github.com/SanderMertens/bake
bake/setup.sh

Build flecs

git clone https://github.com/SanderMertens/flecs
bake flecs

Build eg

cd ~/Documents
git clone https://github.com/KenthJohan/eg

Build vendor/*

bake vendor
fatal error: GL/gl.h: No such file or directory

sudo apt install libgl1-mesa-dev
fatal error: X11/extensions/XInput2.h: No such file or directory

sudo apt install libxi-dev
fatal error: X11/Xcursor/Xcursor.h: No such file or directory

sudo apt install libxcursor-dev
fatal error: GL/glew.h: No such file or directory

sudo apt-get install libglew-dev

Build libwebsockets

sudo apt-get install libssl-dev
cd ~/Downloads
git clone https://github.com/warmcat/libwebsockets
cd libwebsockets/
mkdir build
cd build
cmake ..
make
sudo make install

Build SDL2

git clone https://github.com/libsdl-org/SDL.git -b SDL2
cd SDL
mkdir build
cd build
../configure
make
sudo make install

clang format

int formatted_code;
// clang-format off
    void    unformatted_code  ;
// clang-format on
void formatted_code_again;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published