百度导航编译时出错

Undefined symbols for architecture x86_64:
  "_OpenSSL_add_all_algorithms", referenced from:
      _baidu_vi::BNCVSocketMan::BNCVSocketMan() in libbaiduNaviSDK.a(BNVSocket.o)
  "_SSL_CTX_set_options", referenced from:
      _baidu_vi::BNCVSocketMan::BNCVSocketMan() in libbaiduNaviSDK.a(BNVSocket.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决办法:

  • 可以把libbaiduNaviSDK.a移到“Linked Frameworks and Libraries”的最后一个
百度导航编译时出错_第1张图片
Snip20170723_1.png
百度导航编译时出错_第2张图片
Snip20170723_2.png

你可能感兴趣的:(百度导航编译时出错)