{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv/issues/6132","repository_url":"https://api.github.com/repos/Itseez/opencv","labels_url":"https://api.github.com/repos/Itseez/opencv/issues/6132/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/6132/comments","events_url":"https://api.github.com/repos/Itseez/opencv/issues/6132/events","html_url":"https://github.com/Itseez/opencv/issues/6132","id":134326319,"number":6132,"title":"Error compiling OpenCV - CMake","user":{"login":"vikrantvm","id":2904934,"avatar_url":"https://avatars.githubusercontent.com/u/2904934?v=3","gravatar_id":"","url":"https://api.github.com/users/vikrantvm","html_url":"https://github.com/vikrantvm","followers_url":"https://api.github.com/users/vikrantvm/followers","following_url":"https://api.github.com/users/vikrantvm/following{/other_user}","gists_url":"https://api.github.com/users/vikrantvm/gists{/gist_id}","starred_url":"https://api.github.com/users/vikrantvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikrantvm/subscriptions","organizations_url":"https://api.github.com/users/vikrantvm/orgs","repos_url":"https://api.github.com/users/vikrantvm/repos","events_url":"https://api.github.com/users/vikrantvm/events{/privacy}","received_events_url":"https://api.github.com/users/vikrantvm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Itseez/opencv/labels/invalid","name":"invalid","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-17T16:17:04Z","updated_at":"2016-02-18T05:18:16Z","closed_at":null,"body":"I just moved to using 3.0 version of OpenCV. This error seems to follow me. I have treid cleaning the project, moving to 3.1, but I cant seem to figure out what I'm missing: \r\n\r\n```\r\n$ cmake .\r\n-- OpenCV ARCH: \r\n-- OpenCV RUNTIME: \r\n-- OpenCV STATIC: ON\r\nCMake Warning at /Applications/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message):\r\n  Found OpenCV Windows Pack but it has no binaries compatible with your\r\n  configuration.\r\n\r\n  You should manually point CMake variable OpenCV_DIR to your build of OpenCV\r\n  library.\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:10 (find_package)\r\n\r\n\r\nCMake Error at CMakeLists.txt:10 (find_package):\r\n  Found package configuration file:\r\n\r\n    /Applications/opencv-3.1.0/cmake/OpenCVConfig.cmake\r\n\r\n  but it set OpenCV_FOUND to FALSE so package \"OpenCV\" is considered to be\r\n  NOT FOUND.\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\n\r\n```\r\n\r\nAny tips on tackling this will help. I am building OpenCV on OSX El Capitan. I am not sure if this is a problem with cmake or opencv. Envorinment variables seem to be correct. Thanks!"},"comment":{"url":"https://api.github.com/repos/Itseez/opencv/issues/comments/185546897","html_url":"https://github.com/Itseez/opencv/issues/6132#issuecomment-185546897","issue_url":"https://api.github.com/repos/Itseez/opencv/issues/6132","id":185546897,"user":{"login":"vikrantvm","id":2904934,"avatar_url":"https://avatars.githubusercontent.com/u/2904934?v=3","gravatar_id":"","url":"https://api.github.com/users/vikrantvm","html_url":"https://github.com/vikrantvm","followers_url":"https://api.github.com/users/vikrantvm/followers","following_url":"https://api.github.com/users/vikrantvm/following{/other_user}","gists_url":"https://api.github.com/users/vikrantvm/gists{/gist_id}","starred_url":"https://api.github.com/users/vikrantvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikrantvm/subscriptions","organizations_url":"https://api.github.com/users/vikrantvm/orgs","repos_url":"https://api.github.com/users/vikrantvm/repos","events_url":"https://api.github.com/users/vikrantvm/events{/privacy}","received_events_url":"https://api.github.com/users/vikrantvm/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T05:18:16Z","updated_at":"2016-02-18T05:18:16Z","body":"I deleted the build directory and compiled again, but in vain. Also tried going down to 3.0.0, didn't help."}}