Skip to content

Installation

Prerequisites

  • Ruby 3.0 or higher
  • A C++17 compatible compiler
  • Rice gem (automatically installed as a dependency)

Install from RubyGems

gem install bitmap-plus-plus -- --preset [linux-release|macos-release|mingw-release|msvc-release]

Install from Source

git clone https://github.com/cfis/bitmap_plus_plus-ruby.git
cd bitmap-plus-plus-ruby
bundle install
rake compile
rake install

Build with CMake

For development, you will need a C++ compiler installed as well as CMake. Then build BitmapPlusPlus using the appropriate CMake preset for your operating system:

Linux

cmake --preset linux-release
cmake --build --preset linux-release

macOS

cmake --preset macos-release
cmake --build --preset macos-release

Windows (MinGW)

cmake --preset mingw-release
cmake --build --preset mingw-release

Windows (MSVC)

cmake --preset msvc-release
cmake --build --preset msvc-release