Hints for compiling VLC 3.0.x + PDB files for Win32 arch

This forum is about all development around libVLC.
inimirpaz
New Cone
New Cone
Posts: 2
Joined: 10 Feb 2022 14:24

Hints for compiling VLC 3.0.x + PDB files for Win32 arch

Postby inimirpaz » 10 Feb 2022 14:39

Greetings to you all,
I am currently able to compile VLC 3.0.12 for Windows x86 on a Ubuntu machine via the following:
  • Checking out the https://git.videolan.org/git/vlc/vlc-3.0.git repository (currently my HEAD is at commit b4c7317abbbd1b91d1bb4899e7a5fa2b1b78f6c6 though)
  • Using the docker image registry.videolan.org:5000/vlc-debian-win32
  • Then building by using "./extras/package/win32/build.sh -a i686 -i r"
(inspired by https://forum.videolan.org/viewtopic.php?t=146175 )

What I need to do is build the same but with PDB files. As far as I am aware of I need to compile with the LLVM toolchain and you provide the registry.videolan.org/vlc-debian-llvm-mingw docker image for that... I was able to compile against the https://code.videolan.org/videolan/vlc.git repository checked out on the default master branch and generating the PDB files with no issues (provinding the -d param to the build script), but I need to do that not on the 4.x version rather on the 3.0.x branch. So I tried to checkout the tag 3.0.16 of the repository but I get compilation errors (even trying with a clean checkout of the 3.0.16 branch). What am I doing wrong here? Is the docker image wrong?

Thank you in advance, and please ask should you need further info. And sorry if the section is wrong or the question was already answered (I searched but could not find anything exactly like this)

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: Hints for compiling VLC 3.0.x + PDB files for Win32 arch

Postby mfkl » 11 Feb 2022 05:03

This is not currently "officially supported". Meaning that you need to make some (not straightforward) changes to the docker image and toolchains to get this working.
https://mfkl.github.io

inimirpaz
New Cone
New Cone
Posts: 2
Joined: 10 Feb 2022 14:24

Re: Hints for compiling VLC 3.0.x + PDB files for Win32 arch

Postby inimirpaz » 11 Feb 2022 08:48

This is not currently "officially supported". Meaning that you need to make some (not straightforward) changes to the docker image and toolchains to get this working.
Hi mfkl, thank you for your reply!
Is there any other "officially supported" way of achieving a 3.0.x version with PDB files for Win32? Any up-to-date guide to use or insights to share?

Specifically, I am getting the following module errors (but I suppose this is just the first of a possibly very long chain of errors).

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: Hints for compiling VLC 3.0.x + PDB files for Win32 arch

Postby mfkl » 14 Feb 2022 03:02

Is there any other "officially supported" way of achieving a 3.0.x version with PDB files for Win32? Any up-to-date guide to use or insights to share?
I'm afraid not, sorry, you're on your own for this.
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests