{"action":"opened","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/3139","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/3139/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/3139/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/3139/events","html_url":"https://github.com/BVLC/caffe/issues/3139","id":109621057,"number":3139,"title":"compile the caffe get this error logs","user":{"login":"sixiong","id":8112710,"avatar_url":"https://avatars.githubusercontent.com/u/8112710?v=3","gravatar_id":"","url":"https://api.github.com/users/sixiong","html_url":"https://github.com/sixiong","followers_url":"https://api.github.com/users/sixiong/followers","following_url":"https://api.github.com/users/sixiong/following{/other_user}","gists_url":"https://api.github.com/users/sixiong/gists{/gist_id}","starred_url":"https://api.github.com/users/sixiong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sixiong/subscriptions","organizations_url":"https://api.github.com/users/sixiong/orgs","repos_url":"https://api.github.com/users/sixiong/repos","events_url":"https://api.github.com/users/sixiong/events{/privacy}","received_events_url":"https://api.github.com/users/sixiong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-03T12:30:36Z","updated_at":"2015-10-03T12:30:36Z","closed_at":null,"body":"PROTOC src/caffe/proto/caffe.proto\r\nCXX src/caffe/data_transformer.cpp\r\nCXX src/caffe/layer_factory.cpp\r\nCXX src/caffe/syncedmem.cpp\r\nCXX src/caffe/blob.cpp\r\nCXX src/caffe/common.cpp\r\nCXX src/caffe/layers/cudnn_relu_layer.cpp\r\nCXX src/caffe/layers/conv_layer.cpp\r\nCXX src/caffe/layers/image_data_layer.cpp\r\nIn file included from ./include/caffe/util/device_alternate.hpp:40:0,\r\n                 from ./include/caffe/common.hpp:18,\r\n                 from src/caffe/syncedmem.cpp:3:\r\n./include/caffe/util/cudnn.hpp:60:32: error: variable or field ‘createTensor4dDesc’ declared void\r\n inline void createTensor4dDesc(cudnnTensor4dDescriptor_t* desc) {\r\n                                ^\r\n./include/caffe/util/cudnn.hpp:60:32: error: ‘cudnnTensor4dDescriptor_t’ was not declared in this scope\r\n./include/caffe/util/cudnn.hpp:60:59: error: ‘desc’ was not declared in this scope\r\n inline void createTensor4dDesc(cudnnTensor4dDescriptor_t* desc) {\r\n                                                           ^\r\n./include/caffe/util/cudnn.hpp:65:29: error: variable or field ‘setTensor4dDesc’ declared void\r\n inline void setTensor4dDesc(cudnnTensor4dDescriptor_t* desc,\r\n                             ^\r\n./include/caffe/util/cudnn.hpp:65:29: error: ‘cudnnTensor4dDescriptor_t’ was not declared in this scope\r\n./include/caffe/util/cudnn.hpp:65:56: error: ‘desc’ was not declared in this scope\r\n inline void setTensor4dDesc(cudnnTensor4dDescriptor_t* desc,\r\n                                                        ^\r\n./include/caffe/util/cudnn.hpp:66:5: error: expected primary-expression before ‘int’\r\n     int n, int c, int h, int w,\r\n     ^\r\n./include/caffe/util/cudnn.hpp:66:12: error: expected primary-expression before ‘int’\r\n     int n, int c, int h, int w,\r\n            ^\r\n./include/caffe/util/cudnn.hpp:66:19: error: expected primary-expression before ‘int’\r\n     int n, int c, int h, int w,\r\n                   ^\r\n./include/caffe/util/cudnn.hpp:66:26: error: expected primary-expression before ‘int’\r\n     int n, int c, int h, int w,\r\n                          ^\r\n./include/caffe/util/cudnn.hpp:67:5: error: expected primary-expression before ‘int’\r\n     int stride_n, int stride_c, int stride_h, int stride_w) {\r\n     ^\r\n./include/caffe/util/cudnn.hpp:67:19: error: expected primary-expression before ‘int’\r\n     int stride_n, int stride_c, int stride_h, int stride_w) {\r\n                   ^\r\n./include/caffe/util/cudnn.hpp:67:33: error: expected primary-expression before ‘int’\r\n     int stride_n, int stride_c, int stride_h, int stride_w) {\r\n                                 ^\r\n./include/caffe/util/cudnn.hpp:67:47: error: expected primary-expression before ‘int’\r\n     int stride_n, int stride_c, int stride_h, int stride_w) {\r\n                                               ^\r\n./include/caffe/util/cudnn.hpp:73:29: error: variable or field ‘setTensor4dDesc’ declared void\r\n inline void setTensor4dDesc(cudnnTensor4dDescriptor_t* desc,\r\n                             ^\r\n./include/caffe/util/cudnn.hpp:73:29: error: ‘cudnnTensor4dDescriptor_t’ was not declared in this scope\r\n./include/caffe/util/cudnn.hpp:73:56: error: ‘desc’ was not declared in this scope\r\n inline void setTensor4dDesc(cudnnTensor4dDescriptor_t* desc,\r\n                                                        ^\r\n./include/caffe/util/cudnn.hpp:74:5: error: expected primary-expression before ‘int’\r\n     int n, int c, int h, int w) {\r\n     ^\r\n./include/caffe/util/cudnn.hpp:74:12: error: expected primary-expression before ‘int’\r\n     int n, int c, int h, int w) {\r\n            ^\r\n./include/caffe/util/cudnn.hpp:74:19: error: expected primary-expression before ‘int’\r\n     int n, int c, int h, int w) {\r\n                   ^\r\n./include/caffe/util/cudnn.hpp:74:26: error: expected primary-expression before ‘int’\r\n     int n, int c, int h, int w) {\r\n                          ^\r\n./include/caffe/util/cudnn.hpp:98:5: error: ‘cudnnTensor4dDescriptor_t’ has not been declared\r\n     cudnnTensor4dDescriptor_t bottom, cudnnFilterDescriptor_t filter,\r\n     ^\r\n./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, int, cudnnFilterDescriptor_t, int, int, int, int)’:\r\n./include/caffe/util/cudnn.hpp:101:70: error: there are no arguments to ‘cudnnSetConvolutionDescriptor’ that depend on a template parameter, so a declaration of ‘cudnnSetConvolutionDescriptor’ must be available [-fpermissive]\r\n       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));\r\n                                                                      ^\r\n./include/caffe/util/cudnn.hpp:12:28: note: in definition of macro ‘CUDNN_CHECK’\r\n     cudnnStatus_t status = condition; \\\r\n                            ^\r\n./include/caffe/util/cudnn.hpp:101:70: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)\r\n       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));\r\n                                                                      ^\r\n./include/caffe/util/cudnn.hpp:12:28: note: in definition of macro ‘CUDNN_CHECK’\r\n     cudnnStatus_t status = condition; \\"}}