Project

General

Profile

Actions

Emulator Issues #7870

closed

Fails To Compile On Linux Mint 17

Added by voice06 about 10 years ago. Updated over 6 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Game ID?

What's the problem? Describe what went wrong in few words.
Dolphin fails to compile

What did you expect to happen instead?
Successful compile

What steps will reproduce the problem?

  1. git clone https://github.com/dolphin-emu/dolphin.git
  2. cd dolphin
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make -j8

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
Commit da962a3d2b035875518df079fd286337e85de371

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work? N/A

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)

OS: Linux Mint 17
CPU: Intel(R) Core(TM) i7-4770
GPU: nVidia GTX680
RAM: 12 GB

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
make error:
http://pastebin.com/YZvRMggW

Actions #1

Updated by autofire372 about 10 years ago

Cannot reproduce. Looks to me like you're missing a dependency.

Actions #3

Updated by autofire372 about 10 years ago

Maybe your libav needs to be updated?

Actions #4

Updated by voice06 about 10 years ago

I don't use LibAV, I use FFMPEG:

ffmpeg version N-66477-gecf5526 Copyright (c) 2000-2014 the FFmpeg developers
built on Sep 26 2014 14:30:13 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libaacplus --enable-pic --enable-shared
libavutil 54. 7.101 / 54. 7.101
libavcodec 56. 1.101 / 56. 1.101
libavformat 56. 7.100 / 56. 7.100
libavdevice 56. 1.100 / 56. 1.100
libavfilter 5. 1.102 / 5. 1.102
libswscale 3. 1.100 / 3. 1.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 1.100 / 53. 1.100

Actions #5

Updated by tatokis almost 10 years ago

Dolphin compiled here just fine with FFMPEG.

ffmpeg version N-67644-gb186b71 Copyright (c) 2000-2014 the FFmpeg developers
built on Nov 14 2014 05:58:31 with gcc 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
configuration: --extra-libs=-ldl --enable-avresample --enable-nonfree --enable-gpl --enable-version3 --enable-x11grab --enable-libx264 --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libaacplus --enable-libfaac --enable-pic --enable-shared --enable-libfdk-aac
libavutil 54. 11.100 / 54. 11.100
libavcodec 56. 12.100 / 56. 12.100
libavformat 56. 12.103 / 56. 12.103
libavdevice 56. 2.100 / 56. 2.100
libavfilter 5. 2.103 / 5. 2.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

So ffmpeg probably needs to be updated, as mentioned eariler.

Actions #6

Updated by voice06 almost 10 years ago

Compiled with the latest git pull of FFMPEG:

ffmpeg version N-68019-g79ceaf8 Copyright (c) 2000-2014 the FFmpeg developers
built on Nov 26 2014 10:14:49 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libaacplus --enable-pic --enable-shared
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.100 / 56. 15.100
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

Still got the same linker error after doing a git pull , make clean, cmake .., make on Dolphin:

Linking CXX executable ../../../Binaries/dolphin-emu
../VideoCommon/libvideocommon.a(AVIDump.cpp.o): In function AVIDump::CreateFile()': AVIDump.cpp:(.text+0x1de): undefined reference to av_frame_alloc'
AVIDump.cpp:(.text+0x1ea): undefined reference to av_frame_alloc' ../VideoCommon/libvideocommon.a(AVIDump.cpp.o): In function AVIDump::CloseFile()':
AVIDump.cpp:(.text+0x77a): undefined reference to av_frame_free' AVIDump.cpp:(.text+0x784): undefined reference to av_frame_free'
collect2: error: ld returned 1 exit status
make[2]: *** [Binaries/dolphin-emu] Error 1
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [all] Error 2

Actions #7

Updated by Starsam80 almost 10 years ago

Try following https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux if you didn't in the first place, try adding the optional dependencies if it fails

Actions #8

Updated by sergiobenrocha2 over 9 years ago

This should be closed, I'm building on trusty since February, no problems.

"I don't use LibAV, I use FFMPEG"

Maybe I'm wrong, but I think it's not a good idea to mess with this on debian/ubuntu based. Try a "clean" environment, it should build fine with the tips of link above.

Actions #9

Updated by leoetlino over 6 years ago

  • Status changed from New to Invalid

Closing as requested

Actions

Also available in: Atom PDF