Project

General

Profile

Actions

Emulator Issues #10644

closed

Won't compile with ffmpeg master head, few deprecated functions have been recently deleted.

Added by kiroma over 6 years ago. Updated about 6 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-6897

Description

What's the problem? Describe what went wrong.

Dolphin won't compile if you have installed ffmpeg from master head source. Recently they've started purging all deprecated functions and calls, leaving behind functionally equal alternatives.

What steps will reproduce the problem?

Compile and install latest ffmpeg from source, and then attempt to compile Dolphin. It will stop at Source/Core/VideoCommon/CMakeFiles/videocommon.dir/AVIDump.cpp

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

commit 1e33fd0d3540e288f124c1c41891a768103f6290

Actions #1

Updated by JosJuice over 6 years ago

  • Milestone set to Current
Actions #2

Updated by Helios over 6 years ago

  • Status changed from New to Accepted
  • Priority changed from Normal to High
  • Operating system Linux added
  • Operating system deleted (N/A)
Actions #3

Updated by jlozadad over 6 years ago

Affected by this also on fedora 27.

Actions #4

Updated by Helios over 6 years ago

  • Status changed from Accepted to Fix pending
Actions #5

Updated by jlozadad over 6 years ago

Helios wrote:

https://github.com/dolphin-emu/dolphin/pull/6243

Can somebody on ffmpeg master try to compile my branch: https://github.com/Helios747/dolphin/tree/ffmpeg_fix

trying to test now.

Actions #6

Updated by jlozadad over 6 years ago

jlozadad wrote:

Helios wrote:

https://github.com/dolphin-emu/dolphin/pull/6243

Can somebody on ffmpeg master try to compile my branch: https://github.com/Helios747/dolphin/tree/ffmpeg_fix

trying to test now.

I tried to build but, it failed here.

[ 91%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/VideoConfigDiag.cpp.o
[ 91%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/WxEventUtils.cpp.o
[ 91%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/WxUtils.cpp.o
[ 91%] Linking CXX executable ../../../Binaries/dolphin-emu
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/7/../../../libjack.so when searching for -ljack
/usr/bin/ld: skipping incompatible //lib/libjack.so when searching for -ljack
/usr/bin/ld: skipping incompatible //usr/lib/libjack.so when searching for -ljack
/usr/bin/ld: cannot find -ljack
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/build.make:2373: Binaries/dolphin-emu] Error 1
make[1]: *** [CMakeFiles/Makefile2:1442: Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2

Actions #7

Updated by kiroma over 6 years ago

I tried to build it and it works. Jlozadad's fail is likely unrelated.

Actions #8

Updated by jlozadad over 6 years ago

kiroma wrote:

I tried to build it and it works. Jlozadad's fail is likely unrelated.

what flavor did you try it on? I'm using fedora 27.

Actions #9

Updated by kiroma over 6 years ago

jlozadad wrote:

kiroma wrote:

I tried to build it and it works. Jlozadad's fail is likely unrelated.

what flavor did you try it on? I'm using fedora 27.

Kubuntu 17.10 x64, GCC 7.

Actions #10

Updated by JosJuice about 6 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-6897
Actions

Also available in: Atom PDF