ymap-team / ROOT2021

5 stars 0 forks source link

rootのインストールについて #4

Open iwamototeppei opened 1 year ago

iwamototeppei commented 1 year ago

失礼します。質問なのですが、make -j 8の実行時に ‘numeric_limits’ is not a member of ‘std’ expected primary-expression before ‘>’ token というエラーが出ます。場所はlibcpp_string_view.hの275行目です。 どう対処すればいいか教えていただけませんでしょうか。

yoshimotomasahir commented 1 year ago

対処療法としては https://root-forum.cern.ch/t/compiling-cling-error-numeric-limits-is-not-a-member-of-std/48812 に書いてあるとおり #include <limits> を libcpp_string_view.h に手で加えればいいと思います。

このバグは既に修正済みなので、ダウンロードするROOTのバージョンを上げてもよいです。

なお、ROOT講習会のドキュメントの最終版は、このリポジトリではなく https://github.com/ymap-team/root_lecture/ にあります。

iwamototeppei commented 1 year ago

ありがとうございます

2023年2月27日(月) 14:54 Masahiro Yoshimoto @.***>:

対処療法としては

https://root-forum.cern.ch/t/compiling-cling-error-numeric-limits-is-not-a-member-of-std/48812 に書いてあるとおり

include を libcpp_string_view.h に手で加えればいいと思います。

このバグは既に修正済みなので、ダウンロードするROOTのバージョンを上げてもよいです。

なお、ROOT講習会のドキュメントの最終版は、このリポジトリではなく https://github.com/ymap-team/root_lecture/ にあります。

— Reply to this email directly, view it on GitHub https://github.com/ymap-team/ROOT2021/issues/4#issuecomment-1445748724, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6EV4HRFESE7KVS3SXXUTU3WZQ6SVANCNFSM6AAAAAAVI6SXIQ . You are receiving this because you authored the thread.Message ID: @.***>

iwamototeppei commented 1 year ago

度々失礼いたします。以下のエラーも表示されるのですが、ご教示いただいてもよろしいですか。 CMake Error at /home/iwamoto/root_build/build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-Release.cmake:49 (message): Command failed: 2

'make'

See also

/home/iwamoto/root_build/build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log

make[2]: [CMakeFiles/XROOTD.dir/build.make:86: XROOTD-prefix/src/XROOTD-stamp/XROOTD-build] Error 1 make[1]: [CMakeFiles/Makefile2:6230: CMakeFiles/XROOTD.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....