Qt Creator: Undefined symbols for architecture x86_64
问题 I have a program in Qt creator that compiles and runs fine in a Windows machine. But as soon as I tried to compile it in a Mac OS X (10.9) I received these messages: Undefined symbols for architecture x86_64: "std::__1::__basic_string_common<true>::__throw_length_error() const", referenced from: std::__1::enable_if<__is_forward_iterator<char*>::value, void>::type std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init<char*>(char*, char*) in