{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/415","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/415/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/415/events","html_url":"https://github.com/mshabunin/test2/issues/415","id":95414718,"number":415,"title":"unable to build master on windows with MSVC 2008 x64 without CUDA","user":{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mshabunin/test2/labels/affected:%20master","name":"affected: master","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/auto-transferred","name":"auto-transferred","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/category:%20build/install","name":"category: build/install","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/priority:%20normal","name":"priority: normal","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-16T11:38:22Z","updated_at":"2015-07-16T11:38:23Z","closed_at":null,"body":"Transferred from http://code.opencv.org/issues/3430\r\n```\n|| Alexander Mordvintsev on 2013-12-11 14:02\n|| Priority: Normal\n|| Affected: branch 'master' (3.0-dev)\n|| Category: build/install\n|| Tracker: Bug\n|| Difficulty: \n|| PR: \n|| Platform: x64 / Windows\n```\n\nunable to build master on windows with MSVC 2008 x64 without CUDA\n-----------\n```\nI use:\r\n\r\n<pre>\r\ncmake -DBUILD_DOCS=FALSE -DBUILD_TESTS=FALSE -DBUILD_PERF_TESTS=FALSE ^\r\n  -DWITH_CUDA=FALSE -DWITH_CUFFT=FALSE ^\r\n  -DPYTHON_PACKAGES_PATH=C:/znah/sdk/opencv/py ^\r\n  -DCMAKE_INSTALL_PREFIX=C:/znah/sdk/opencv ^\r\n  -G \"Visual Studio 9 2008 Win64\"  ..\r\n</pre>\r\n\r\n'opencv_core' module tries to link with 'opencv_cudev', while this module is not built.\r\nTemporary fixed this by removeing \"OPTIONAL opencv_cudev\" from ocv_add_module in CMakeLists.txt files.\n```\n\nHistory\n-------\n##### Nikita Manovich on 2013-12-12 08:48\n```\nHi,\r\n\r\nThank you for the bug report. If you can prepare a PR it will help us a lot. Here you can find all necessary information: http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute\n-   Assignee set to Roman Donchenko\n-   Status changed from New to Open\n-   Category set to build/install\n```\n##### Patrick Brown on 2013-12-12 15:56\n```\nWhat is a PR?\n```\n##### Nikita Manovich on 2013-12-13 07:30\n```\nPR - pull request\n```\n##### John Mather on 2014-01-12 02:47\n```\nI'm also receiving this issue with the most recent branch on OS X. Latest commit: 6071671bdaa6ffdf751710111143a6523d41c78a\n\nI was able to compile after removing \"OPTIONAL opencv_cudev\" from the core module's CMakeLists.txt file, then disabling everything that had to do with CUDA in CMake.\n```\n##### abid rahman on 2014-05-19 03:10\n```\nThe bug exists in Linux (Fedora 20 x64) with GCC. And the temporary solution mentioned works fine :)\n```"}}