Hi all. I just started learning Cocos2d-x and I created a project using the script. But when I try to use std::vector/shared_ptr or any other C++11 features I get an error saying “HelloWorldScene.cpp:7:8: No type named ‘vector’ in namespace ‘std’; did you mean ‘hecto’?”. I added libc++.dylib to the project and in the build settings C++ Standart Library is libc++.
How can ı solve this?
Did you add #include <vector>
?
I should have mentioned that, yes I did.