Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add guide for installing/including Boost Histogram standalone (possibly with CMake)

オープン
#288 コメント 5 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cmake, cpp

調査の方向性

指定された boost/histogram.hpp と、その依存関係として記載されている boost/nvp を出発点として使用し、その後、リポジトリに既存のドキュメントと CMake の設定を調査してください。最小限のスタンドアロンインストールと、既存の CMake プロジェクトに組み込む例をドキュメント化してください。新しく参加する人が Boost の完全なインストールなしでガイドに従えるようになれば完了です。

索引モデルが issue の本文から書いたものです。

説明

documentation help wanted

I am interested in replacing a C++ histogram implementation in an existing project with boost/histogram. This project does not depend on boost, nor does it necessarily intend to be run on machines that have any part of boost installed. For sake of simplicity, I would not like to add boost as an explicit dependency to this project.

Given that boost/histogram is "header-only", what is the minimal installation procedure for allowing me to simply drop,

#include <boost/histogram.hpp>

at the top of a file and have everything work smoothly. I see that boost/histogram has internal dependencies on, e.g. boost/nvp, so just adding the include path to grab boost/histogram.hpp once checking out this repository is not sufficient.

Is there a minimal working example of dropping in boost/histogram as a dependency to an already-existing cmake-based project? The docs are not clear on the installation (apart from assuming the normal perhaps-not-trivial boost installation procedures, I suppose) and I can really only find clear installation guidelines for the python bindings via pip.

Thanks!

主要言語
C++
スター
334
フォーク
76
平均マージ
18時間 2分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

boostorg/histogram のほかの issue

boostorg/histogram の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。