I am getting following errors while building a thrid party library. Does any one know how can I solve these ?
talk\p2p\base\p2psocket.cc(384) : error C2065: 'find' : undeclared identifier
talk\p2p\base\p2psocket.cc(384) : error C2679: binary '==' : no operator found which takes a right-hand operand of type 'std::vector<_Ty,_Ax>::iterator' (or there is no acceptable conversion)
with
[
_Ty=cricket::Port *,
_Ax=std::allocator<cricket::Port *>
]
if ((origin_port != NULL) &&
find(ports_.begin(), ports_.end(), origin_port) == ports_.end()) {//Error Here
if (CreateConnection(origin_port, remote_candidate, origin_port, readable))
created = true;
}
if ((origin_port != NULL) &&
find(ports_.begin(), ports_.end(), origin_port) == ports_.end()) {//Error Here
if (CreateConnection(origin_port, remote_candidate, origin_port, readable))
created = true;
}
To copy to clipboard, switch view to plain text mode
Any Idea on what these error are related to ?
I have tried all possible methods to find a solution for this but no result. I hope someone here will help me solve this.
Thanks a lot.
Bookmarks