Page 1 of 1

Compiling error

Posted: 03 Apr 2019 20:31
by StronkAndStable
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

Re: Compiling error

Posted: 03 Apr 2019 21:12
by RĂ©mi Denis-Courmont
"meson: not found" tells it all

Re: Compiling error

Posted: 04 Apr 2019 11:31
by unidan
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