Sign up

Where is libgstreamer-1.0-0.dll?

I try to use gtkD in windows.
I have installed gtk3-runtime3.24.864bit.exe
and add gtk-d as the dependency.
But when I try to run the demo, an error message showed:
Library load failed (libgstreamer-1.0-0.dll):

I have follow the instructions to build gtk windows:
https://www.gtk.org/download/windows.php

And I have install gstreamer-1.0-msvc-x8664-1.16.0.msi and gstreamer-1.0-devel-msvc-x8664-1.16.0.msi, but nothing changed.

So, where is libgstreamer-1.0-0.dll?

Re: Where is libgstreamer-1.0-0.dll?

On 01-09-2019 11:59, Domain wrote:

I try to use gtkD in windows.
I have installed gtk3-runtime3.24.864bit.exe
and add gtk-d as the dependency.
But when I try to run the demo, an error message showed:
Library load failed (libgstreamer-1.0-0.dll):

I have follow the instructions to build gtk windows:
https://www.gtk.org/download/windows.php

And I have install gstreamer-1.0-msvc-x8664-1.16.0.msi and gstreamer-1.0-devel-msvc-x8664-1.16.0.msi, but nothing changed.

So, where is libgstreamer-1.0-0.dll?

If you are not using gstreamer in your app you can use gtk-d:gtkd as a
dependency in dub so it doesn't include the gstreamer support.

If you really need GStreamer, make sure the gstreamers bin directory
is added to your PATH.

Re: Where is libgstreamer-1.0-0.dll?

On Sun, 1 Sep 2019 14:43:07 +0200, Mike Wey wrote:

On 01-09-2019 11:59, Domain wrote:

I try to use gtkD in windows.
I have installed gtk3-runtime3.24.864bit.exe
and add gtk-d as the dependency.
But when I try to run the demo, an error message showed:
Library load failed (libgstreamer-1.0-0.dll):

I have follow the instructions to build gtk windows:
https://www.gtk.org/download/windows.php

And I have install gstreamer-1.0-msvc-x8664-1.16.0.msi and gstreamer-1.0-devel-msvc-x8664-1.16.0.msi, but nothing changed.

So, where is libgstreamer-1.0-0.dll?

If you are not using gstreamer in your app you can use gtk-d:gtkd as a
dependency in dub so it doesn't include the gstreamer support.

If you really need GStreamer, make sure the gstreamers bin directory
is added to your PATH.

I cannot find libgstreamer-1.0-0.dll anywhere, but I found gstreamer-1.0-0.dll.
I copy gstreamer-1.0-0.dll to the same folder of the demo exe, but nothing changed. I rename it to libgstreamer-1.0-0.dll, still the same.

Re: Where is libgstreamer-1.0-0.dll?

On 01-09-2019 17:30, Domain wrote:

I cannot find libgstreamer-1.0-0.dll anywhere, but I found gstreamer-1.0-0.dll.
I copy gstreamer-1.0-0.dll to the same folder of the demo exe, but nothing changed. I rename it to libgstreamer-1.0-0.dll, still the same.

GtkD master searches for: libgstreamer-1.0-0.dll, gstreamer-1.0-0.dll,
and gstreamer-1.dll the 3.9.0 release only searches only for the first one.

The search order for GtkD is:
1 The directory from which the application loaded.
2 The bin directory of the gtk runtime.
3 The system directory.
4 The Windows directory.
5 The directories listed in the PATH environment variable.

For GtkD master just adding the correct directory to your PATH should do
the trick. Renaming libraries may or may not work.

Of course if you're not using GStreamer telling dub not to compile it is
the easiest option.