Compiling error

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
StronkAndStable
New Cone
New Cone
Posts: 3
Joined: 16 Mar 2019 01:11

Compiling error

Postby StronkAndStable » 03 Apr 2019 20:31

I have been trying to compile VLC for 32-bit Windows using an Ubuntu 64 virtual machine, and after running

Code: Select all

$ mkdir -p contrib/win32 $ cd contrib/win32 $ ../bootstrap --host=i686-w64-mingw32 $ make fetch
as required for 32-bit Windows, I get the following error:

Code: Select all

... echo "cpu = '`echo i686-w64-mingw32 | cut -d - -f 1`'" >> crossfile.meson echo "endian = 'little'" >> crossfile.meson cd dav1d && rm -rf ./build cd dav1d && CPPFLAGS=" -I/home/david/vlc/contrib/i686-w64-mingw32/include" CFLAGS=" -I/home/david/vlc/contrib/i686-w64-mingw32/include -g -O2" CXXFLAGS=" -I/home/david/vlc/contrib/i686-w64-mingw32/include -g -O2" LDFLAGS=" -L/home/david/vlc/contrib/i686-w64-mingw32/lib " meson --default-library static --prefix "/home/david/vlc/contrib/i686-w64-mingw32" --backend ninja -Dlibdir=lib --buildtype release --cross-file /home/david/vlc/contrib/win32/crossfile.meson -D build_tests=false -D build_tools=false -D win32_ver=false build /bin/sh: 1: meson: not found make: *** [../../contrib/src/dav1d/rules.mak:31: .dav1d] Error 127 david@david-VirtualBox:~/vlc/contrib/win32$ ^C david@david-VirtualBox:~/vlc/contrib/win32$ sudo make [sudo] password for david: cd dav1d && rm -rf ./build cd dav1d && CPPFLAGS=" -I/home/david/vlc/contrib/i686-w64-mingw32/include" CFLAGS=" -I/home/david/vlc/contrib/i686-w64-mingw32/include -g -O2" CXXFLAGS=" -I/home/david/vlc/contrib/i686-w64-mingw32/include -g -O2" LDFLAGS=" -L/home/david/vlc/contrib/i686-w64-mingw32/lib " meson --default-library static --prefix "/home/david/vlc/contrib/i686-w64-mingw32" --backend ninja -Dlibdir=lib --buildtype release --cross-file /home/david/vlc/contrib/win32/crossfile.meson -D build_tests=false -D build_tools=false -D win32_ver=false build /bin/sh: 1: meson: not found make: *** [../../contrib/src/dav1d/rules.mak:31: .dav1d] Error 127
I am guessing that this error message is telling me that the file ../../contrib/src/dav1d/rules.mak:31: .dav1d is missing?

I've freshly cloned from the git.videolan.org, and as far as I can tell I've been following the WIn32Compile instructions to the letter. What could be going wrong?

Thank you

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

Re: Compiling error

Postby Rémi Denis-Courmont » 03 Apr 2019 21:12

"meson: not found" tells it all
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Compiling error

Postby unidan » 04 Apr 2019 11:31

Look at extras/package/win32/build.sh, you need to run it first or build the extras/tools yourself first. You'll also need python if not already available


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests