From VideoLAN Wiki
Revision as of 16:16, 23 September 2010 by Rogerdpack (talk | contribs)
Jump to navigation Jump to search

This is a list of various errors that have occurred "over the years" during building VLC with windows, with their resolutions. Of course, if it's not here, google is your friend.

"unix2dos" command not found: this meant "you forgot to install mingw-utils"

  • It doesn't link, and complains about missing gcc symbols: You missed this line in the instructions:

Use text editor to change MinGW\lib\gcc\mingw32\4.4.0\ file (line should be library_names=) due to bug in latest MinGW.

Originally, there was apparently a bug with 4.4.0 GCC (not 4.4.1), fixed thus (except that in reality, you must use TDM, not vanilla GCC, because you need sljl exception handling):

Then, update Mingw GCC to 4.4.0 by downloading and extracting it to C:\Mingw (replacing files when asked). Finally, you'll gave to fix the file C:\MinGW\lib\gcc\mingw32\4.4.0\ by opening it and changing the line defining library_names so that it reads library_names=''

  • Compilation stops early, after configure was complaining about mismatched quotes:

Check the VLC_COMPILE_HOST variable in your config.h - if it's Option f is not valid then hostname -f fails (on Windows, there is no such option as -f). In change

AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, "`hostname -f 2> /dev/null || hostname`", [host which ran configure])


AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, "`hostname`", [host which ran configure])
PATH=/c/Program\ Files/NSIS/:$PATH make package-win32