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
/home/ldeng/related_works/RisGraph/deps/abseil-cpp/absl/synchronization/internal/graphcycles.cc: I
n member function ‘void absl::lts_2020_02_25::synchronization_internal::GraphCycles::RemoveNode(vo
id*)’:
/home/ldeng/related_works/RisGraph/deps/abseil-cpp/absl/synchronization/internal/graphcycles.cc:45
1:26: error: ‘numeric_limits’ is not a member of ‘std’
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^~~~~~~~~~~~~~
/home/ldeng/related_works/RisGraph/deps/abseil-cpp/absl/synchronization/internal/graphcycles.cc:45
1:49: error: expected primary-expression before ‘>’ token
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^
/home/ldeng/related_works/RisGraph/deps/abseil-cpp/absl/synchronization/internal/graphcycles.cc:45
1:52: error: ‘::max’ has not been declared; did you mean ‘std::max’?
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^~~
| std::max
In file included from /usr/include/c++/11/algorithm:62,
from /home/ldeng/related_works/RisGraph/deps/abseil-cpp/absl/synchronization/inte
rnal/graphcycles.cc:38:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
make[2]: *** [deps/abseil-cpp/absl/synchronization/CMakeFiles/absl_graphcycles_internal.dir/build.
make:76: deps/abseil-cpp/absl/synchronization/CMakeFiles/absl_graphcycles_internal.dir/internal/gr
aphcycles.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3633: deps/abseil-cpp/absl/synchronization/CMakeFiles/absl_grap
hcycles_internal.dir/all] Error 2
It seems to be a bug in old version abseil. I manully clone new LTS version of abseil-cpp and compile successfully. Maybe the abseil version that the repository depends on should be updated.
In addition, RisGraph also depends on libaio and boost::fiber (which in also depends on atomic, context, and filesystem in boost), maybe it should also be mentioned in the Readme.
The text was updated successfully, but these errors were encountered:
I build RisGraph with gcc-11.4.0, and got error:
It seems to be a bug in old version abseil. I manully clone new LTS version of abseil-cpp and compile successfully. Maybe the abseil version that the repository depends on should be updated.
In addition, RisGraph also depends on libaio and boost::fiber (which in also depends on atomic, context, and filesystem in boost), maybe it should also be mentioned in the Readme.
The text was updated successfully, but these errors were encountered: