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

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 can also build using CMake with presets:

Linux

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

macOS

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

Windows (MSVC)

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

Windows (MinGW)

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