{"id":502,"date":"2014-10-28T12:34:58","date_gmt":"2014-10-28T04:34:58","guid":{"rendered":"http:\/\/www.yusian.com\/blog\/?p=502"},"modified":"2016-07-15T13:45:57","modified_gmt":"2016-07-15T05:45:57","slug":"library-not-found-for-lbaidumapapi","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/analysis\/2014\/10\/28\/123458502.html","title":{"rendered":"library not found for -lbaidumapapi"},"content":{"rendered":"<p>ld: library not found for -lbaidumapapi<br \/>\nclang: error: linker command failed with exit code 1 (use -v to see invocation)<br \/>\n(null): Library not found for -lbaidumapapi<br \/>\n(null): Linker command failed with exit code 1 (use -v to see invocation)<br \/>\n\u5f15\u7528\u767e\u5ea6\u5730\u56fe\u7684\u9879\u76ee\u7ecf\u5e38\u4f1a\u51fa\u73b0\u5982\u4e0a\u6240\u793a\u9519\u8bef\u63d0\u793a\uff0c\u6bd4\u8f83\u6709\u53ef\u80fd\u7684\u539f\u56e0\u5c31\u662f\u7f3a\u5c11libbaidumapapi.a\u6587\u4ef6<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-503\" src=\"http:\/\/www.yusian.com\/blog\/wp-content\/uploads\/2016\/07\/QQ20141028-1@2x.png\" alt=\"QQ20141028-1@2x\" width=\"198\" height=\"89\" \/><\/p>\n<p>\u6211\u4eec\u5728\u5f15\u8fdb\u7b2c\u4e09\u65b9SDK\u7684\u65f6\u5019\u80af\u5b9a\u662f\u6709\u8fd9\u4e2a\u6587\u4ef6\u7684\uff0c\u53ef\u9879\u76ee\u4e2d\u4e3a\u4ec0\u4e48\u53c8\u6ca1\u6709\u4e86\u5462\uff0c\u8fd9\u53c8\u975e\u5e38\u6709\u53ef\u80fd\u4e0eSVN\u6709\u5173\u7cfb\uff0c\u591a\u4e2a\u4eba\u53c2\u4e0e\u5f00\u53d1\u7684\u9879\u76ee\u5fc5\u7136\u8981\u7528\u5230svn\u8fdb\u884c\u4ee3\u7801\u540c\u6b65\u4ee5\u53ca\u7248\u672c\u7ba1\u7406\uff0cMAC\u4e0a\u4f7f\u7528\u8f83\u591a\u7684svn\u5de5\u5177\u662fCornerstone\uff0c\u8fd9\u4e2a\u5de5\u5177\u975e\u5e38\u597d\u7528\uff0c\u4f46\u4ed6\u4e0d\u540c\u6b65\u6269\u5c55\u540d\u4e3a.a\u7684\u6587\u4ef6\uff0c\u7f3a\u7701\u60c5\u51b5\u4e0b\u662f\u8fd9\u6837\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u505a\u70b9\u5c0f\u5c0f\u7684\u4fee\u6539\u8ba9\u4ed6\u652f\u6301\u8be5\u7c7b\u578b\u7684\u6587\u4ef6\u540c\u6b65\uff0c\u64cd\u4f5c\u6b65\u9aa4\u53c2\u8003\uff1a<a href=\"http:\/\/www.yusian.com\/blog\/extend\/2014\/08\/12\/140124.html\" target=\"_blank\">CornerStone\u4e0a\u4f20\u9759\u6001\u5e93\uff08.a\u6587\u4ef6\uff09<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ld: library not found for -lbaidumapapi clang: error: linker command failed with exit code 1 (use -v to see invocation) (null): Library not found for -lbaidumapapi (null): Linker command failed with exit code 1 (use -v to see invocation) \u5f15\u7528\u767e\u5ea6\u5730\u56fe\u7684\u9879\u76ee\u7ecf\u5e38\u4f1a\u51fa\u73b0\u5982\u4e0a\u6240\u793a\u9519\u8bef\u63d0\u793a\uff0c\u6bd4\u8f83\u6709\u53ef\u80fd\u7684\u539f\u56e0\u5c31\u662f\u7f3a\u5c11libbaidumapapi.a\u6587\u4ef6 \u6211\u4eec\u5728\u5f15\u8fdb\u7b2c\u4e09\u65b9SDK\u7684\u65f6\u5019\u80af\u5b9a\u662f\u6709\u8fd9\u4e2a\u6587\u4ef6\u7684\uff0c\u53ef\u9879\u76ee\u4e2d\u4e3a\u4ec0\u4e48\u53c8\u6ca1\u6709\u4e86\u5462\uff0c\u8fd9\u53c8\u975e\u5e38\u6709\u53ef\u80fd\u4e0eSVN\u6709\u5173\u7cfb\uff0c\u591a\u4e2a\u4eba\u53c2\u4e0e\u5f00\u53d1\u7684\u9879\u76ee\u5fc5\u7136\u8981\u7528\u5230svn\u8fdb\u884c\u4ee3\u7801\u540c\u6b65\u4ee5\u53ca\u7248\u672c\u7ba1\u7406\uff0cMAC\u4e0a\u4f7f\u7528\u8f83\u591a\u7684svn\u5de5\u5177\u662fCornerstone\uff0c\u8fd9\u4e2a\u5de5\u5177\u975e\u5e38\u597d\u7528\uff0c\u4f46\u4ed6\u4e0d\u540c\u6b65\u6269\u5c55\u540d\u4e3a.a\u7684\u6587\u4ef6\uff0c\u7f3a\u7701\u60c5\u51b5\u4e0b\u662f\u8fd9\u6837\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u505a\u70b9\u5c0f\u5c0f\u7684\u4fee\u6539\u8ba9\u4ed6\u652f\u6301\u8be5\u7c7b\u578b\u7684\u6587\u4ef6\u540c\u6b65\uff0c\u64cd\u4f5c\u6b65\u9aa4\u53c2\u8003\uff1aCornerStone\u4e0a\u4f20\u9759\u6001\u5e93\uff08.a\u6587\u4ef6\uff09<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[13],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-analysis","tag-bdmap"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}