• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 7 8 9 10 11 ... 1197 Next »

Compiling on Ubuntu 20.04 - fixesproto 6.0 error
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Compiling on Ubuntu 20.04 - fixesproto 6.0 error
02-04-2023, 01:46 AM (This post was last modified: 02-04-2023, 02:01 AM by Leseratte10.)
#1
Leseratte10 Offline
Wiimmfi-Team
***
Posts: 56
Threads: 10
Joined: Apr 2019
Hello,

I'm trying to compile the latest version of Dolphin (46b99671d9158e0ca840c1d8ef249db0f321ced7) on Ubuntu 20.04, following the instructions on the Wiki: https://github.com/dolphin-emu/dolphin/wiki/Building-for-Linux

I installed gcc-10 and gcc-11 (tested both), and I installed QT6.

When running cmake, this is the result:

Code:
-- Xrandr found
-- Checking for module 'xi>=1.5.0'
--   Package 'xfixes' requires 'fixesproto >= 6.0' but version of fixesproto is 5.0
CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message):
 A required package was not found
Call Stack (most recent call first):
 /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:643 (_pkg_check_modules_internal)
 CMakeLists.txt:539 (pkg_check_modules)

Am I missing a dependency? I installed all dependencies that were listed in the wiki.

Googling the error message I found a couple threads with similar issues but no solution (Example 1, Example 2) but not really a solution.

Is the Wiki page missing some dependency for Ubuntu 20.04? Or did I somehow mess up my system so that this no longer works?

EDIT: A freshly-installed Ubuntu 20.04 prints this instead: 
Code:
-- Checking for module 'xi>=1.5.0'

--   Found xi, version 1.7.10
-- X11 support enabled

So I did probably mess up my system somehow. Does anyone have an idea how I can get it back to a working state? "xi" isn't really a name that one can google ...
Find
Reply
02-04-2023, 03:18 AM
#2
GenerationI Offline
Junior Member
**
Posts: 33
Threads: 3
Joined: Oct 2022
Maybe you need a newer version of cmake, but I'm not sure. I'm on Linux Mint 21 which has cmake version 3.22.1-1ubuntu1.22.04.1, which works for me.
Find
Reply
02-04-2023, 03:27 AM
#3
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 5,953
Threads: 4
Joined: Sep 2013
Check if you have `libxi-dev`installed
Find
Reply
02-04-2023, 03:46 AM (This post was last modified: 02-04-2023, 03:48 AM by Leseratte10.)
#4
Leseratte10 Offline
Wiimmfi-Team
***
Posts: 56
Threads: 10
Joined: Apr 2019
Thanks for the responses. I've compared my "normal" machine with 20.04 where it fails, and a new clean VM with 20.04 where it works.

Both of them have cmake in version 3.16.3-1ubuntu1.20.04.1 and libxi-dev in version 2:1.7.10-0ubuntu1, so that's not the issue. Reinstalling these also didn't help.
Find
Reply
02-05-2023, 12:19 AM
#5
Leseratte10 Offline
Wiimmfi-Team
***
Posts: 56
Threads: 10
Joined: Apr 2019
Looks like I had a broken PPA installed.

I used https://launchpad.net/~savoury1/+archive/ubuntu/ffmpeg4 to get a newer version of ffmpeg and VLC, and it looks like these have a newer version of libxfixes (6.0.0-1) that conflicts with some other stuff.
I edited /usr/lib/x86_64-linux-gnu/pkgconfig/xfixes.pc and replaced "fixesproto >= 6.0" with "fixesproto >= 5.0" and now Dolphin compiles and runs again.

Probably not the cleanest solution, but hey, it's working again. I'm going to try and report that to the PPA's maintainer then, maybe they can somehow fix whatever the conflict is.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode