diff options
author | Jérôme Laheurte <jerome@jeromelaheurte.net> | 2020-08-25 10:04:53 +0200 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-08-28 23:00:53 +0000 |
commit | ccfb799d83cc303b08d35efc7a9e458e0fbf16c4 (patch) | |
tree | ab7be77f1315ee7ad1c462fd87a2a90d4c2492de /sys | |
parent | 2b024ec1b4cbed31678bbb8da3ef0f8145f9953e (diff) | |
download | gstreamer-plugins-bad-ccfb799d83cc303b08d35efc7a9e458e0fbf16c4.tar.gz |
dshowsrcwrapper: Update build instructions. Add _builddir to include search path.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1537>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dshowsrcwrapper/BUILD.txt | 3 | ||||
-rw-r--r-- | sys/dshowsrcwrapper/CMakeLists.txt | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dshowsrcwrapper/BUILD.txt b/sys/dshowsrcwrapper/BUILD.txt index 80a6f4667..994b9f474 100644 --- a/sys/dshowsrcwrapper/BUILD.txt +++ b/sys/dshowsrcwrapper/BUILD.txt @@ -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: diff --git a/sys/dshowsrcwrapper/CMakeLists.txt b/sys/dshowsrcwrapper/CMakeLists.txt index 2e0126698..57c3114fd 100644 --- a/sys/dshowsrcwrapper/CMakeLists.txt +++ b/sys/dshowsrcwrapper/CMakeLists.txt @@ -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") |