You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unable to compile the REST-for-Physics framework on a macbook (M1).
There are some errors related to the TRestHits_Iterator class. Looks like these were warnings on previous version of (cmake, gcc, something like that) but now are errors.
I tried fixing some of them but I could not fix all (yet).
❯ g++ --version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
❯ cmake --version
cmake version 3.27.6
CMake suite maintained and supported by Kitware (kitware.com/cmake).
❯ root-config --version
6.29.01
❯ uname -a
Darwin luis-macbook.local 22.6.0 Darwin Kernel Version 22.6.0: Fri Sep 15 13:41:30 PDT 2023; root:xnu-8796.141.3.700.8~1/RELEASE_ARM64_T8103 arm64
Sample error:
In file included from /Users/lobis/git/framework/source/libraries/detector/src/TRestDetectorHitsEvent.cxx:40:
In file included from /Users/lobis/git/framework/source/libraries/detector/inc/TRestDetectorHitsEvent.h:5:
In file included from /Users/lobis/opt/root/include/TAxis.h:24:
In file included from /Users/lobis/opt/root/include/TNamed.h:25:
In file included from /Users/lobis/opt/root/include/TObject.h:17:
In file included from /Users/lobis/opt/root/include/Rtypes.h:193:
In file included from /Users/lobis/opt/root/include/TGenericClassInfo.h:21:
In file included from /Users/lobis/opt/root/include/TSchemaHelper.h:17:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/algorithm:1757:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__algorithm/make_heap.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__algorithm/sift_down.h:44:34: error: no matching function for call to object of type '(lambda at /Users/lobis/git/framework/source/libraries/detector/src/TRestDetectorHitsEvent.cxx:143:19)'
if ((__child + 1) < __len && __comp(*__child_i, *(__child_i + difference_type(1)))) {
The text was updated successfully, but these errors were encountered:
I was unable to compile the REST-for-Physics framework on a macbook (M1).
There are some errors related to the
TRestHits_Iterator
class. Looks like these were warnings on previous version of (cmake, gcc, something like that) but now are errors.I tried fixing some of them but I could not fix all (yet).
Sample error:
The text was updated successfully, but these errors were encountered: