{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/3046","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/3046/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/3046/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/3046/events","html_url":"https://github.com/BVLC/caffe/issues/3046","id":105560294,"number":3046,"title":"Undefined reference to google protobuf","user":{"login":"snavavf","id":14196259,"avatar_url":"https://avatars.githubusercontent.com/u/14196259?v=3","gravatar_id":"","url":"https://api.github.com/users/snavavf","html_url":"https://github.com/snavavf","followers_url":"https://api.github.com/users/snavavf/followers","following_url":"https://api.github.com/users/snavavf/following{/other_user}","gists_url":"https://api.github.com/users/snavavf/gists{/gist_id}","starred_url":"https://api.github.com/users/snavavf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snavavf/subscriptions","organizations_url":"https://api.github.com/users/snavavf/orgs","repos_url":"https://api.github.com/users/snavavf/repos","events_url":"https://api.github.com/users/snavavf/events{/privacy}","received_events_url":"https://api.github.com/users/snavavf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-09-09T09:36:55Z","updated_at":"2016-06-18T14:23:15Z","closed_at":"2015-10-08T07:35:41Z","body":"I got these errors saying there are **undefined reference** to **google protobuf** when `make all` in caffe dir.\r\nI wonder which file (like the Makefile?) I should modify, or where I should set up in my system.\r\n\r\nI've already installed [protobuf](https://github.com/google/protobuf) as the command provided in the link, and installed libprotobuf-dev and protobuf-compiler on my Ubuntu 14.04.\r\n\r\n```\r\nCXX/LD -o .build_release/tools/convert_imageset.bin\r\n.build_release/lib/libcaffe.so: undefined reference to `google::protobuf::io::CodedOutputStream::WriteVarint64ToArray(unsigned long long, unsigned char*)'\r\n.build_release/lib/libcaffe.so: undefined reference to `google::protobuf::internal::WireFormatLite::WriteInt64(int, long long, google::protobuf::io::CodedOutputStream*)'\r\n.build_release/lib/libcaffe.so: undefined reference to `google::protobuf::UnknownFieldSet::AddVarint(int, unsigned long long)'\r\n.build_release/lib/libcaffe.so: undefined reference to `google::protobuf::io::CodedOutputStream::VarintSize64(unsigned long long)'\r\n.build_release/lib/libcaffe.so: undefined reference to `google::protobuf::io::CodedOutputStream::WriteVarint64(unsigned long long)'\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [.build_release/tools/convert_imageset.bin] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/226945069","html_url":"https://github.com/BVLC/caffe/issues/3046#issuecomment-226945069","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/3046","id":226945069,"user":{"login":"Holdlen2DH","id":3234356,"avatar_url":"https://avatars.githubusercontent.com/u/3234356?v=3","gravatar_id":"","url":"https://api.github.com/users/Holdlen2DH","html_url":"https://github.com/Holdlen2DH","followers_url":"https://api.github.com/users/Holdlen2DH/followers","following_url":"https://api.github.com/users/Holdlen2DH/following{/other_user}","gists_url":"https://api.github.com/users/Holdlen2DH/gists{/gist_id}","starred_url":"https://api.github.com/users/Holdlen2DH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Holdlen2DH/subscriptions","organizations_url":"https://api.github.com/users/Holdlen2DH/orgs","repos_url":"https://api.github.com/users/Holdlen2DH/repos","events_url":"https://api.github.com/users/Holdlen2DH/events{/privacy}","received_events_url":"https://api.github.com/users/Holdlen2DH/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T14:23:15Z","updated_at":"2016-06-18T14:23:15Z","body":"I encounter this problem too, but don't how to fix it"}}
{"actor":{"display_login":"Holdlen2DH"}}