Pages : 1
#1 Le 31/05/2023, à 19:07
- nz
[RESOLU] Compilation Dolphin
Bonjour bonjour,
J'ai installé Dolphin par la logithèque pour émuler un jeu gamecube. Impeccable, ça marche bien avec une iso. Mais il ne prend pas les fichiers .rvz. C'est la version 5.0 qui est fournie or il semble que ce format n'est pris que par les suivantes.
J'ai donc désinstallé Dolphin 5.0, et j'ai tenté de l'installer en le compilant comme dit dans le 1.3 de la doc : https://doc.ubuntu-fr.org/dolphin_emulateur
Malheureusement à l'avant-dernière étape j'ai ça :
toi@grosordi:~/dolphin/Build$ cmake ..
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_policy):
The OLD behavior for policy CMP0080 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Using GCC 11.3.0
-- Detected architecture: x86_64
-- Xrandr found
-- X11 support enabled
-- EGL OpenGL interface enabled
-- 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)
-- Enabling automatic update support
CMake Warning at CMakeLists.txt:708 (find_package):
By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "fmt", but
CMake did not find one.
Could not find a package configuration file provided by "fmt" (requested
version 8) with any of the following names:
fmtConfig.cmake
fmt-config.cmake
Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
to a directory containing one of the above files. If "fmt" provides a
separate development package or SDK, be sure it has been installed.
-- Using static fmt from Externals
-- Module support is disabled.
-- Version: 9.1.0
-- Build type: Release
-- CXX_STANDARD: 11
-- Required features: cxx_variadic_templates
-- Using static enet from Externals
-- Using static xxhash from Externals
-- Using shared bzip2
-- Using shared lzma
-- Using shared zstd version: 1.4.8
CMake Error at Externals/zlib-ng/CMakeLists.txt:7 (add_subdirectory):
The source directory
/home/toi/dolphin/Externals/zlib-ng/zlib-ng
does not contain a CMakeLists.txt file.
CMake Error at Externals/zlib-ng/CMakeLists.txt:14 (add_library):
add_library cannot create ALIAS target "ZLIB::ZLIB" because target "zlib"
does not already exist.
-- Checking for module 'minizip>=3.0.0'
-- No package 'minizip' found
-- Shared minizip not found, falling back to the static library
-- Using shared lzo
-- Checking for module 'spng'
-- No package 'spng' found
-- Using static libspng from Externals
-- Using static FreeSurround from Externals
-- Could NOT find CUBEB (missing: CUBEB_INCLUDE_DIR CUBEB_LIBRARY)
-- Using static cubeb from Externals
CMake Warning at Externals/cubeb/CMakeLists.txt:28 (find_package):
By not providing "FindSanitizers.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Sanitizers", but CMake did not find one.
Could not find a package configuration file provided by "Sanitizers" with
any of the following names:
SanitizersConfig.cmake
sanitizers-config.cmake
Add the installation prefix of "Sanitizers" to CMAKE_PREFIX_PATH or set
"Sanitizers_DIR" to a directory containing one of the above files. If
"Sanitizers" provides a separate development package or SDK, be sure it has
been installed.
CMake Error at Externals/cubeb/CMakeLists.txt:30 (message):
Could not find sanitizers-cmake: run
git submodule update --init --recursive
in base git checkout
-- Configuring incomplete, errors occurred!
See also "/home/toi/dolphin/Build/CMakeFiles/CMakeOutput.log".
See also "/home/toi/dolphin/Build/CMakeFiles/CMakeError.log".
Je ne sais pas trop quoi en penser. (Je ne maîtrise pas du tout les compilations.)
Quelqu'un pourrait-il m'aider s'il vous plaît ?
Dernière modification par nz (Le 01/06/2023, à 08:00)
Hors ligne
#2 Le 31/05/2023, à 19:44
- iznobe
Re : [RESOLU] Compilation Dolphin
Bonjour , vu la section 1.3 :
Par compilation (Ubuntu ≥ 18.04)
Instructions :Ceci est une traduction des instructions de compilation sur le wiki Dolphin
il est preferable de se fier a ce qui est indiqué sur le lien .
De plus tu ne precises pas quelle version d' ubuntu tu utilises , lorsqu ' on compile , c ' est important de savoir et surtout d' adapter en conséquence surtout lorsqu ' on est confronté a des paquets manquants .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#3 Le 31/05/2023, à 20:20
- iznobe
Re : [RESOLU] Compilation Dolphin
je viens de tester ce qui est decrit pour ubuntu sur la page du lien de la doc , ca marche jusqu ' au bout ( avant l' étape d' installation que je n' ai pas réalisée ) sur une 23.04 .
voici les commandes a passer :
sudo apt install --no-install-recommends ca-certificates qt6-base-dev qt6-base-private-dev libqt6svg6-dev git cmake make gcc g++ pkg-config libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libxi-dev libxrandr-dev libudev-dev libevdev-dev libsfml-dev libminiupnpc-dev libmbedtls-dev libcurl4-openssl-dev libhidapi-dev libsystemd-dev libbluetooth-dev libasound2-dev libpulse-dev libpugixml-dev libbz2-dev libzstd-dev liblzo2-dev libpng-dev libusb-1.0-0-dev gettext git
git clone https://github.com/dolphin-emu/dolphin.git dolphin-emu
cd dolphin-emu
git submodule update --init --recursive
mkdir Build && cd Build
cmake ..
make -j$(nproc)
sudo make install
Voici les dernieres lignes du " make " de mon test :
[ 98%] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/ToolBar.cpp.o
[100%] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Translation.cpp.o
[100%] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Updater.cpp.o
[100%] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/WiiUpdate.cpp.o
[100%] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/SignalDaemon.cpp.o
[100%] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GBAHost.cpp.o
[100%] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GBAWidget.cpp.o
[100%] Linking CXX executable ../../../Binaries/dolphin-emu
[100%] Built target dolphin-emu
[100%] Building CXX object Externals/gtest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[100%] Linking CXX static library ../../../lib/libgtest.a
[100%] Built target gtest
[100%] Building CXX object Source/UnitTests/CMakeFiles/unittests_main.dir/UnitTestsMain.cpp.o
[100%] Built target unittests_main
[100%] Building CXX object Source/UnitTests/CMakeFiles/unittests_stubhost.dir/StubHost.cpp.o
[100%] Built target unittests_stubhost
iznobe@iznobe-lunar:~/dolphin/Build$
Dernière modification par iznobe (Le 31/05/2023, à 22:34)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#4 Le 01/06/2023, à 08:00
- nz
Re : [RESOLU] Compilation Dolphin
Wonderzouper ! Ça marche !
J'ai fait les mêmes commandes que toi et tout s'est bien passé. Je suis sous ubuntu 22.04.2 LTS.
J'ai maintenant Dolphin 5.0-19465. Il lit les fichiers .rvz.
Il y a effectivement quelques différences entre les pages en français et en anglais. (qt5 ou lieu de qt6 par exemple...)
Merci iznobe !
Hors ligne
Pages : 1