Std::transform don't compiles

If you can’t compile cocos2d-x because this files don’t compiles in std::transform line 54
extensions/CocoStudio/Reader/WidgetReader/LabelReader/LabelReader.cpp
you can fix it adding
"#include " on head of that file
I got this issue in linux, gcc 4.7.1

Have the same issue at cocos2d-x-2.2.5. Is it cocos2d-x bug, or an environment issue?

To be clear, you should add:

#include <algorithm>

What version of Cocos2d-x are you using 2.x or 3.x.

3
anyway gcc4.8 seems works fine, could u to confirm this in linux, android toolchain gcc 4.8 is fine

unless you are using ndk-r10, then I think you need gcc 4.9