dshowsrcwrapper: Update build instructions. Add _builddir to include search path.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1537>
This commit is contained in:
Jérôme Laheurte 2020-08-25 10:04:53 +02:00 committed by GStreamer Merge Bot
parent 2b024ec1b4
commit ccfb799d83
2 changed files with 6 additions and 0 deletions

View file

@ -20,6 +20,9 @@ First build the SDK "baseclasses" sample; they should have been
installed in <SDK>/Samples/multimedia/directshow/baseclasses. Just
open the SLN and build both Debug_MBCS and Release_MBCS.
If you get a build error "ctype.h: no such file or directory", try
retargetting the solution from the Project menu.
Then go to sys/dshowsrcwrapper and use CMake to generate the project
file for your chosen version of Visual Studio. There are two influential
variables:

View file

@ -24,6 +24,9 @@ INCLUDE_DIRECTORIES(
${GST_INSTALL_BASE}/lib/glib-2.0/include
${GST_INSTALL_BASE}/lib/gstreamer-1.0/include
${SDK_INSTALL_BASE}/Samples/multimedia/directshow/baseclasses
# When building from the Cerbero build dir, this is where config.h is.
${PROJECT_SOURCE_DIR}/../../_builddir
)
IF ("${CMAKE_GENERATOR}" MATCHES "Win64")