{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/FFmpegInterop/issues/67","repository_url":"https://api.github.com/repos/Microsoft/FFmpegInterop","labels_url":"https://api.github.com/repos/Microsoft/FFmpegInterop/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/FFmpegInterop/issues/67/comments","events_url":"https://api.github.com/repos/Microsoft/FFmpegInterop/issues/67/events","html_url":"https://github.com/Microsoft/FFmpegInterop/issues/67","id":144791922,"number":67,"title":"Stuck trying to compile FFmpeg (Win10 x64 UWP/WinRT)","user":{"login":"Shrp77","id":8106071,"avatar_url":"https://avatars.githubusercontent.com/u/8106071?v=3","gravatar_id":"","url":"https://api.github.com/users/Shrp77","html_url":"https://github.com/Shrp77","followers_url":"https://api.github.com/users/Shrp77/followers","following_url":"https://api.github.com/users/Shrp77/following{/other_user}","gists_url":"https://api.github.com/users/Shrp77/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrp77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrp77/subscriptions","organizations_url":"https://api.github.com/users/Shrp77/orgs","repos_url":"https://api.github.com/users/Shrp77/repos","events_url":"https://api.github.com/users/Shrp77/events{/privacy}","received_events_url":"https://api.github.com/users/Shrp77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-31T05:20:00Z","updated_at":"2016-04-01T01:48:03Z","closed_at":null,"body":"Hi guys,\r\n\r\nI've seen the other threads on this, but haven't been able to figure out what's wrong based on those threads.\r\n\r\nI followed the instructions from https://github.com/Microsoft/FFmpegInterop, and I've cloned the FFmpegInterop and FFmpeg repos. I followed the instructions here (https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT) and ensured that I did each step (even though I'm only interested in x64 / UWP, I got the perl script for ARM too).\r\n\r\nIn the \"verifying your FFmpeg Environment Setup\" step, I did exactly as stated and the _which_ calls for \"cl\", \"link\" and \"armasm\" failed (the path to the visual studio bin x86_arm folder was not in the msys2 path). \"yasm\" and \"cpp\" worked fine, however \"gas-preprocessor.pl\" could also not be found (even though it's in my msys64\\usr\\bin folder).\r\n\r\nI skipped down to the Compiling for Window 10 x64 block; ran the specified command prompt, set the LIB, LIBPATH and INCLUDE variables and then kicked off Msys2 using the batch file. I then run: export PATH=$PATH:\"/D/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64\". After this, the \"which\" command finds \"cl\" and \"link\" correctly.\r\n\r\nI went to the ffmpeg location, created the output/windows10/x64 folder and ran the _configure_ command, to which msys2 will spit out:\r\n\r\ncl is unable to create an executable file.\r\nC compiler test failed.\r\n\r\nI've attached the config.log file. [config.txt](https://github.com/Microsoft/FFmpegInterop/files/197012/config.txt)\r\n\r\nBUT: There seems to be some holes in the instructions (I could not - for the life of me - get the which command to give the expected response without doing my own export command call...). Are there any system variables that need to be set or something like that?\r\n\r\nAre there any flags that need to be tweaked in order to pass Windows App Certification?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/FFmpegInterop/issues/comments/204204207","html_url":"https://github.com/Microsoft/FFmpegInterop/issues/67#issuecomment-204204207","issue_url":"https://api.github.com/repos/Microsoft/FFmpegInterop/issues/67","id":204204207,"user":{"login":"Shrp77","id":8106071,"avatar_url":"https://avatars.githubusercontent.com/u/8106071?v=3","gravatar_id":"","url":"https://api.github.com/users/Shrp77","html_url":"https://github.com/Shrp77","followers_url":"https://api.github.com/users/Shrp77/followers","following_url":"https://api.github.com/users/Shrp77/following{/other_user}","gists_url":"https://api.github.com/users/Shrp77/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrp77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrp77/subscriptions","organizations_url":"https://api.github.com/users/Shrp77/orgs","repos_url":"https://api.github.com/users/Shrp77/repos","events_url":"https://api.github.com/users/Shrp77/events{/privacy}","received_events_url":"https://api.github.com/users/Shrp77/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T01:48:03Z","updated_at":"2016-04-01T01:48:03Z","body":"Ok.\r\n\r\nSo I added a symlink so that C:\\Program Files (x86)\\Microsoft Visual Studio 14.0 points to my D:\\Program Files (x86)\\Microsoft Visual Studio 14.0 installation location.\r\n\r\nI ran '\"%VS140COMNTOOLS%..\\..\\VC\\vcvarsall.bat\" x64 store' in a blank cmd prompt and then checked the results of \"which cl\" and \"which link\" - both of which were located under \"/d/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64\"\r\n\r\nFollowed up with running \"BuildFFmpeg.bat win10 x64\" and still no joy... Attached the dos output and the console log.\r\n[buildFFmpeg-win10-x64.txt](https://github.com/Microsoft/FFmpegInterop/files/198846/buildFFmpeg-win10-x64.txt)\r\n[config.log.txt](https://github.com/Microsoft/FFmpegInterop/files/198847/config.log.txt)\r\n\r\n"}}