Get precompiled 3rd party libraries Error

This forum is about all development around libVLC.
system
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2018 10:38

Get precompiled 3rd party libraries Error

Postby system » 13 Jun 2018 11:06

Greetings,
I followd "https://wiki.videolan.org/Win32CompileMSYS" to build vlc in windows by msys2.
After execute
"
cd vlc/contrib
mkdir win32 && cd win32
../bootstrap --build=i686-w64-mingw32
"
msys2 prompt:
"
$ ../bootstrap --build=i686-w64-mingw32
Guessing host system... i686-w64-mingw32
Packages licensing... GPL version 3
Creating configuration file... config.mak
Bootstrap completed.
which: no protoc in (/home/myusername/vlc/extras/tools/build/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
which: no protoc in (/home/myusername/vlc/extras/tools/build/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
../../contrib/src/protobuf/rules.mak:13: *** protoc not found in PATH /home/myusername/vlc/extras/tools/build/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
"
How do I resolve this problem? Thanks a a lot.

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Get precompiled 3rd party libraries Error

Postby Rémi Denis-Courmont » 13 Jun 2018 18:48

If you decide to stick to the MSYS method, you are on your own. Should you encounter any problem and ask for help, expect to be told to cross-compile.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

system
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2018 10:38

Re: Get precompiled 3rd party libraries Error

Postby system » 14 Jun 2018 05:41

Thank you, Rémi.
I'll try cross-platform.

Moriquendi
Blank Cone
Blank Cone
Posts: 74
Joined: 31 May 2011 16:22

Re: Get precompiled 3rd party libraries Error

Postby Moriquendi » 27 Nov 2018 15:49

Hello,

I've encountered the same problem. For those who wonder how to solve this, go to "https://repo1.maven.org/maven2/com/goog ... toc/3.1.0/" (or whichever protoc version you need) and download "protoc-3.1.0-windows-x86_32.exe". Copy this file under "/home/<username>/vlc/extras/tools/build/bin" (if folder doenst exist, create one) and rename it as "protoc.exe" and you should be good to go.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 10 guests