{"action":"closed","issue":{"url":"https://api.github.com/repos/opencv/opencv_contrib/issues/1562","repository_url":"https://api.github.com/repos/opencv/opencv_contrib","labels_url":"https://api.github.com/repos/opencv/opencv_contrib/issues/1562/labels{/name}","comments_url":"https://api.github.com/repos/opencv/opencv_contrib/issues/1562/comments","events_url":"https://api.github.com/repos/opencv/opencv_contrib/issues/1562/events","html_url":"https://github.com/opencv/opencv_contrib/issues/1562","id":297367403,"number":1562,"title":"Using Visual Studio 15 2017 to build Matlab bindings results in errors C2039, C2065 and C2664","user":{"login":"SID311","id":36318079,"avatar_url":"https://avatars3.githubusercontent.com/u/36318079?v=4","gravatar_id":"","url":"https://api.github.com/users/SID311","html_url":"https://github.com/SID311","followers_url":"https://api.github.com/users/SID311/followers","following_url":"https://api.github.com/users/SID311/following{/other_user}","gists_url":"https://api.github.com/users/SID311/gists{/gist_id}","starred_url":"https://api.github.com/users/SID311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SID311/subscriptions","organizations_url":"https://api.github.com/users/SID311/orgs","repos_url":"https://api.github.com/users/SID311/repos","events_url":"https://api.github.com/users/SID311/events{/privacy}","received_events_url":"https://api.github.com/users/SID311/received_events","type":"User","site_admin":false},"labels":[{"id":323496475,"url":"https://api.github.com/repos/opencv/opencv_contrib/labels/category:%20build/install","name":"category: build/install","color":"ededed","default":false},{"id":271951254,"url":"https://api.github.com/repos/opencv/opencv_contrib/labels/category:%20matlab","name":"category: matlab","color":"ededed","default":false},{"id":271954868,"url":"https://api.github.com/repos/opencv/opencv_contrib/labels/duplicate","name":"duplicate","color":"000000","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-15T08:47:42Z","updated_at":"2018-02-15T09:12:35Z","closed_at":"2018-02-15T09:12:35Z","author_association":"NONE","body":"- OpenCV => 3.4\r\n- Operating System / Platform =>Windows 10 Pro x64\r\n- Compiler => Visual Studio 15 2017\r\n\r\n##### Detailed description\r\n\r\nTrying to build Matlab bindings fails in Visual Studio 15 2017. Issue seems to be the file 'CamShift.cpp'.\r\n\r\nOutput:\r\n\r\n```\r\nFailed to compile CamShift: CamShift.cpp\r\nCUSTOMBUILD : error C2065: 'type': undeclared identifier\r\nCUSTOMBUILD : error C2664: 'cv::Mat::Mat(cv::Mat &&)': cannot convert argument 1 from\r\n4>  '::size_t' to 'cv::Size'\r\n```\r\nErrors:\r\n\r\n```\r\nError   C2039   'type': is not a member of 'cv::DataType<Scalar>'\r\nError   C2065   'type': undeclared identifier   \r\nError   C2664   'cv::Mat::Mat(cv::Mat &&)': cannot convert argument 1 from\r\n```\r\nOther files seem to build except for opencv_matlab.\r\n\r\n##### Steps to reproduce\r\n\r\nOccurs when using CMake regardless of any settings or other modules and options are set. "}}
{"actor":{"display_login":"alalek"}}