mingw-w64 2 prebuilt libraries?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
JohnPeterson
New Cone
New Cone
Posts: 4
Joined: 26 Mar 2012 08:10

mingw-w64 2 prebuilt libraries?

Postby JohnPeterson » 22 May 2012 05:44

The mingw-w64 prebuilt contrib packages doesn't work with mingw-w64 2.0.1-1 (stable) as some of the libraries use an "___ms" prefix for msvc functions which is not used by mingw-w64 2. This results in config.log messages such as

/home/user/vlc/contrib/i686-w64-mingw32/lib/libdvdnav.a(dvdnav.o):dvdnav.c:(.text+0x23): undefined reference to `___ms_vsnprintf'

It might be of interest to know which of the contrib packages on the site that link against mingw-w64 2, if any. Otherwise it's necessary to install mingw-w64 3 (it's not in the stable or unstable Debian/Ubuntu APT channel yet)

Code: Select all

wget -N http://ftp.us.debian.org/debian/pool/main/m/mingw-w64/mingw-w64-dev_3.0~svn4933-1_all.deb; sudo dpkg -i mingw*deb
to use the prebuilt libraries. If a function reference is undefined this will search for available mingw functions

Code: Select all

sudo dpkg --get-selections|cut -f1|grep mingw|xargs dpkg -L|xargs ack-grep "ms_vsnprintf"
Thanks!
Last edited by JohnPeterson on 23 May 2012 16:36, edited 6 times in total.

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: mingw-w64 2 prebuilt libraries?

Postby Jean-Baptiste Kempf » 22 May 2012 17:42

Recompile the contribs, then.
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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 41 guests