- 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./CPhysicsEngine# 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./CPhysicsEngine- 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
# 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-makeCPhysicsEngine.exe- Open CLion 2025.2.3
- Select File → Open and choose the
CPhysicsEnginedirectory - 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 pressShift+F10