Building VLC3 Windows leads to heavy libs

This forum is about all development around libVLC.
kolor
New Cone
New Cone
Posts: 8
Joined: 15 May 2014 14:26

Building VLC3 Windows leads to heavy libs

Postby kolor » 02 Mar 2018 15:55

I build VLC 3.0.1 Windows from Ubuntu with gcc, now I have libs that are 5x larger than VLC public release libs.

For example my libavcodec.dll is about 110Mo when VLC player 3.0.1 has 20Mo.

I'm not using "enable-debug" when configuring, I use build instructions from here : https://wiki.videolan.org/Win32Compile/

I disable some plugins to skip build errors :
../extras/package/win32/configure.sh --host=x86_64-w64-mingw32 --build=x86_64-pc-linux-gnu --disable-lua --disable-faad --disable-chromecast

I use "package-win-strip" at the end.

Note that I have to build manually contribs because prebuilt ones give me link errors. Maybe the issue comes from here.

Any idea ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Building VLC3 Windows leads to heavy libs

Postby Jean-Baptiste Kempf » 06 Mar 2018 18:59

You need to run strip manually on the dll, I'd say.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kolor
New Cone
New Cone
Posts: 8
Joined: 15 May 2014 14:26

Re: Building VLC3 Windows leads to heavy libs

Postby kolor » 08 Mar 2018 11:18

yes that's it, thanks!
I used this command if it can help someone : "find myVLClibs/ -name '*.dll' | xargs strip"


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests