Undefined symbols for ar
1003102502 发布于2018-10 浏览:1213 回复:4
0
收藏

求助,不清楚什么原因导致

 

Undefined symbols for architecture arm64:

  "Json::Value::~Value()", referenced from:

      -[TagViewController actionPictureRecognition] in TagViewController.o

      aip::Imageclassify::advanced_general(std::__1::basic_string, std::__1::allocator > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&) in TagViewController.o

      aip::AipBase::request(std::__1::basic_string, std::__1::allocator >, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, bool) in TagViewController.o

      aip::AipBase::getAccessToken() in TagViewController.o

  "Json::Value::Value(int)", referenced from:

      aip::AipBase::request(std::__1::basic_string, std::__1::allocator >, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, bool) in TagViewController.o

      aip::AipBase::getAccessToken() in TagViewController.o

  "Json::CharReaderBuilder::newCharReader() const", referenced from:

      aip::AipBase::request(std::__1::basic_string, std::__1::allocator >, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, bool) in TagViewController.o

      aip::AipBase::getAccessToken() in TagViewController.o

  "Json::Value::asInt() const", referenced from:

      aip::AipBase::request(std::__1::basic_string, std::__1::allocator >, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, bool) in TagViewController.o

      aip::AipBase::getAccessToken() in TagViewController.o

  "Json::Value::operator[](char const*)", referenced from:

      aip::AipBase::request(std::__1::basic_string, std::__1::allocator >, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, bool) in TagViewController.o

      aip::AipBase::getAccessToken() in TagViewController.o

  "Json::Value::toStyledString() const", referenced from:

      aip::AipBase::getAccessToken() in TagViewController.o

  "Json::Value::Value(Json::Value&&)", referenced from:

      aip::AipBase::request(std::__1::basic_string, std::__1::allocator >, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, bool) in TagViewController.o

  "Json::Value::Value(Json::ValueType)", referenced from:

      -[TagViewController actionPictureRecognition] in TagViewController.o

      aip::AipBase::request(std::__1::basic_string, std::__1::allocator >, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, bool) in TagViewController.o

      aip::AipBase::getAccessToken() in TagViewController.o

  "Json::CharReaderBuilder::~CharReaderBuilder()", referenced from:

      aip::AipBase::~AipBase() in TagViewController.o

  "Json::CharReaderBuilder::CharReaderBuilder()", referenced from:

      aip::AipBase::AipBase(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&) in TagViewController.o

  "Json::Value::asString() const", referenced from:

      aip::AipBase::getAccessToken() in TagViewController.o

  "Json::Value::operator=(Json::Value)", referenced from:

      -[TagViewController actionPictureRecognition] in TagViewController.o

      aip::AipBase::request(std::__1::basic_string, std::__1::allocator >, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, std::__1::map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::basic_string, std::__1::allocator > > > > const&, bool) in TagViewController.o

      aip::AipBase::getAccessToken() in TagViewController.o

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

收藏
点赞
0
个赞
共4条回复 最后由彦丶子凡回复于2018-10
#5彦丶子凡回复于2018-10

你把代码弄图片贴上吧,这样看着好累

0
#4shoranxfyzhy回复于2018-10
#3 1003102502回复
还没到调用接口步骤,目前是项目还没跑起来。

项目用了什么技术,用了AI的哪块功能,总应该是清楚的吧,这样扔一堆异常在这里,很难帮到你。

0
#31003102502回复于2018-10

还没到调用接口步骤,目前是项目还没跑起来。

0
#2用户已被禁言回复于2018-10

发问题能说明是什么语言吗?是API还是SDK?还有具体调用哪个接口。

接口成功失败都是返回JSON格式字符串的内容。

1
TOP
切换版块