Daphne install on ubuntu 18.04 x86_64
-
@clyde I have fix that ;)
just download from my git -
New issue. Can't get Daphne to compile because it needs bits/predefs.h to be available. I believe it's missing from the latest version of Ubuntu.
I'm using Ubuntu 22.04.1 LTS 64-bit
-
@VintageVolts Please open a separate topic - you seem to have a different issue than the original poster (which was using Ubuntu 18.04).
-
I was using the replacement install script that the OP put out in his first post. The point I was making is that his script is having issues in a newer version of Ubuntu.
Even heavyholyman in this thread is referring to Ubuntu 20.04.2 with the conversation continuing on.
Mine just seemed to be an issue regarding running the OP's new install script, regardless of Ubuntu version.
-
@VintageVolts Maybe try hypseus instead of the old Daphne code, it's maintained and works for PC systems also.
-
Tried that already. Doesn't compile in Ubuntu 22 64-bit either. That's why I decided to see if MrCoolSpan had an answer for Daphne and Ubuntu 22 first, since its issue was already on the table, so to speak.
-
@VintageVolts said in Daphne install on ubuntu 18.04 x86_64:
Tried that already. Doesn't compile in Ubuntu 22 64-bit either.
Hm, that's an issue - is the same error you get on the original Daphne sources or it's during the configuration phase (
cmake
error) ? -
It's the same error.
-
@VintageVolts You may be missing some package dependencies.
Why are you trying to build the package manually ? You can installhypseus
from RetroPie-Setup - like any other emulators - and there's no error when doing so (tested on Ubuntu 22.04). -
@VintageVolts said in Daphne install on ubuntu 18.04 x86_64:
It's the same error.
So
predefs.h
is one of the headers needed to compile against 32 bit binaries in a 64 bit system. It's usually present in libc6-dev-i386 package.I suspect you are missing the step to enable 32-bit Arch in 22.04 - tutorialforlinux link.
sudo dpkg --add-architecture i386 sudo apt install libc6-dev:i386 libc6:i386 libstdc++6:i386 libncurses5:i386 zlib1g:i386 etc.....
But as @mitu states use
RetroPie-Setup
-
RetroPie-Setup is what I tried first. That's what led me down this rabbit hole.
The RetroPie Setup on an x64 environment is blocked through the Setup program. Both Daphne and Hypseus are listed in red to indicate that they are 32-bit and cannot be installed through Setup.
My next step was to install them manually, following instructions on both the Daphne and Hypseus respective pages. Both of them had issues. Daphne only supplies compiled binaries, which fail over and SDL issue, but Hypseus lets you compile from sources... with the listed error.
After finding Daphne sources referenced by MrCoolSpan on this very thread, I found that both Daphne and Hypseus fail to compile due to the missing predefs.h file.
Thank you for your link to enabling 32-bit Arch in 22.04. That is another resource, or potential solution, I was hoping to be offered. I will try that and see if I can get past the current error.
-
@VintageVolts said in Daphne install on ubuntu 18.04 x86_64:
The RetroPie Setup on an x64 environment is blocked through the Setup program. Both Daphne and Hypseus are listed in red to indicate that they are 32-bit and cannot be installed through Setup.
Hypseus is not 'blocked', there's no flag to indicate is 32bit only. Not sure where you got the scriptmodule - what version of RetroPie-Setup are you using ?
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.