{"action":"closed","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/5685","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/5685/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/5685/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/5685/events","html_url":"https://github.com/BVLC/caffe/issues/5685","id":235413126,"number":5685,"title":"Makefile:583: recipe for target '.build_release/src/caffe/syncedmem.o' failed ","user":{"login":"niez01","id":19364402,"avatar_url":"https://avatars1.githubusercontent.com/u/19364402?v=3","gravatar_id":"","url":"https://api.github.com/users/niez01","html_url":"https://github.com/niez01","followers_url":"https://api.github.com/users/niez01/followers","following_url":"https://api.github.com/users/niez01/following{/other_user}","gists_url":"https://api.github.com/users/niez01/gists{/gist_id}","starred_url":"https://api.github.com/users/niez01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niez01/subscriptions","organizations_url":"https://api.github.com/users/niez01/orgs","repos_url":"https://api.github.com/users/niez01/repos","events_url":"https://api.github.com/users/niez01/events{/privacy}","received_events_url":"https://api.github.com/users/niez01/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-13T01:48:57Z","updated_at":"2017-06-14T00:45:27Z","closed_at":"2017-06-14T00:45:27Z","body":"I find when I follow the instructions and make all, it occurs such erros:\r\n\r\nvmr@lambda-devbox:~/caffe-master$ make all\r\nCXX src/caffe/syncedmem.cpp\r\nsrc/caffe/syncedmem.cpp:6:1: error: redefinition of ‘caffe::SyncedMemory::SyncedMemory()’\r\nSyncedMemory::SyncedMemory()\r\n^\r\nIn file included from src/caffe/syncedmem.cpp:2:0:\r\n./include/caffe/syncedmem.hpp:47:3: note: ‘caffe::SyncedMemory::SyncedMemory()’ previously defined here\r\nSyncedMemory()\r\n^\r\nsrc/caffe/syncedmem.cpp:16:1: error: redefinition of ‘caffe::SyncedMemory::SyncedMemory(size_t)’\r\nSyncedMemory::SyncedMemory(size_t size)\r\n^\r\nIn file included from src/caffe/syncedmem.cpp:2:0:\r\n./include/caffe/syncedmem.hpp:51:12: note: ‘caffe::SyncedMemory::SyncedMemory(size_t)’ previously defined here\r\nexplicit SyncedMemory(size_t size)\r\n^\r\nsrc/caffe/syncedmem.cpp: In destructor ‘caffe::SyncedMemory::~SyncedMemory()’:\r\nsrc/caffe/syncedmem.cpp:27:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘void caffe::SyncedMemory::to_cpu()’:\r\nsrc/caffe/syncedmem.cpp:40:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘void caffe::SyncedMemory::to_gpu()’:\r\nsrc/caffe/syncedmem.cpp:67:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘const void* caffe::SyncedMemory::cpu_data()’:\r\nsrc/caffe/syncedmem.cpp:94:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘void caffe::SyncedMemory::set_cpu_data(void*)’:\r\nsrc/caffe/syncedmem.cpp:100:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘const void* caffe::SyncedMemory::gpu_data()’:\r\nsrc/caffe/syncedmem.cpp:111:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘void caffe::SyncedMemory::set_gpu_data(void*)’:\r\nsrc/caffe/syncedmem.cpp:122:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘void* caffe::SyncedMemory::mutable_cpu_data()’:\r\nsrc/caffe/syncedmem.cpp:137:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘void* caffe::SyncedMemory::mutable_gpu_data()’:\r\nsrc/caffe/syncedmem.cpp:144:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: In member function ‘void caffe::SyncedMemory::async_gpu_push(CUstream_st* const&)’:\r\nsrc/caffe/syncedmem.cpp:157:16: error: ‘check_device’ was not declared in this scope\r\ncheck_device();\r\n^\r\nsrc/caffe/syncedmem.cpp: At global scope:\r\nsrc/caffe/syncedmem.cpp:170:33: error: no ‘void caffe::SyncedMemory::check_device()’ member function declared in class ‘caffe::SyncedMemory’\r\nvoid SyncedMemory::check_device() {\r\n^\r\nMakefile:583: recipe for target '.build_release/src/caffe/syncedmem.o' failed\r\nmake: *** [.build_release/src/caffe/syncedmem.o] Error 1\r\n\r\nMy operating system is ubuntu 16.04\r\n\r\nAny help will be appreciated! Thanks in advance"}}
{"actor":{"display_login":"niez01"}}