I’ve been successfully using ofRandomize() to shuffle a vector in v0.11.2. I switched to of_v20230713 and started to get the error “Use of undeclared identifier ‘random_shuffle’”.
I did some digging and found that ‘image_shuffle’ was replaced by ‘shuffle’ after C++17. I’m not sure if this is relevant since it still works in 0.11.2.
https://en.cppreference.com/w/cpp/algorithm/random_shuffle
This can be tested with the following snippet:
vector<int> randomNums;
ofRandomize(randomNums);
macOS 13.13.1
MacBook Pro 2019
and
macOS 13.13.1
Mac mini.
Apple M1