{"action":"created","issue":{"url":"https://api.github.com/repos/lotem/rimeime/issues/486","labels_url":"https://api.github.com/repos/lotem/rimeime/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/lotem/rimeime/issues/486/comments","events_url":"https://api.github.com/repos/lotem/rimeime/issues/486/events","html_url":"https://github.com/lotem/rimeime/issues/486","id":59780725,"number":486,"title":"osx 编译不通过 链接失败","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lotem/rimeime/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/lotem/rimeime/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T10:48:16Z","updated_at":"2015-03-04T10:48:16Z","closed_at":"2015-03-04T10:48:16Z","body":"```\n請寫下能夠重現此狀況的操作步驟：\n1. Install dependencies with Homebrew.\n2.Checkout the code.\n3.Build Squirrel.\n\n所得的結果是這個樣：\n\nUndefined symbols for architecture x86_64:\n  \"google::LogMessage::stream()\", referenced from:\n      rime::Projection::Load(boost::shared_ptr<rime::ConfigList>) in algebra.o\n      rime::Projection::Apply(std::string*) in algebra.o\n      rime::Projection::Apply(rime::Script*) in algebra.o\n      rime::TableEncoder::LoadSettings(rime::Config*) in encoder.o\n      rime::TableEncoder::ParseFormula(std::string const&, rime::TableEncodingRule*) in encoder.o\n      rime::TableEncoder::DfsEncode(std::string const&, std::string const&, unsigned long, rime::RawCode*) in encoder.o\n      rime::RegisterComponents() in common.o\n      ...\nld: symbol(s) not found for architecture x86_64\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\n\n尝试搜索了.h。\n结果如下；\n#define GOOGLE_LOG_INFO(counter) google::LogMessage(__FILE__, __LINE__, \ngoogle::GLOG_INFO, counter, &google::LogMessage::SendToLog)\n  &google::LogMessage::SendToSyslogAndLog)\n  &google::LogMessage::SendToLog)\n  &google::LogMessage::SendToSyslogAndLog)\n  &google::LogMessage::SendToLog)\n  &google::LogMessage::SendToSyslogAndLog)\n  &google::LogMessage::SendToLog)\n  &google::LogMessage::SendToSyslogAndLog)\n  &google::LogMessage::SendToLog)\n  &google::LogMessage::SendToSyslogAndLog)\n          &google::LogMessage::SendToLog).stream() \\\n      &google::LogMessage::SendToLog)\n  SOME_KIND_OF_LOG_EVERY_N(severity, (n), google::LogMessage::SendToLog)\n  SOME_KIND_OF_LOG_EVERY_N(severity, (n), google::LogMessage::SendToSyslogAndLog)\n  SOME_KIND_OF_PLOG_EVERY_N(severity, (n), google::LogMessage::SendToLog)\n  SOME_KIND_OF_LOG_FIRST_N(severity, (n), google::LogMessage::SendToLog)\n  SOME_KIND_OF_LOG_IF_EVERY_N(severity, (condition), (n), google::LogMessage::SendToLog)\n\n确实没有google::LogMessage::stream()\n\nglog版本\n$ brew info glog\nglog: stable 0.3.3\n\n預期結果該是那個樣：\n编译通过\n\n請提供以下信息，幫我們定位問題。\n\n1. 輸入法的款式：鼠鬚管\n   輸入法版本號：0.9.20.4\n\n2. 操作系統類型：Mac\n   操作系統版本：10.8.4\n\n3. 輸入方案名稱：\n\n還想再說幾句：\n\n我不是很熟悉c/c++的编译，是不是有别的要注意的地方？\n```\n\nOriginal issue reported on code.google.com by `russ...@gmail.com` on 19 Sep 2013 at 6:36"},"comment":{"url":"https://api.github.com/repos/lotem/rimeime/issues/comments/77136005","html_url":"https://github.com/lotem/rimeime/issues/486#issuecomment-77136005","issue_url":"https://api.github.com/repos/lotem/rimeime/issues/486","id":77136005,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T10:48:16Z","updated_at":"2015-03-04T10:48:16Z","body":"```\n补充说明：\n我是因为 issues 419 \nhttps://code.google.com/p/rimeime/issues/detail?id=419\n才想试试编译的，没想到……\n∑(ﾟДﾟ)\n```\n\nOriginal comment by `russ...@gmail.com` on 26 Sep 2013 at 4:06"}}