Problems installing dolphin on raspberry pi 4
-
@unknown build errors will appear before that in the log. you should post the full build log. but of course we will not be supporting modified build scripts on unsupported configurations (aarch64) :)
does the libretro build even support pi4? you should establish that first.
-
@dankcushions said in Problems installing dolphin on raspberry pi 4:
@unknown build errors will appear before that in the log. you should post the full build log. but of course we will not be supporting modified build scripts on unsupported configurations (aarch64) :)
does the libretro build even support pi4? you should establish that first.
I'm pretty sure libretro does support pi 4 since I've installed other emulators like lr-dseumme without a modified script.
Why isn't aarch64 supported? I was unable to post the entire log file because the forum said it was to long. However here is a link -
@unknown said in Problems installing dolphin on raspberry pi 4:
@dankcushions said in Problems installing dolphin on raspberry pi 4:
@unknown build errors will appear before that in the log. you should post the full build log. but of course we will not be supporting modified build scripts on unsupported configurations (aarch64) :)
does the libretro build even support pi4? you should establish that first.
I'm pretty sure libretro does support pi 4 since I've installed other emulators like lr-dseumme without a modified script.
support for different architectures is not automatic. does it support gles 3.1 on libretro? apparently it doesn't support pi4 + vulkan: https://github.com/libretro/dolphin/issues/180
Why isn't aarch64 supported?
because raspberry pi OS 64-bit is still in beta, and because it's still largely untested in retropie.
I was unable to post the entire log file because the forum said it was to long. However here is a link
that's not a link to your file.
-
@dankcushions The address I'm using is: https://github.com/Python-retropie-raspberry-pi-hobby/1/blob/main/README.md
It takes me right to my file. Where is that link taking you? -
This post is deleted! -
@unknown my mistake, that's just a baffling way of hosting a build log :P https://pastebin.com/ not enough?
anyway, you can see plenty of errors in that log:
CMake Error at Source/Core/Core/CMakeLists.txt:1 (add_library): Target "core" links to target "LibLZMA::LibLZMA" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
so i would guess you're missing a dependency for LibLZMA?
and stuff like
[ 40%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/GL/GLContext.cpp.o /home/pi/RetroPie-Setup/tmp/build/lr-dolphin/Source/Core/Common/ArmCPUDetect.cpp: In member function 'void CPUInfo::Detect()': /home/pi/RetroPie-Setup/tmp/build/lr-dolphin/Source/Core/Common/ArmCPUDetect.cpp:91:18: error: 'HWCAP_FP' was not declared in this scope bFP = hwcaps & HWCAP_FP; ^~~~~~~~
which makes me think you're not building with the correct arguments for aarch64, but who knows.
-
@dankcushions said in Problems installing dolphin on raspberry pi 4:
@unknown my mistake, that's just a baffling way of hosting a build log :P https://pastebin.com/ not enough?
anyway, you can see plenty of errors in that log:
CMake Error at Source/Core/Core/CMakeLists.txt:1 (add_library): Target "core" links to target "LibLZMA::LibLZMA" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
so i would guess you're missing a dependency for LibLZMA?
and stuff like
[ 40%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/GL/GLContext.cpp.o /home/pi/RetroPie-Setup/tmp/build/lr-dolphin/Source/Core/Common/ArmCPUDetect.cpp: In member function 'void CPUInfo::Detect()': /home/pi/RetroPie-Setup/tmp/build/lr-dolphin/Source/Core/Common/ArmCPUDetect.cpp:91:18: error: 'HWCAP_FP' was not declared in this scope bFP = hwcaps & HWCAP_FP; ^~~~~~~~
which makes me think you're not building with the correct arguments for aarch64, but who knows.
After changing :
function depends_lr-dolphin() { depends_dolphin }
to
function depends_lr-dolphin() { local depends=(cmake pkg-config libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libenet-dev liblzo2-dev libminiupnpc-dev libopenal-dev libpulse-dev libreadline-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libxext-dev libxi-dev libxrandr-dev portaudio19-dev zlib1g-dev libudev-dev libevdev-dev libmbedtls-dev libcurl4-openssl-dev libegl1-mesa-dev qtbase5-private-dev) # current HEAD of dolphin doesn't build gtk2 UI anymore compareVersions $__gcc_version lt 6 && depends+=(libgtk2.0-dev libwxbase3.0-dev libwxgtk3.0-dev) getDepends "${depends[@]}" }
I did not see any dependency errors.
which makes me think you're not building with the correct arguments for aarch64, but who knows.
How would you suggest I fix that?
-
@unknown no idea. would have to dig into the cmake rules.
-
@dankcushions I had been running the 32bit image with 64bit enabled. When I built an image off the 64bit beta, It installed and worked. I didn't even need the custom script.
-
@unknown that makes sense. you would have had the 64-bit kernel with the 32-bit userland, confusing things.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.