0
Undefined symbols for architecture i386:
  "std::string::c_str() const", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::string::compare(std::string const&) const", referenced from:
      bool std::operator==<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::allocator<char>::allocator()", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::allocator<char>::~allocator()", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::string::append(char const*)", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()", referenced from:
      MTwebdriver::MTatoms::asString(char const* const*) in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      MTwebdriver::MTatoms::asString(char const* const*) in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::string::operator+=(char const*)", referenced from:
      MTwebdriver::MTatoms::asString(char const* const*) in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
4

1 回答 1

0

您必须添加库libstdc++.6.0.9.dylib才能使用MonkeyTalk Agent构建您的应用程序。

于 2015-07-09T12:49:50.017 回答