{"action":"opened","issue":{"url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/942","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/942/labels{/name}","comments_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/942/comments","events_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/942/events","html_url":"https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/942","id":386035684,"node_id":"MDU6SXNzdWUzODYwMzU2ODQ=","number":942,"title":"compile error. ‘caffe::Blob’ is not a template type","user":{"login":"GerrieWell","id":6158401,"node_id":"MDQ6VXNlcjYxNTg0MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/6158401?v=4","gravatar_id":"","url":"https://api.github.com/users/GerrieWell","html_url":"https://github.com/GerrieWell","followers_url":"https://api.github.com/users/GerrieWell/followers","following_url":"https://api.github.com/users/GerrieWell/following{/other_user}","gists_url":"https://api.github.com/users/GerrieWell/gists{/gist_id}","starred_url":"https://api.github.com/users/GerrieWell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerrieWell/subscriptions","organizations_url":"https://api.github.com/users/GerrieWell/orgs","repos_url":"https://api.github.com/users/GerrieWell/repos","events_url":"https://api.github.com/users/GerrieWell/events{/privacy}","received_events_url":"https://api.github.com/users/GerrieWell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T04:42:42Z","updated_at":"2018-11-30T04:42:42Z","closed_at":null,"author_association":"NONE","body":"### Issue Summary\r\nI use custom caffe to compile and get this error:.\r\n\r\n### Executed Command (if any)\r\n```shell\r\ncmake .. -DPROTOBUF_INCLUDE_DIR=/cm/shared/apps/protobuf/3.2.1/include -DPROTOBUF_LIBRARY=/cm/shared/apps/protobuf/3.2.1/lib\r\nVERBOSE=1 make\r\n```\r\n\r\n### Errors (if any)\r\n```\r\n/home/user012/jwei/openpose/include/openpose/core/macros.hpp:81:33: error: ‘caffe::Blob’ is not a template type\r\n     template <typename T> class Blob;\r\n                                 ^\r\nIn file included from /home/user012/jwei/openpose/src/openpose/face/faceExtractorCaffe.cpp:7:0:\r\n/home/user012/jwei/openpose/include/openpose/net/maximumCaffe.hpp:19:58: error: ‘caffe::Blob’ is not a template\r\n         virtual void LayerSetUp(const std::vector<caffe::Blob<T>*>& bottom, const std::vector<caffe::Blob<T>*>& top);\r\n                                                          ^\r\n/home/user012/jwei/openpose/include/openpose/net/maximumCaffe.hpp:19:102: error: ‘caffe::Blob’ is not a template\r\n         virtual void LayerSetUp(const std::vector<caffe::Blob<T>*>& bottom, const std::vector<caffe::Blob<T>*>& top);\r\n```\r\nthe VERBOSE make output : \r\n```\r\ncd /home/user012/jwei/openpose/build_cli/src/openpose && /usr/bin/c++   -DUSE_CAFFE -DUSE_CUDA -Dopenpose_EXPORTS -O3 -fPIC -I/usr/include/opencv -I/home/user012/jwei/openpose/include -I/cm/shared/apps/caffe/0.17/include -I/home/user012/jwei/openpose/PUBLIC -I/cm/shared/apps/cuda80/toolkit/8.0.61/include -I/cm/shared/apps/cudnn/7.0/include    -std=c++11   -fopenmp -Wpedantic -Wall -Wextra  -o CMakeFiles/openpose.dir/face/faceExtractorCaffe.cpp.o -c /home/user012/jwei/openpose/src/openpose/face/faceExtractorCaffe.cpp\r\n```\r\n\r\n\r\n### Type of Issue\r\nYou might select multiple topics, delete the rest:\r\n- Compilation/installation error\r\n\r\n\r\n\r\n### Your System Configuration\r\n1. **Whole console output** (if errors appeared), paste the error to [PasteBin](https://pastebin.com/) and then paste the link here: LINK\r\n\r\n2. **OpenPose version**: Latest GitHub code.\r\n\r\n3. **General configuration**:\r\n    - **Installation mode**: CMake(centos);\r\n    - **Operating system** (`lsb_release -a` in Ubuntu):CentOS Linux release 7.4.1708\r\n    - **Release or Debug mode**? (by default: release):\r\n    - Compiler: gcc 5.5 \r\n\r\n\r\n5. **3rd-party software**:\r\n    - **Caffe version**: custom version 0.17\r\n    - **CMake version** (`cmake --version` in Ubuntu):2.8\r\n    - **OpenCV version**: pre-compiled `apt-get install libopencv-dev` (only Ubuntu); OpenPose default (only Windows); compiled from source? If so, 2.4.9, 2.4.12, 3.1, 3.2?; ...?\r\n\r\n6. If **GPU mode** issue:\r\n    - **CUDA version** (`cat /usr/local/cuda/version.txt` in most cases): 8.0\r\n    - **cuDNN version**: 7.0\r\n    - **GPU model** (`nvidia-smi` in Ubuntu): \r\n"}}
{"actor":{"display_login":"GerrieWell"}}