Closed Kaes3kuch3n closed 6 years ago
What is the output of find /usr/local/opt/ffmpeg*/lib /usr/local/lib -name libavcodec.pc
on your system?
Do you also have ffmpeg 3.4.x installed?
/usr/local/opt/ffmpeg/lib/pkgconfig/libavcodec.pc /usr/local/opt/ffmpeg@2.8/lib/pkgconfig/libavcodec.pc /usr/local/opt/ffmpeg@3/lib/pkgconfig/libavcodec.pc /usr/local/lib/pkgconfig/libavcodec.pc
Yes, ffmpeg 3.4.1 is installed, too.
Okay, I removed version 3.4.1 now and it is working! Thank you for the hint :)
But you should also be able to use 3.4.1 with the latest development version of USDX.
(OS: macOS 10.13.2)
Actual behaviour
The configure script doesn't find the latest version of ffmpeg@2.8 installed via homebrew, because it is using libavutil version 54.031.100. Changing the version in the configure script doesn't fix the issue, because this version of libavutil is not supported.
Expected behaviour
It should compile using ffmpeg@2.8.
Steps to reproduce
brew install fpc
xcode-select --install
brew install sdl2 sdl2_image automake portaudio binutils sqlite freetype lua libtiff pkg-config ffmpeg@2.8
git clone https://github.com/UltraStar-Deluxe/USDX
./autogen.sh
./configure
Details
Error:
checking version of ffmpeg... configure: error: Unsupported ffmpeg version, most recent version supported is 3.3.