{"action":"created","issue":{"url":"https://api.github.com/repos/ShiftMediaProject/FFmpeg/issues/1","labels_url":"https://api.github.com/repos/ShiftMediaProject/FFmpeg/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ShiftMediaProject/FFmpeg/issues/1/comments","events_url":"https://api.github.com/repos/ShiftMediaProject/FFmpeg/issues/1/events","html_url":"https://github.com/ShiftMediaProject/FFmpeg/issues/1","id":54868488,"number":1,"title":"I can't build it in visual studio 2010.","user":{"login":"crseantal","id":7334034,"avatar_url":"https://avatars.githubusercontent.com/u/7334034?v=3","gravatar_id":"","url":"https://api.github.com/users/crseantal","html_url":"https://github.com/crseantal","followers_url":"https://api.github.com/users/crseantal/followers","following_url":"https://api.github.com/users/crseantal/following{/other_user}","gists_url":"https://api.github.com/users/crseantal/gists{/gist_id}","starred_url":"https://api.github.com/users/crseantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crseantal/subscriptions","organizations_url":"https://api.github.com/users/crseantal/orgs","repos_url":"https://api.github.com/users/crseantal/repos","events_url":"https://api.github.com/users/crseantal/events{/privacy}","received_events_url":"https://api.github.com/users/crseantal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-20T10:49:14Z","updated_at":"2015-01-20T14:14:54Z","closed_at":null,"body":"The error message occur:\r\n\r\nC:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\Platforms\\Win32\\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.\r\n\r\nhow do i fix it?\r\n\r\nCan I directly open the project in Visual Studio 2010 or 2012?"},"comment":{"url":"https://api.github.com/repos/ShiftMediaProject/FFmpeg/issues/comments/70658923","html_url":"https://github.com/ShiftMediaProject/FFmpeg/issues/1#issuecomment-70658923","issue_url":"https://api.github.com/repos/ShiftMediaProject/FFmpeg/issues/1","id":70658923,"user":{"login":"Sibras","id":5628451,"avatar_url":"https://avatars.githubusercontent.com/u/5628451?v=3","gravatar_id":"","url":"https://api.github.com/users/Sibras","html_url":"https://github.com/Sibras","followers_url":"https://api.github.com/users/Sibras/followers","following_url":"https://api.github.com/users/Sibras/following{/other_user}","gists_url":"https://api.github.com/users/Sibras/gists{/gist_id}","starred_url":"https://api.github.com/users/Sibras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sibras/subscriptions","organizations_url":"https://api.github.com/users/Sibras/orgs","repos_url":"https://api.github.com/users/Sibras/repos","events_url":"https://api.github.com/users/Sibras/events{/privacy}","received_events_url":"https://api.github.com/users/Sibras/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T14:14:54Z","updated_at":"2015-01-20T14:14:54Z","body":"You can use the project in 2012 but not in 2010. FFmpeg requires C99 support which is not available in older versions of Visual Studio.\r\n\r\nThe default Visual Studio project files found in the repo are for Visual Studio 2013. To use the projects \"as is\" under Visual Studio you simply need to change the project property \"Platform Toolset\" found in \"Configuration Properties->General\" to the version of the toolset you have installed (Visual Studio 2012 is v110). However the default projects also require that all the dependency projects found in the ShiftMediaProject repo have also been built and are available to link against.\r\n\r\nIf you only want a basic FFmpeg build or simply want to choose which dependencies are linked against then you can use the project_generator project to build an executable that takes standard FFmpeg configure options and will use those to build a new project. The generator will also detect what version of Visual Studio you have installed and will automatically create the correct project files (meaning you do not need to change project properties as in the above step).\r\nSpecific details on this can be found at: http://siliconandlithium.blogspot.com.au/2014/01/building-ffmpeg-in-visual-studio.html"}}