Help with writing a property list file from value vector

Hello there.
I have been quite satisfied with cocos2dx.
I have a problem though, I keep getting errors when I am trying to use FileUtils to write a file with a value vector
string path = FileUtils::getInstance()->getWritablePath();
cocos2d::Vectorcocos2d::Node* mapVec = map->getChildren();
log("%s", path.c_str());
FileUtils::getInstance()->writeValueVectorToFile(mapVec, path);

It keeps informing me that no instance of overloaded function matches the argument list

Could anybody provide some help? I am new to storing info in a vector, and I do not know if I am even getting the vector data correctly. Thanks in advance!!!

std::vector I feel is better.

It says namespace std has no member vector.

Include it.

http://www.cplusplus.com/reference/vector/vector/

Oh I am sorry. It was, but I had to spell it with a lowercase v. But this still does not work: it gives me these errors


Show more code please. It looks like map has an issue. How was it made?