Dolphin, the GameCube and Wii emulator - Forums
Problems trying to install beta on Debian - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: Problems trying to install beta on Debian (/Thread-problems-trying-to-install-beta-on-debian)



Problems trying to install beta on Debian - Fabian - 09-01-2018

Followup post to this, since I got no answer: https://forums.dolphin-emu.org/Thread-beta-installation-fails-as-qt5-incompatibility

I wanted to play Super Mario Galaxy 2 with two players, but that requires relative motion of a cursor with keys, which is in the beta, but not the release.
So I tried to install the beta. I followed this tutorial: https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux
When executing "cmake .." where the tutorial says to do that, I get this output:
Code:
-- Detected architecture: x86_64
-- X11 support enabled
-- Xrandr found
--  Found avcodec: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavcodec.so
--  Found avformat: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavformat.so
--  Found avutil: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavutil.so
--  Found swresample: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libswresample.so
--  Found swscale: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libswscale.so
-- libav/ffmpeg found, enabling AVI frame dumps
-- libevdev/libudev found, enabling evdev controller backend
-- Using named pipes as controller inputs
-- Watching game memory for changes
-- Enabling analytics collection (subject to end-user opt-in)
-- Using static enet from Externals
-- Using static xxhash from Externals
-- Using shared zlib
-- Using static lzo from Externals
-- Using shared libpng
-- Using shared LibUSB
-- Found SFML 2.4 in /usr/include
-- Using shared SFML
-- Using shared miniupnpc
-- Could NOT find MBEDTLS (missing:  MBEDTLS_VERSION_OK)
-- Using static mbed TLS from Externals
-- Using shared libcurl
-- Using static DiscordRPC from Externals
-- libsystemd found, enabling traversal server watchdog support
-- Using static gtest from Externals
-- Could NOT find OpenSLES (missing:  OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR)
-- ALSA found, enabling ALSA sound backend
-- PulseAudio found, enabling PulseAudio sound backend
-- BlueZ found, enabling bluetooth support
CMake Error at Source/Core/DolphinQt/CMakeLists.txt:1 (find_package):
Could not find a configuration file for package "Qt5" that is compatible
with requested version "5.9".

The following configuration files were considered but not accepted:

  /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.7.1



-- Configuring incomplete, errors occurred!
See also "/home/fabian/dolphin_beta/dolphin-emu/Build/CMakeFiles/CMakeOutput.log".
See also "/home/fabian/dolphin_beta/dolphin-emu/Build/CMakeFiles/CMakeError.log".
The output of
Code:
apt-file search Qt5Config.cmake
is:
Code:
libaccounts-qt5-dev: /usr/lib/x86_64-linux-gnu/cmake/AccountsQt5/AccountsQt5Config.cmake
libphonon4qt5-dev: /usr/lib/x86_64-linux-gnu/cmake/phonon4qt5/Phonon4Qt5Config.cmake
libsignon-qt5-dev: /usr/lib/x86_64-linux-gnu/cmake/SignOnQt5/SignOnQt5Config.cmake
libtelepathy-qt5-dev: /usr/lib/x86_64-linux-gnu/cmake/TelepathyQt5/TelepathyQt5Config.cmake
qtbase5-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake
To be safe I installed all five of these packages. I also installed version 5.10 of Qt5-default from here, which apparently now has version 5.11 (not tried that one). I also installed qtbase5-private-dev, libreadline-dev and tried to install libpolarssl-dev, but the page gave error messages for all four servers. Then I tried the Qt installer and selected the latest stable version (5.11 I think) once and 5.9 once.
None of these steps helped, I still get the same output as at the beginning.
CMakeOutput.log and CMakeError.log are attached.


RE: Problems trying to install beta on Debian - Fabian - 10-03-2018

According to a user here it's a problem with this Qt version not being used by programs in the current Debian version, making an update, if it's even possible, break most other programs: https://www.reddit.com/r/linuxquestions/comments/9isw9u/cant_get_dolphin_emulator_beta_to_compile_qt/
For now I can play on Windows, but that's not a permanent solution.


RE: Problems trying to install beta on Debian - Fabian - 10-03-2018

Forget my last post, it actually works! After installing Qt using the Qt installer, I just had to add it to the PATH variable: https://stackoverflow.com/questions/52230014/compiling-dolphin-emulator-beta/52617527#52617527