-
Essential installs for C/C++ & CMake:
sudo apt install build-essential cmake
-
SDL Development Library Install:
sudo apt install libsdl2-dev
-
Assimp Loader & Utils Install: (Model Loader)
sudo apt install assimp-utils libassimp-dev libassimp5
-
Install Bullet Physics from VCPKG (As Apt's latest version of bullet is not bullet3, and 2.7 has some issues lol)
Install VCPKG, then Bullet3
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install bullet3
*OpenGL Distribution comes natively with Kubuntu & Debian-Bookworm, if you don't have it, please install... *
Try: sudo apt install libgl-dev mesa-utils
?
-
Preliminary, for initial build:
mkdir build && cd build
-
Run CMake, then Make for building of executable:
cmake ..
make
-
Run it:
./cppkart
Tip: in main directory (cppkart) you can just run ./DC_full_rebuild.sh
and it auto-deletes and re-C Makes and Makes the project.
Dear ImGUI Example
Dear ImGUI | Getting Started
I followed for SDL2 and OpenGL3+ source code : example_sdl2_opengl3/main.cpp
In the spirit of open source, any Asset I use, I'll link the Downloads, and credit the Artists for their Awesome Work on the Model ! 🏁🔥
1997 Dale Aristocrat (PS1-Style Model) BY Aike
Icescape 1 Alien Moon Skybox BY Luis Vidal