{"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":7,"created_at":"2015-05-26T15:58:44Z","updated_at":"2015-06-09T17:48:34Z","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/110444688","html_url":"https://github.com/MSOpenTech/opencv/issues/46#issuecomment-110444688","issue_url":"https://api.github.com/repos/MSOpenTech/opencv/issues/46","id":110444688,"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},"created_at":"2015-06-09T17:48:34Z","updated_at":"2015-06-09T17:48:34Z","body":"I haven't had chance to try yet as I've been super busy, I'll try over the weekend, may as well close the issue though as if I can't compile in 2013 I'll post again.  Cheers :)\n\nSent from my Windows Phone\n________________________________\nFrom: Max Kostin<mailto:notifications@github.com>\nSent: ‎09/‎06/‎2015 18:38\nTo: MSOpenTech/opencv<mailto:opencv@noreply.github.com>\nCc: Nick Pateman<mailto:nick@npSoftware.co.uk>\nSubject: Re: [opencv] CMake requires Windows Desktop SDK / Windows Phone '8.0' SDK (#46)\n\n\n@nickpateman<https://github.com/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.\n\n—\nReply to this email directly or view it on GitHub<https://github.com/MSOpenTech/opencv/issues/46#issuecomment-110442722>.\n"}}