[vlc-devel] [PATCH 1/1] add bin to PATH to let libvlc.dll be found by vlc-cache-gen.exe

Sergey Radionov rsatom at gmail.com
Wed Jan 4 09:33:46 CET 2012


2011/12/25 Sergey Radionov <rsatom at gmail.com>:
> Fix "This application has failed to start because libvlc.dll
> was not found. Re-installing the application may fix this problem."
> during building of vlc under Windows.
> ---
>  Makefile.am |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 358ac5f..dae8ad1 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -406,6 +406,7 @@ vlc$(EXEEXT):
>  ###############################################################################
>  install-exec-hook:
>        if test "$(build)" = "$(host)"; then \
> +               PATH="$(DESTDIR)$(bindir):$$PATH" \
>                LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
>                "$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
>                         "$(DESTDIR)$(vlclibdir)/plugins" ; \
> --
> 1.7.7.1.msysgit.0
>

Is it forgotten?



More information about the vlc-devel mailing list