/usr/local/include/flann/util/random.h:120:14: error: no member named 'random_shuffle' in namespace 'std'
std::random_shuffle(vals_.begin(), vals_.end(), generator);
~~~~~^
In file included from /usr/ports/misc/dartsim/work/dart-6.9.3/dart/planning/RRT.cpp:49:
In file included from /usr/local/include/flann/flann.hpp:45:
In file included from /usr/local/include/flann/algorithms/all_indices.h:36:
/usr/local/include/flann/algorithms/kdtree_index.h:268:18: error: no member named 'random_shuffle' in namespace 'std'
std::random_shuffle(ind.begin(), ind.end());
~~~~~^
In file included from /usr/ports/misc/dartsim/work/dart-6.9.3/dart/planning/RRT.cpp:49:
In file included from /usr/local/include/flann/flann.hpp:45:
In file included from /usr/local/include/flann/algorithms/all_indices.h:42:
In file included from /usr/local/include/flann/algorithms/lsh_index.h:49:
/usr/local/include/flann/util/lsh_table.h:366:10: error: no member named 'random_shuffle' in namespace 'std'
std::random_shuffle(indices.begin(), indices.end());
~~~~~^
Missing
#include <algotithm>
in these headers: