Page 1 of 1

Get precompiled 3rd party libraries Error

Posted: 13 Jun 2018 11:06
by system
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.

Re: Get precompiled 3rd party libraries Error

Posted: 13 Jun 2018 18:48
by Rémi Denis-Courmont
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.

Re: Get precompiled 3rd party libraries Error

Posted: 14 Jun 2018 05:41
by system
Thank you, Rémi.
I'll try cross-platform.

Re: Get precompiled 3rd party libraries Error

Posted: 27 Nov 2018 15:49
by Moriquendi
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.