A client and server implementation using ENet.
Install CMake:
sudo aptitude install cmake
Install Dependencies:
sudo aptitude install clang-format
sudo aptitude install libglm-dev
sudo aptitude install libsdl2-dev
sudo aptitude install libenet-dev
sudo aptitude install libepoxy-dev
Install CMake:
brew install cmake
Install Dependencies:
brew install clang-format
brew install glm
brew install sdl2
brew install enet
brew install libepoxy
Clone the repo:
git clone git@github.com:kbirk/enet-example.git
Build the Makefile:
cd enet-example
mkdir build
cd build
cmake ../
Build the executables:
make
Run the server executable:
./server
Run a client executable:
./client