help,mp_generator project not release! error "::iterator"

Added by xingbarking over 4 years ago

set<CSString, CUnsensitiveSStringLessPred>::iterator it = itemNames.begin(); --here error

while ( it != itemNames.end() )

e:\sourcedev\ryzom code\ryzom\code\ryzom\tools\leveldesign\mp_generator\main.cpp(1313): error C2440: "Initialization": Can not“std::_Tree_const_iterator<_Mytree>”Convert“std::_Tree_const_iterator<_Mytree>”

2> with
2> [
2> _Mytree=std::_Tree_val<std::_Tset_traits<NLMISC::CSString,ItemSort,std::allocator<NLMISC::CSString>,false>>
2> ]
2> and
2> [
2> _Mytree=std::_Tree_val<std::_Tset_traits<NLMISC::CSString,CUnsensitiveSStringLessPred,std::allocator<NLMISC::CSString>,false>>
2> ]
2> Constructor can accept no source type, or constructor overload is not clear
2>e:\sourcedev\ryzom code\ryzom\code\ryzom\tools\leveldesign\mp_generator\main.cpp(1315): error C2678: Binary“!=”: Did not find acceptance“std::_Tree_const_iterator<_Mytree>”The left operand type of operator (or no acceptable conversion)
2> with
2> [

i use vs2010,help me!


Replies (4)

RE: help,mp_generator project not release! error "::iterator" - Added by xingbarking over 4 years ago

why vs2010 error,how to repair this stl,help!

RE: help,mp_generator project not release! error "::iterator" - Added by xingbarking over 4 years ago

THX kervala reply,VS2010 supports standard C + +, in order to familiarize learning VS2010, so I did not use cmake

RE: help,mp_generator project not release! error "::iterator" - Added by kervala over 4 years ago

Yes and ?

CMake is not a compiler, that's a project generation tool, so it can create projects for VC++ 2010.

If you don't want to follow tutorials, I don't see why we should help you...

(1-4/4)