{"action":"created","issue":{"url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/677","repository_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose","labels_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/677/comments","events_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/677/events","html_url":"https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/677","id":335679211,"node_id":"MDU6SXNzdWUzMzU2NzkyMTE=","number":677,"title":"macOS - protobuf compilation errors","user":{"login":"codyrushing","id":339120,"node_id":"MDQ6VXNlcjMzOTEyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/339120?v=4","gravatar_id":"","url":"https://api.github.com/users/codyrushing","html_url":"https://github.com/codyrushing","followers_url":"https://api.github.com/users/codyrushing/followers","following_url":"https://api.github.com/users/codyrushing/following{/other_user}","gists_url":"https://api.github.com/users/codyrushing/gists{/gist_id}","starred_url":"https://api.github.com/users/codyrushing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyrushing/subscriptions","organizations_url":"https://api.github.com/users/codyrushing/orgs","repos_url":"https://api.github.com/users/codyrushing/repos","events_url":"https://api.github.com/users/codyrushing/events{/privacy}","received_events_url":"https://api.github.com/users/codyrushing/received_events","type":"User","site_admin":false},"labels":[{"id":782296339,"node_id":"MDU6TGFiZWw3ODIyOTYzMzk=","url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/labels/Mac%20OS","name":"Mac OS","color":"f293a8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-06-26T06:42:43Z","updated_at":"2018-12-03T01:40:15Z","closed_at":"2018-06-27T02:33:43Z","author_association":"NONE","body":"### Steps to reproduce\r\n* Clone repo\r\n* `bash 3rdparty/osx/install_deps.sh `\r\n* `mkdir build`\r\n* `cd build`\r\n* `cmake-gui` (configure and generate with the non default settings below)\r\n* `sudo make` inside the `build` directory fails due to protobuf errors.\r\n\r\n### Type of Issue\r\n- Compilation/installation error\r\n\r\n### Your System Configuration\r\n* macOS High Sierra 10.13.4\r\n* MacBook Pro (Retina, 13-inch, Early 2015)\r\n* Processor: 2.7 GHz Intel Core i5\r\n* RAM: 16 GB 1867 MHz DDR3\r\n\r\n### Non-default settings\r\n* `GPU_MODE=CPU_ONLY` and `WITH_EIGEN=BUILD`\r\n\r\nUsing commit [c8e3879](https://github.com/CMU-Perceptual-Computing-Lab/openpose/commit/c8e387926c57ac8ede17933c56f63127518b0333)\r\n\r\n### Description \r\n\r\nCompilation fails on mac with numerous errors in the protobuf lib:\r\n\r\n```\r\nIn file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:43:\r\n/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'\r\n  constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }\r\n  ^\r\n/usr/local/include/google/protobuf/message_lite.h:117:13: error: expected member name or ';' after declaration specifiers\r\n  constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }\r\n  ~~~~~~~~~ ^\r\n/usr/local/include/google/protobuf/message_lite.h:110:11: error: use of undeclared identifier 'union_'\r\n    new (&union_) T();\r\n          ^\r\n/usr/local/include/google/protobuf/message_lite.h:114:5: error: use of undeclared identifier 'get_mutable'\r\n    get_mutable()->~T();\r\n    ^\r\n/usr/local/include/google/protobuf/message_lite.h:131:48: error: found '<::' after a template name which forms the digraph '<:'\r\n      (aka '[') and a ':', did you mean '< ::'?\r\n```\r\n```\r\nIn file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:44:\r\n/usr/local/include/google/protobuf/repeated_field.h:123:39: error: expected ';' at end of declaration list\r\n  RepeatedField(RepeatedField&& other) noexcept;\r\n                                      ^\r\n/usr/local/include/google/protobuf/repeated_field.h:124:50: error: expected ';' at end of declaration list\r\n  RepeatedField& operator=(RepeatedField&& other) noexcept;\r\n                                                 ^\r\n/usr/local/include/google/protobuf/repeated_field.h:778:45: error: expected ';' at end of declaration list\r\n  RepeatedPtrField(RepeatedPtrField&& other) noexcept;\r\n                                            ^\r\n/usr/local/include/google/protobuf/repeated_field.h:779:56: error: expected ';' at end of declaration list\r\n  RepeatedPtrField& operator=(RepeatedPtrField&& other) noexcept;\r\n                                                       ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1090:68: error: expected ';' at end of declaration\r\ninline RepeatedField<Element>::RepeatedField(RepeatedField&& other) noexcept\r\n                                                                   ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1090:69: error: unknown type name 'noexcept'\r\ninline RepeatedField<Element>::RepeatedField(RepeatedField&& other) noexcept\r\n                                                                    ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1091:5: error: expected unqualified-id\r\n    : RepeatedField() {\r\n    ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1103:27: error: expected ';' at end of declaration\r\n    RepeatedField&& other) noexcept {\r\n                          ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1103:28: error: C++ requires a type specifier for all declarations\r\n    RepeatedField&& other) noexcept {\r\n                           ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1103:36: error: expected ';' after top level declarator\r\n    RepeatedField&& other) noexcept {\r\n                                   ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1928:30: error: expected ';' at end of declaration\r\n    RepeatedPtrField&& other) noexcept\r\n                             ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1928:31: error: unknown type name 'noexcept'\r\n    RepeatedPtrField&& other) noexcept\r\n                              ^\r\n/usr/local/include/google/protobuf/repeated_field.h:1929:5: error: expected unqualified-id\r\n    : RepeatedPtrField() {\r\n    ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n```"},"comment":{"url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/comments/443564009","html_url":"https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/677#issuecomment-443564009","issue_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/677","id":443564009,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzU2NDAwOQ==","user":{"login":"soulslicer","id":3193196,"node_id":"MDQ6VXNlcjMxOTMxOTY=","avatar_url":"https://avatars0.githubusercontent.com/u/3193196?v=4","gravatar_id":"","url":"https://api.github.com/users/soulslicer","html_url":"https://github.com/soulslicer","followers_url":"https://api.github.com/users/soulslicer/followers","following_url":"https://api.github.com/users/soulslicer/following{/other_user}","gists_url":"https://api.github.com/users/soulslicer/gists{/gist_id}","starred_url":"https://api.github.com/users/soulslicer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soulslicer/subscriptions","organizations_url":"https://api.github.com/users/soulslicer/orgs","repos_url":"https://api.github.com/users/soulslicer/repos","events_url":"https://api.github.com/users/soulslicer/events{/privacy}","received_events_url":"https://api.github.com/users/soulslicer/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T01:40:15Z","updated_at":"2018-12-03T01:40:15Z","author_association":"COLLABORATOR","body":"@lkwatson \r\n\r\nI just got a New Mac last week. It looks like Protobuf was updated to 3.6.1 on brew 3 months ago, breaking everything in Caffe.\r\n\r\nIt seems that the only way now is to compile and install 3.5.1 from source.\r\n\r\nI will let the Caffe people know about this so they may fix Caffe to be compatible with protobuf 3.6"}}
{"actor":{"display_login":"soulslicer"}}