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

Cannot build against pip installed root

オープン
#22,654 コメント 2 件 リアクション 1 件 担当者 2 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@siliataider がすでに取り組んでいます。

2026年6月18日 から。

評価

この issue はまだ評価されていません。

説明

in:Build System new feature
Check duplicate issues.
  • Checked for duplicates
Description

When I tried to build a cmake project against the pip install of root (by setting the CMAKE_PREFIX_PATH to the path in the dist-packages folder), I get errors:

CMake Error at /usr/local/lib/python3.12/dist-packages/ROOT/cmake/ROOTConfig-targets.cmake:930 (message):
  The imported target "ROOT::Core" references the file

     "/usr/local/lib/python3.12/mock_site_packages/ROOT/lib/libCore.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/local/lib/python3.12/dist-packages/ROOT/cmake/ROOTConfig-targets.cmake"

  but not all the files it references.

This issue is just to make sure that pip installations of ROOT will be buildable against!
Thanks
Will

Reproducer
pip install root
export CMAKE_PREFIX_PATH=/usr/local/lib/python3.12/dist-packages/ROOT
...

then do a cmake build

ROOT version

latsest

Installation method

pip install

Operating system

linux

Additional context

No response

主要言語
C++
スター
3.3k
フォーク
1.6k
平均マージ
2日 17時間
マージ済み PR(30日)
188

環境構築

はじめの一歩

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

root-project/root のほかの issue

root-project/root の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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