std::string name = targetBone->getName();
if(name == "Pelvis")
{
return;
}
我得到:
Error 1 error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion)
如何解決這個問題?
感謝
需要更多信息。在這個例子中一切正常。見http://ideone.com/nHdt2 – 2011-06-03 00:22:38
你是否在Windows環境中使用它? – liaK 2011-06-03 05:23:45