Skip to content

Instantly share code, notes, and snippets.

@rossy
Last active August 29, 2015 14:12
Show Gist options
  • Save rossy/169d7e871bef5ed1bf6c to your computer and use it in GitHub Desktop.
Save rossy/169d7e871bef5ed1bf6c to your computer and use it in GitHub Desktop.
@Soukyuu
Copy link

Soukyuu commented Jan 8, 2015

At configure stage

  • it fails to locate libass include headers
  • if libass is disabled, it then chokes on ffmpeg detection stage, failing to detect it

pacman -Syu shows "nothing to do", so I'm as up to date as it gets. Double checked that all packages (even optional) are installed. Any ideas?

@rossy
Copy link
Author

rossy commented Jan 8, 2015

libass is the first uncommon dependency that will break the build if it's not present, so my guess is that the configure script can't find any MinGW deps. Did you start a MinGW-w64 shell? (MinGW-w64 Win64 Shell in the start menu or mingw64_shell.bat in the install directory.)

@rossy
Copy link
Author

rossy commented Jan 8, 2015

Also, the CC=gcc bit in ./waf configure is important if you have MSYS2 gcc installed, since cc and gcc point to different compilers.

@Soukyuu
Copy link

Soukyuu commented Jan 8, 2015

Oh jeez. I was starting the MSYS2 shell instead, serves me right for reading the instructions half asleep.
It works and compiles now, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment