Page 1 of 1

Windows Build - Fails to configure and distclean

Posted: 08 Aug 2017 10:31
by deanwarrenuk
Firstly using Ubuntu 14.04.05 Desktop 64bit and managed to get https://wiki.videolan.org/UnixCompile/ to successfully build VLC 2.2.4 and execute. :)

Using the same environment as above and trying to follow https://wiki.videolan.org/Win32Compile/. Note it states 'Ubuntu 14.04' is to old to build VLC - I assume this is with regards to the latest VLC e.g. 3.0.0 (it's not clear what version it's to old for?). Also using the 'prebuilt' third party libs as per instructions.

However ran into the following issues:

1)
The following instruction

Code: Select all

apt-get install wine64-development-tools libwine-dev zip p7zip nsis bzip2
fails as the wine packages not in the repo. Is there a ppa I need to add? Instead I used wine1.6-dev - is this correct?

2)
The following instruction

Code: Select all

../extras/package/win32/configure.sh --host=x86_64-w64-mingw32 --build=x86_64-pc-linux-gnu
fails stating

Code: Select all

configure: error: source directory already configured; run "make distclean" there first
So I go back a directory, execute make distclean. This also fails with

Code: Select all

configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
Go back to directory and execute the following again

Code: Select all

../extras/package/win32/configure.sh --host=x86_64-w64-mingw32 --build=x86_64-pc-linux-gnu
Same error as previously. Any ideas?

Re: Windows Build - Fails to configure and distclean

Posted: 08 Aug 2017 12:53
by deanwarrenuk
OK.

So running the command (as per instructions down the page :oops: )

Code: Select all

sudo apt-get install lua5.1
Fixes 2). And this in turn fixed 1). :)

So now I get this

Code: Select all

configure: error: Library dvdread > 4.9.0 needed for dvdread was not found
But dvdread should have been resolved with the following as run when building the original Linux version right?

Code: Select all

sudo apt-get build-dep vlc
If I browse in

Code: Select all

contrib/src/dvdread/rules.mak
I see version 5.0.3. Is this the right place to look for win32 prebuilt contribs (don't think so) - I think this is the Linux ones to be built, right?

If I browse in

Code: Select all

contrib/win32
There is a archive file called

Code: Select all

vlc-contrib-x86_64-w64-minw32-latest.tar.bz2 I assume this is the prebuilt win32 contribs - is it? Anyhow there is a libdvdread but how to tell what version is it? I mean I can't use readelf -d <lib? as this is a Windows bin/lib not an elf, right?