RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Daphne install on ubuntu 18.04 x86_64

    Scheduled Pinned Locked Moved Help and Support
    daphne
    49 Posts 14 Posters 6.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kartman
      last edited by

      @MrCoolSpan

      Anybody care to help... Installed and compiled with the daphne.sh dated Feb28 at 4:13. Seemed to go fine but, when the emulator is run out of EmulationStation, I get the following error message.

      /opt/retropie/emulators/daphne/daphne.bin: error while loading shared libraries: libGLEW.so.1.3: cannot open shared object file: No such file or directory
      

      I'm a bit new at this but would really love to get Dragon's Lair running. Any help would be greatly appreciated! :)

      K ClydeC 2 Replies Last reply Reply Quote 0
      • K
        Kartman @Kartman
        last edited by

        @MrCoolSpan

        Just a bit more info... the missing lib file is present as follows.

        retropie@Archer:/opt/retropie/emulators/daphne/lib$ ll
        total 2672
        drwxr-xr-x 2 retropie retropie    4096 Jun 17 02:29 ./
        drwxr-xr-x 5 retropie retropie    4096 Jun 17 02:29 ../
        -rw-r--r-- 1 retropie retropie 1238810 Jun 17 02:29 libcrypto.so.0.9.7
        -rw-r--r-- 1 retropie retropie  129972 Jun 17 02:29 libexpat.so.1
        -rwxr-xr-x 1 retropie retropie  298882 Jun 17 02:29 libGLEW.so.1.3*
        -rw-r--r-- 1 retropie retropie  230443 Jun 17 02:29 libssl.so.0.9.7
        -rw-r--r-- 1 retropie retropie  820216 Jun 17 02:29 libstdc++.so.6
        
        1 Reply Last reply Reply Quote 0
        • ClydeC
          Clyde @Kartman
          last edited by

          @Kartman Which operating system are you using? (name, release number, and 32 or 64 bit)

          If your system is 32 bit, try

          sudo apt install libglew-dev:i386
          

          If your system is 64 bit, try

          sudo apt install libglew-dev
          

          If that doesn't fix your problem, please show us the output of the sudo apt command. Besides, the daphne.sh should take care of this.

          johnodonJ 1 Reply Last reply Reply Quote 0
          • C
            construkt
            last edited by construkt

            I'm getting errors trying to install on Ubuntu 18.04 x86_64.

            /home/pi/RetroPie-Setup/scriptmodules/emulators/daphne.sh: line 2: $'\r': command not found
            /home/pi/RetroPie-Setup/scriptmodules/emulators/daphne.sh: line 11: $'\r': command not found
            /home/pi/RetroPie-Setup/scriptmodules/emulators/daphne.sh: line 18: $'\r': command not found
            /home/pi/RetroPie-Setup/scriptmodules/emulators/daphne.sh: line 19: syntax error near unexpected token `$'{\r''
            /home/pi/RetroPie-Setup/scriptmodules/emulators/daphne.sh: line 19: `function depends_daphne() '
            
            ClydeC 1 Reply Last reply Reply Quote 0
            • ClydeC
              Clyde @construkt
              last edited by

              @construkt Seems like you (or someone else) wrote or edited your daphne.sh in Windows which has slightly different codes for line endings (the \r Ubuntu is complaining about).

              You should be able to fix it with the command line tool dos2unix. You can install it in Ubuntu with

              sudo apt install dos2unix
              

              and then convert the file

              cd /home/pi/RetroPie-Setup/scriptmodules/emulators/
              dos2unix daphne.sh
              

              or if you don't want to change the original file in place

              cd /home/pi/RetroPie-Setup/scriptmodules/emulators/
              dos2unix -n daphne.sh daphne-new.sh
              

              will save the edited file as daphne-new.sh.

              C 1 Reply Last reply Reply Quote 0
              • C
                construkt @Clyde
                last edited by construkt

                @Clyde i fixed it.

                I didn't like some of the spacing, so I took out the problematic ones and it seems to work okay now. Dragons Lair runs really fast though, its easy to get lost.

                I definitely was the one to edit it, since I copied and pasted it into Notepad++, so that makes sense. Thanks for the response, it's good to know what the hell is happening with this stuff. I'm just winging it, trying to edit code and seeing what happens. RetroPie is on my little Intel NUC, but I do pretty much all the handling of stuff with my Windows desktop, then transfer it over.

                1 Reply Last reply Reply Quote 0
                • ClydeC
                  Clyde
                  last edited by

                  Good to hear that it's working now. By the way, you can save files with correct Linux EOL (end of lines) with Notepad++, see here.

                  1 Reply Last reply Reply Quote 0
                  • johnodonJ
                    johnodon @Clyde
                    last edited by

                    @Clyde said in Daphne install on ubuntu 18.04 x86_64:

                    @Kartman Which operating system are you using? (name, release number, and 32 or 64 bit)

                    If your system is 32 bit, try

                    sudo apt install libglew-dev:i386
                    

                    If your system is 64 bit, try

                    sudo apt install libglew-dev
                    

                    If that doesn't fix your problem, please show us the output of the sudo apt command. Besides, the daphne.sh should take care of this.

                    FYI...I am running Ubuntu Mini 18.04.4 x86_64 and was receiving the same error. I had to install the 32-bit library to get around it.

                    pi@elitedesk:~/RetroPie-Setup/scriptmodules/emulators$ uname -a
                    Linux elitedesk 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
                    

                    John

                    1 Reply Last reply Reply Quote 1
                    • C
                      CaptainDatabase
                      last edited by CaptainDatabase

                      I've been trying to recreate these modifications to install daphne on my Atomic Pi. I got the emulator to install, but it unfortunately still doesn't show the roms in emulation station. If anyone knows what might cause this, I'd appreciate any advice you can share!

                      Update: I've gotten emulation station to show roms, but the emulator is still giving me an error when trying to run saying that vldp2 is not found.

                      1 Reply Last reply Reply Quote 0
                      • M
                        MrCoolSpan
                        last edited by

                        sorry about the no response i have a lot to do
                        now i well try this on my new ubuntu 20.4 x64 system

                        C 1 Reply Last reply Reply Quote 1
                        • C
                          CaptainDatabase @MrCoolSpan
                          last edited by

                          Sorry, forgot to update. Manually installing vldp2 fixed the issue. I'm not sure why the lines in the script didn't work properly, but doing it myself worked fine. 🤷‍♂️

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MrCoolSpan
                            last edited by

                            @mrcoolspan said in Daphne install on ubuntu 18.04 x86_64:

                            American Laser Games

                            I have now install it on my ubuntu 20.4
                            i have this working now
                            Daphne
                            American Laser Games
                            ActionMax needs a some game file editing

                            1 Reply Last reply Reply Quote 0
                            • M
                              MrCoolSpan
                              last edited by

                              Hello
                              I have update the script and fils
                              it now support
                              Daphne
                              American Laser
                              AutoMax

                              the easy way to install it
                              it to you my git
                              git clone --depth=1 https://github.com/MrCoolSpan/RetroPie-Setup.git
                              have fun

                              H 1 Reply Last reply Reply Quote 1
                              • M
                                MrCoolSpan @CaptainDatabase
                                last edited by

                                @captaindatabase I have fixt it

                                1 Reply Last reply Reply Quote 0
                                • H
                                  heavyholyman @MrCoolSpan
                                  last edited by

                                  @mrcoolspan I've installed Ubunto 20.4 and the latest updates and RetroPie from mrcoolspan .git
                                  The setup script fails to execute and logs a dependency i cannot resolve:

                                  E: Unable to locate package python-pyudev
                                  Unable to install packages required by /home/arcade/RetroPie-Setup/retropie_packages.sh - Could not install package(s): python-pyudev.

                                  ClydeC 1 Reply Last reply Reply Quote 0
                                  • ClydeC
                                    Clyde @heavyholyman
                                    last edited by

                                    @heavyholyman It's not part of the official Ubuntu repositories after 18.04 anymore:

                                    https://packages.ubuntu.com/search?keywords=python-pyudev&suite=default&section=all&arch=any&searchon=names

                                    Until @mrcoolspan updates the script, you could try to download and install the 18.04 version. Choose a mirror in your region, download the file, and try to install it with this command:

                                    sudo dpkg -i python-pyudev_0.21.0-1_all.deb
                                    

                                    I didn't test this, though. There might be other packages missing or at the wrong (newer) version in 20.04.

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      heavyholyman @Clyde
                                      last edited by

                                      @clyde Thanks for the advice! It was tedious, but i finally got Daphne working properly on Ubuntu 20.04.2. To install from MrCoolSpan's git, i installed python-pyudev as you suggested. However, it first needed python-six, which i tried to install using 'sudo apt-get install python-six'. That also threw an error, but things improved after 'sudo apt --fix-broken install'. After that command, i was able to install python-six, then python-pyudev.

                                      With the pre-reqs taken care of, i was then able to run retropie-setup and install daphne. Games launched from EmulationStation, but i prefer Attract-Mode front-end. Attract would not launch any games, and displayed an error that it could not load VLDP dynamic library. That was resolved by copying libvldp2.so to the /lib/ directory. 'sudo cp /opt/retropie/emulators/daphne/libvldp2.so /lib'

                                      All is working now, but i sure wish daphne simply worked 'out of the box' instead of requiring the extra steps!

                                      ClydeC 1 Reply Last reply Reply Quote 1
                                      • ClydeC
                                        Clyde @heavyholyman
                                        last edited by Clyde

                                        @heavyholyman Good to hear that it works. As a little word of advice, I would have linked the libvldp2.so to /lib rather than copying it:

                                        sudo ln -f -s /opt/retropie/emulators/daphne/libvldp2.so /lib/libvldp2.so
                                        

                                        The -f option (force) will replace any existing file or link with the same name in the destination with the new link. The -s option will create a so-called symbolic link (symlink) or soft link that shows you its destination when you list it with the ls command.

                                        ls -l /lib/libvldp2.so
                                        

                                        (Both l are lowercase L and not ones.)

                                        This way, you'll always know where this file in one of your system's directories came from. But this is only a measure for a tidy system and shouldn't make any operational difference. 🧐

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MrCoolSpan @Clyde
                                          last edited by

                                          @clyde I have fix that ;)
                                          just download from my git

                                          1 Reply Last reply Reply Quote 1
                                          • V
                                            VintageVolts
                                            last edited by

                                            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

                                            6f51ea11-9ab7-4125-910e-f758cd502235-image.png

                                            mituM 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            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.