Build and Run Instructions
IDE : CLion 2025.2.3 (or compatible version)
Compiler :
Linux: GCC 9.0+ or Clang 10.0+
macOS: Xcode Command Line Tools (Clang)
Windows: MinGW-w64 or MSVC 2019+
CMake : Version 3.15 or higher
SFML : Version 2.5+ (for graphics)
# Clone the repository
git clone https://github.com/Penguin5681/CPhysicsEngine.git
cd CPhysicsEngine
# Install dependencies (Ubuntu/Debian)
sudo apt-get install libsfml-dev cmake build-essential
# Create build directory
mkdir build && cd build
# Generate build files and compile
cmake ..
make
# Install dependencies via Homebrew
brew install sfml cmake
# Clone and navigate to repository
git clone https://github.com/Penguin5681/CPhysicsEngine.git
cd CPhysicsEngine
# Create build directory
mkdir build && cd build
# Generate build files and compile
cmake ..
make
Install MinGW-w64 or MSVC
Install SFML (download from sfml-dev.org )
Open CLion and select File → Open → Select the project folder
CLion will automatically detect CMakeLists.txt
Configure CMake with SFML path if needed
Click Build → Build Project or press Ctrl+F9
Build (Command Line with MinGW)
# Clone repository
git clone https://github.com/Penguin5681/CPhysicsEngine.git
cd CPhysicsEngine
# Create build directory
mkdir build
cd build
# Generate and build
cmake -G " MinGW Makefiles" ..
mingw32-make
IDE Setup (CLion 2025.2.3)
Open CLion 2025.2.3
Select File → Open and choose the CPhysicsEngine directory
CLion will automatically load the CMake project
Configure toolchain: File → Settings → Build, Execution, Deployment → Toolchains
Build configuration: Build → Build Project
Run configuration: Click the ▶️ button or press Shift+F10