{"action":"created","issue":{"url":"https://api.github.com/repos/D-X-Y/caffe-faster-rcnn/issues/24","repository_url":"https://api.github.com/repos/D-X-Y/caffe-faster-rcnn","labels_url":"https://api.github.com/repos/D-X-Y/caffe-faster-rcnn/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/D-X-Y/caffe-faster-rcnn/issues/24/comments","events_url":"https://api.github.com/repos/D-X-Y/caffe-faster-rcnn/issues/24/events","html_url":"https://github.com/D-X-Y/caffe-faster-rcnn/issues/24","id":236407514,"number":24,"title":"Cub library","user":{"login":"RomainDWipsea","id":9799984,"avatar_url":"https://avatars2.githubusercontent.com/u/9799984?v=3","gravatar_id":"","url":"https://api.github.com/users/RomainDWipsea","html_url":"https://github.com/RomainDWipsea","followers_url":"https://api.github.com/users/RomainDWipsea/followers","following_url":"https://api.github.com/users/RomainDWipsea/following{/other_user}","gists_url":"https://api.github.com/users/RomainDWipsea/gists{/gist_id}","starred_url":"https://api.github.com/users/RomainDWipsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomainDWipsea/subscriptions","organizations_url":"https://api.github.com/users/RomainDWipsea/orgs","repos_url":"https://api.github.com/users/RomainDWipsea/repos","events_url":"https://api.github.com/users/RomainDWipsea/events{/privacy}","received_events_url":"https://api.github.com/users/RomainDWipsea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-16T07:54:27Z","updated_at":"2017-06-21T10:19:17Z","closed_at":"2017-06-21T10:19:17Z","body":"Hi, \r\nI can see that frcnn_proposal_layer.cu uses #include <cub/cub.cuh>. \r\nHowever I see no other mention of this library. \r\n\r\nShouldn't we have some FindCUB.cmake in cmake/Modules/ ? \r\n\r\nI'm asking this because I'm trying to get this project to work on windows and I need the cmake environement since i'm using the official windows branch as an example.\r\n\r\nI did add a FindCUB.cmake (https://github.com/caffe2/caffe2/blob/master/cmake/Modules/FindCUB.cmake) with the correct PATHS option and these lines in Dependencies.cmake : \r\n```\r\n  find_package(CUB REQUIRED)\r\n  list(APPEND Caffe_INCLUDE_DIRS PUBLIC ${CUB_INCLUDE_DIR})\r\n```\r\n\r\nBut then I get some errors with caffe.pb.h when building frcnn_proposal_layer.cu :  \r\n\r\n> caffe-faster-rcnn/build/include\\caffe/proto/caffe.pb.h(2757): error: expected an identifier\r\n\r\nThe corresponding line in caffe.pb.h is : \r\n` static const DimCheckMode STRICT = ParamSpec_DimCheckMode_STRICT;`\r\n\r\nAt this point, I guess I'm missing something when trying to include cub, but I may be wrong, any clues?"},"comment":{"url":"https://api.github.com/repos/D-X-Y/caffe-faster-rcnn/issues/comments/310035444","html_url":"https://github.com/D-X-Y/caffe-faster-rcnn/issues/24#issuecomment-310035444","issue_url":"https://api.github.com/repos/D-X-Y/caffe-faster-rcnn/issues/24","id":310035444,"user":{"login":"RomainDWipsea","id":9799984,"avatar_url":"https://avatars2.githubusercontent.com/u/9799984?v=3","gravatar_id":"","url":"https://api.github.com/users/RomainDWipsea","html_url":"https://github.com/RomainDWipsea","followers_url":"https://api.github.com/users/RomainDWipsea/followers","following_url":"https://api.github.com/users/RomainDWipsea/following{/other_user}","gists_url":"https://api.github.com/users/RomainDWipsea/gists{/gist_id}","starred_url":"https://api.github.com/users/RomainDWipsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomainDWipsea/subscriptions","organizations_url":"https://api.github.com/users/RomainDWipsea/orgs","repos_url":"https://api.github.com/users/RomainDWipsea/repos","events_url":"https://api.github.com/users/RomainDWipsea/events{/privacy}","received_events_url":"https://api.github.com/users/RomainDWipsea/received_events","type":"User","site_admin":false},"created_at":"2017-06-21T10:19:17Z","updated_at":"2017-06-21T10:19:17Z","body":"It's actually in the QA section : \r\n\r\n> CUB not found, when compile for GPU version, frcnn_proposal_layer.cu requires a head file <cub/cub.cuh>. CUB is library contained in the official Cuda Toolkit, usually can be found in /usr/local/cuda/include/thrust/system/cuda/detail/. You should add this path in your Makefile.config (try locate ''cub.cuh'' to find cub on your system)\r\n\r\nI should have fully read it. Guess it closes the issue."}}
{"actor":{"display_login":"RomainDWipsea"}}