Building gstreamer source with meson on Windows fails during meson setup

Hi there, I’m trying to build gstreamer from source because I need some plugin that is not included package.
I follow the instruction here but meson stops during the command

meson setup <builddir> --vsenv

with this error message.

subprojects\gobject-introspection-1.74.0\tools\meson.build:42:10: ERROR: Tried to override finding of executable “g-ir-scanner” which has already been found.

What is wrong with this?

Environment

  • Windows 10
  • meson version 1.5.1
  • ninja version 1.10.2

Command line log

meson-log.txt

subprojects\gobject-introspection-1.74.0\meson.build:223: WARNING: Not building with doctool support, not all tests will be run
Library m found: NO
Adding test “cmph-bdz-test”
Configuring giversion.h using configuration
Adding test “gthash-test”
subprojects\gobject-introspection-1.74.0\tools\meson.build:13: WARNING: Project targets ‘>= 0.60.0’ but uses feature deprecated since ‘0.55.0’: ExternalProgram.path. use ExternalProgram.full_path() instead
Configuring g-ir-scanner using configuration
Program g-ir-scanner found: YES (C:\WINDOWS\python3.EXE E:\Develop\gstreamer\builddir\subprojects\gobject-introspection-1.74.0\tools\g-ir-scanner)

subprojects\gobject-introspection-1.74.0\tools\meson.build:42:10: ERROR: Tried to override finding of executable “g-ir-scanner” which has already been found.

The easiest way/workaround might be to just pass -Dintrospection=disabled to your meson setup command.

1 Like

Thanks, it worked.
What is introspection tools do? What features are disabled if I omit it from build?

It’s used for language bindings like python etc.

1 Like