Emulator Issues #13545
openCompilation process fails on Ubuntu 24.04
0%
Description
What's the problem? Describe what went wrong.
Make process fail on Ubuntu 24.04, on Ubuntu 22.04 the make process finish normally. Builds made on 22.04 don't works on 24.04, because a FFMPEG version problem.
Issue on make process:
[ 77%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/IOS/USB/Bluetooth/BTReal.cpp.o
[ 77%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/HW/GBACore.cpp.o
[ 77%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/HW/SI/SI_DeviceGBAEmu.cpp.o
[ 77%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/HW/EXI/BBA/TAP_Unix.cpp.o
[ 77%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/HW/WiimoteReal/IOLinux.cpp.o
/home/user/Downloads/dolphin/Source/Core/Core/HW/GBACore.cpp: In member function ‘HW::GBA::CoreInfo HW::GBA::Core::GetCoreInfo() const’:
/home/user/Downloads/dolphin/Source/Core/Core/HW/GBACore.cpp:309:11: error: ‘struct mCore’ has no member named ‘currentVideoSize’
309 | m_core->currentVideoSize(m_core, &info.width, &info.height);
| ^~~~~~~~~~~~~~~~
/home/user/Downloads/dolphin/Source/Core/Core/HW/GBACore.cpp: In member function ‘void HW::GBA::Core::SetVideoBuffer()’:
/home/user/Downloads/dolphin/Source/Core/Core/HW/GBACore.cpp:396:11: error: ‘struct mCore’ has no member named ‘currentVideoSize’
396 | m_core->currentVideoSize(m_core, &width, &height);
| ^~~~~~~~~~~~~~~~
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/build.make:4416: Source/Core/Core/CMakeFiles/core.dir/HW/GBACore.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1399: Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
5.0-21593, I think.
What are your PC specifications? (CPU, GPU, Operating System, more)
Ryzen 5 5600, RTX 2060 Super, Ubuntu 24.04
Updated by JosJuice 7 months ago
This looks like it's related to the mGBA version, not the ffmpeg version. Did you download the Dolphin source code from https://github.com/dolphin-emu/dolphin?
Updated by renatoramalho 7 months ago
JosJuice wrote in #note-1:
This looks like it's related to the mGBA version, not the ffmpeg version. Did you download the Dolphin source code from https://github.com/dolphin-emu/dolphin?
Firstly, thank you for your attention in help me with this issue. Yes, I download from official repository. The FFMPEG mention was just a exemple to show that the compilation finishes normally on Ubuntu 22.04, but the binary generated is not compatible with the Ubuntu 24.04.
Updated by renatoramalho 7 months ago
JosJuice wrote in #note-1:
This looks like it's related to the mGBA version, not the ffmpeg version. Did you download the Dolphin source code from https://github.com/dolphin-emu/dolphin?
The make process finished normally after uninstall all mgba and libmgba packages of my system. Thanks for helping me.