美文网首页
百度导航编译时出错

百度导航编译时出错

作者: CoderZXS | 来源:发表于2017-07-23 11:40 被阅读0次
    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”的最后一个
    Snip20170723_1.png Snip20170723_2.png

    相关文章

      网友评论

          本文标题:百度导航编译时出错

          本文链接:https://www.haomeiwen.com/subject/qrzpkxtx.html