代码之家  ›  专栏  ›  技术社区  ›  Fabian Röling Dan Williams

编译海豚模拟器测试版

  •  2
  • Fabian Röling Dan Williams  · 技术社区  · 7 年前

    here ,因为它是关于编译软件的。

    我原来的问题 :我想和另一个玩家玩超级马里奥银河2。但不管我指定什么键来移动光标,它都会一直移动到屏幕的角落(或边缘)。从理论上讲,Linux有能力拥有多个游标(至少显示系统“X”允许),但从一项研究来看,我必须对系统进行重大更改才能真正使用它。即使这样,我也怀疑海豚会支持它。

    :Dolphin的当前beta中存在光标从键的相对运动,但我无法安装它。它没有固定的安装程序,而是有源代码下载和 this tutorial .

    我安装了 the dependencies , downloaded the beta , created and entered the "Build" directory ,但当我尝试 cmake .. ,我得到这个输出:

    -- 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".
    

    输出 apt-file search Qt5Config.cmake

    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
    

    为了安全起见,我安装了这五个软件包。我还安装了Qt5 default的5.10版本 here ,后来也是5.11。我还安装了qtbase5 private dev、libreadline dev,并尝试安装libpolarssl dev,但是 the page 给出了所有四台服务器的错误消息(台湾人的一台只是永远加载,其他的给出404)。然后我试着 Qt installer
    这些步骤都没有起到任何作用,我仍然得到与开始时相同的输出。

    CMakeOutput.log 从上次尝试安装时开始: https://pastebin.com/EP5qDGE9
    CMakeError.log 从上次尝试安装时开始: https://pastebin.com/9p4Ni0jE

    我的规格:
    Debian 9.5版

    Linux内核4.9.0-8-amd64
    已安装的软件包: https://pastebin.com/DeYAvJtu

    1 回复  |  直到 7 年前
        1
  •  1
  •   Fabian Röling Dan Williams    7 年前

    非常感谢用户 dugan 在linuxquestions.org网站! 他解决了我的问题 here .

    我只需要从另一个源安装Qt(我使用 Qt installer
    然后我不得不把二进制文件加到 PATH 变量,如:

    export PATH=/home/fabian/Qt/5.11.2/gcc_64/bin:$PATH
    

    tutorial 他说了。