{"action":"created","issue":{"url":"https://api.github.com/repos/MSOpenTech/opencv/issues/46","labels_url":"https://api.github.com/repos/MSOpenTech/opencv/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/MSOpenTech/opencv/issues/46/comments","events_url":"https://api.github.com/repos/MSOpenTech/opencv/issues/46/events","html_url":"https://github.com/MSOpenTech/opencv/issues/46","id":81025331,"number":46,"title":"CMake requires Windows Desktop SDK / Windows Phone '8.0' SDK","user":{"login":"nickpateman","id":4998105,"avatar_url":"https://avatars.githubusercontent.com/u/4998105?v=3","gravatar_id":"","url":"https://api.github.com/users/nickpateman","html_url":"https://github.com/nickpateman","followers_url":"https://api.github.com/users/nickpateman/followers","following_url":"https://api.github.com/users/nickpateman/following{/other_user}","gists_url":"https://api.github.com/users/nickpateman/gists{/gist_id}","starred_url":"https://api.github.com/users/nickpateman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickpateman/subscriptions","organizations_url":"https://api.github.com/users/nickpateman/orgs","repos_url":"https://api.github.com/users/nickpateman/repos","events_url":"https://api.github.com/users/nickpateman/events{/privacy}","received_events_url":"https://api.github.com/users/nickpateman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-26T15:58:44Z","updated_at":"2015-06-09T17:38:35Z","closed_at":"2015-06-09T17:38:35Z","body":"Hi there,\r\n\r\nI'm attempting to build OpenCV but coming across this error.  I'm pretty sure I have the SDK's installed, in fact I have the enterprise edition of Visual Studio 2015 RC installed.  I checked for the SDK folders and they are there, plus I can obviously build for both phone and desktop in the IDE.\r\n\r\nAny idea how to resolve this issue? Maybe it isn't compatible with 2015 yet?\r\n\r\n----\r\n\r\ncd opencv/platforms/winrt\r\nsetup_winrt.bat \"WP,WS\" \"8.0,8.1\" \"x86,ARM\" -b\r\n\r\n----\r\n\r\nSecurity warning\r\nRun only scripts that you trust. While scripts from the internet can be useful,\r\n this script can potentially harm your computer. If you trust this script, use\r\nthe Unblock-File cmdlet to allow the script to run without this warning\r\nmessage. Do you want to run\r\nC:\\bob\\opencv-master\\opencv-master\\platforms\\winrt\\setup_winrt.ps1?\r\n[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is \"D\"): R\r\nDEBUG> Input Platforms: WP,WS\r\nDEBUG> WP is valid\r\nDEBUG> WS is valid\r\nDEBUG> Processed Platforms: WP WS\r\nDEBUG> Input Versions: 8.0,8.1\r\nDEBUG> 8.0 is valid\r\nDEBUG> 8.1 is valid\r\nDEBUG> Processed Versions: 8.0 8.1\r\nDEBUG> Input Architectures: x86,ARM\r\nDEBUG> x86 is valid\r\nDEBUG> ARM is valid\r\nDEBUG> Processed Architectures: x86 ARM\r\nINFO> -----------------------------------------------\r\nINFO> Target:\r\nINFO>     Directory: C:\\bob\\opencv-master\\opencv-master\\bin\\WP\\8.0\\x86\r\nINFO>     Platform: WindowsPhone\r\nINFO>     Version: 8.0\r\nINFO>     Architecture: x86\r\nINFO>     Generator: Visual Studio 12 2013\r\nINFO>     Install Directory: C:\\bob\\opencv-master\\opencv-master\\bin\\insta\r\nll\\WP\\8.0\\x86\r\n\r\n\r\n    Directory: C:\\bob\\opencv-master\\opencv-master\\bin\\WP\\8.0\r\n\r\n\r\nMode                LastWriteTime     Length Name\r\n----                -------------     ------ ----\r\nd----        26/05/2015     16:46            x86\r\nINFO> Generating project:\r\nINFO> cmake -G Visual Studio 12 2013 -DCMAKE_SYSTEM_NAME:String=WindowsPhone -DC\r\nMAKE_SYSTEM_VERSION:String=8.0 -DCMAKE_VS_EFFECTIVE_PLATFORMS:String=x86 -DCMAKE\r\n_INSTALL_PREFIX:PATH=C:\\bob\\opencv-master\\opencv-master\\bin\\install\\WP\\8.\r\n0\\x86 C:\\bob\\opencv-master\\opencv-master\r\nCMake Error at CMakeLists.txt:88 (project):\r\n  A Windows Phone component with CMake requires both the Windows Desktop SDK\r\n  as well as the Windows Phone '8.0' SDK.  Please make sure that you have\r\n  both installed\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"C:/bob/opencv-master/opencv-master/bin/WP/8.0/x86/CMakeFiles/CM\r\nakeOutput.log\".\r\nINFO> -----------------------------------------------\r\nINFO> Building and installing project:\r\nINFO> Executing: msbuild OpenCV.sln /p:Configuration='Debug' /m\r\nMicrosoft (R) Build Engine version 12.0.31010.0\r\n[Microsoft .NET Framework, version 4.0.30319.0]\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nMSBUILD : error MSB1009: Project file does not exist.\r\nSwitch: OpenCV.sln\r\nINFO> Error: Failure executing command: msbuild OpenCV.sln /p:Configuration='Deb\r\nug' /m\r\n"},"comment":{"url":"https://api.github.com/repos/MSOpenTech/opencv/issues/comments/110442722","html_url":"https://github.com/MSOpenTech/opencv/issues/46#issuecomment-110442722","issue_url":"https://api.github.com/repos/MSOpenTech/opencv/issues/46","id":110442722,"user":{"login":"mkostin","id":1681745,"avatar_url":"https://avatars.githubusercontent.com/u/1681745?v=3","gravatar_id":"","url":"https://api.github.com/users/mkostin","html_url":"https://github.com/mkostin","followers_url":"https://api.github.com/users/mkostin/followers","following_url":"https://api.github.com/users/mkostin/following{/other_user}","gists_url":"https://api.github.com/users/mkostin/gists{/gist_id}","starred_url":"https://api.github.com/users/mkostin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkostin/subscriptions","organizations_url":"https://api.github.com/users/mkostin/orgs","repos_url":"https://api.github.com/users/mkostin/repos","events_url":"https://api.github.com/users/mkostin/events{/privacy}","received_events_url":"https://api.github.com/users/mkostin/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T17:38:35Z","updated_at":"2015-06-09T17:38:35Z","body":"@nickpateman Please let us know if you've been able to build the binaries. I'm going to close this since there are no action items left. "}}