1 2== Dependencies == 3 4 * CMake (tested with 3.9, likely >=3.0 will work) 5 6 * GStreamer (1.8 or newer) 7 8 * Microsoft SDK 9 (http://www.microsoft.com/en-us/download/details.aspx?id=8279). Don't 10 use any after 7.1, they don't include the samples. You can uncheck 11 the .NET stuff. 12 13 * Visual Studio, in theory any version will do; tested with 2013 14 Express 15 (http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx). 16 17== Build == 18 19First build the SDK "baseclasses" sample; they should have been 20installed in <SDK>/Samples/multimedia/directshow/baseclasses. Just 21open the SLN and build both Debug_MBCS and Release_MBCS. 22 23If you get a build error "ctype.h: no such file or directory", try 24retargetting the solution from the Project menu. 25 26Then go to sys/dshowsrcwrapper and use CMake to generate the project 27file for your chosen version of Visual Studio. There are two influential 28variables: 29 30 * GST_INSTALL_BASE: your GStreamer installation directory 31 (default C:\gstreamer\1.0\x86 or C:\gstreamer\1.0\x86_64) 32 33 * SDK_INSTALL_BASE: the Windows SDK installation path (default 34 C:\Program Files\Microsoft SDKs\Windows\v7.0). 35 36mkdir build 37cd build 38cmake -G "Visual Studio 12" .. 39 40Open the SLN and build the project. Copy the DLL to the GStreamer 41plugins directory. 42