Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build fails with gstreamer DLL not found error #23747

Closed
saschanaz opened this issue Jul 11, 2019 · 10 comments
Closed

Windows build fails with gstreamer DLL not found error #23747

saschanaz opened this issue Jul 11, 2019 · 10 comments
Labels
A-build Related to or part of the build process P-windows Any version of Windows capable of running Servo

Comments

@saschanaz
Copy link
Contributor

**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.0
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
    Updating crates.io index
  Downloaded weedle v0.10.0
   Compiling weedle v0.10.0
   Compiling servo_arc v0.1.1 (C:\Users\sasch\Documents\GitHub\servo\components\servo_arc)
   Compiling style v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\style)
   Compiling webxr-api v0.0.1 (https://github.com/servo/webxr#39600af8)
   Compiling servo v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\ports\glutin)
   Compiling to_shmem v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\to_shmem)
   Compiling webxr v0.0.1 (https://github.com/servo/webxr#39600af8)
   Compiling selectors v0.21.0 (C:\Users\sasch\Documents\GitHub\servo\components\selectors)
   Compiling script v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\script)
   Compiling libservo v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\servo)
   Compiling script_plugins v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\script_plugins)
   Compiling malloc_size_of v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\malloc_size_of)
   Compiling servo_url v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\url)
   Compiling msg v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\msg)
   Compiling range v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\range)
   Compiling pixels v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\pixels)
   Compiling gfx_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\gfx_traits)
   Compiling webvr_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\webvr_traits)
   Compiling background_hang_monitor v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\background_hang_monitor)
   Compiling style_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\style_traits)
   Compiling devtools_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\devtools_traits)
   Compiling devtools v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\devtools)
   Compiling embedder_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\embedder_traits)
   Compiling servo_geometry v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\geometry)
   Compiling servo_config v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\config)
   Compiling bluetooth_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\bluetooth_traits)
   Compiling media v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\media)
   Compiling profile_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\profile_traits)
   Compiling net_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\net_traits)
   Compiling canvas_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\canvas_traits)
   Compiling bluetooth v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\bluetooth)
   Compiling profile v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\profile)
   Compiling net v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\net)
   Compiling script_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\script_traits)
   Compiling metrics v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\metrics)
   Compiling webvr v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\webvr)
   Compiling webdriver_server v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\webdriver_server)
   Compiling compositing v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\compositing)
   Compiling canvas v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\canvas)
   Compiling script_layout_interface v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\script_layout_interface)
   Compiling gfx v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\gfx)
   Compiling layout_2013 v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\layout)
   Compiling layout_traits v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\layout_traits)
   Compiling constellation v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\constellation)
   Compiling layout_thread_2013 v0.0.1 (C:\Users\sasch\Documents\GitHub\servo\components\layout_thread)
    Finished dev [unoptimized + debuginfo] target(s) in 24m 00s
Packaging gstreamer DLLs
ERROR: could not find required GStreamer DLL: avfilter-7.dll
ERROR: could not find required GStreamer DLL: avformat-58.dll
ERROR: could not find required GStreamer DLL: avcodec-58.dll
ERROR: could not find required GStreamer DLL: avutil-56.dll
ERROR: could not find required GStreamer DLL: swresample-3.dll
Packaging MSVC DLLs
Build FAILED in 0:24:03

I have installed the latest gstreamer 1.16.0 and build has been successful, why does this suddenly happen?

@CYBAI CYBAI added A-build Related to or part of the build process P-windows Any version of Windows capable of running Servo labels Jul 11, 2019
@CYBAI
Copy link
Member

CYBAI commented Jul 11, 2019

They are updated in #23712 as required packages for media support.

I don't have a windows machine but after reading #23712 and #23631 (comment), could you check your libs folder setting or something related? 🤔

cc @ferjm

@saschanaz
Copy link
Contributor Author

My gstreamer lib folder does not have those five dll files whereas it has all of files mentioned in #23712 (comment).

@jdm
Copy link
Member

jdm commented Jul 11, 2019

@saschanaz Did you install gstreamer-1.0-devel-msvc-x86_64-1.16.0.msi along with gstreamer-1.0-msvc-x86_64-1.16.0.msi?

@saschanaz
Copy link
Contributor Author

@jdm Yes:

image

@jdm
Copy link
Member

jdm commented Jul 11, 2019

Given that we can reproduce on appveyor in #23749, I'll try and sort out the problem there.

@ferjm
Copy link
Contributor

ferjm commented Aug 13, 2019

#23749 is done, so I am closing this one. Please, reopen if you still encounter this issue.

@ferjm ferjm closed this as completed Aug 13, 2019
@ferjm
Copy link
Contributor

ferjm commented Aug 13, 2019

@jdm Yes:

image

Make sure that you are installing the MSVC binaries. The MinGW ones won't work due to different dll naming.

@y-71
Copy link

y-71 commented Jul 4, 2021

I'm running through the same missing dlls.

@jdm
Copy link
Member

jdm commented Jul 5, 2021

Can you file a new issue with all of the DLL-related output?

@y-71
Copy link

y-71 commented Jul 5, 2021

@jdm i solved it by checking all the options on the gstreamer installer

thanks a lot for always being proactive! you rock!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-build Related to or part of the build process P-windows Any version of Windows capable of running Servo
Projects
None yet
Development

No branches or pull requests

5 participants