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

    Error: no opengl libraries given

    Scheduled Pinned Locked Moved Help and Support
    avplibraryopengl
    14 Posts 3 Posters 1.3k 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.
    • mituM
      mitu Global Moderator
      last edited by

      You'll have to be more specific - how did you install the game ? Does it have a download/project page with instructions on how to install/run ?

      1 Reply Last reply Reply Quote 0
      • T
        Turrican2k
        last edited by

        Here, Date Sun Dec 31, 2017 8:51 am

        https://www.raspberrypi.org/forums/viewtopic.php?p=1252534#p1252534

        (I use my own version of AVP Gold)

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          This looks like it works only in Xorg, one of the forum posters mentions that:

          9.this only works in X-Windows, and the window itself is small, but you can change the resolution to make it larger.

          You can start it from EmulationStation as an X.org application, similar to how lincity works, for instance. You just need to prefix the game command in emulators.cfg with XINIT to tell runcommand to start the Xserver before the game.

          1 Reply Last reply Reply Quote 0
          • T
            Turrican2k
            last edited by

            So I take e.g. the LinCity-NG.sh and rename it to AVP.sh. I change the content from:

            #!/bin/bash
            "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "lincity-ng" ""

            To:

            #!/bin/bash
            XINIT "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "lincity-ng" ""

            Is that correct?
            Will AVP run smoother then?

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by mitu

              @Turrican2k said in Error: no opengl libraries given:

              Is that correct?

              No, you need to have

               "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "avp" ""
              

              and also create a folder /opt/retropie/configs/ports/avp, where you add a file called emulators.cfg, containing:

              avp = "XINIT:/full/path/to/avp"
              default = "avp"
              

              Obviously, replace /full/path/to/avp with the full path to the avp binary that launches the game.

              Will AVP run smoother then?

              I doubt it. It's still running in the same configuration as before - in an X.org session.

              1 Reply Last reply Reply Quote 1
              • T
                Turrican2k
                last edited by Turrican2k

                Avp not found. How/where can i register avp?
                (home/Pi/avp/avpxbox/avp)

                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by

                  Linux is case-sensitive, make sure any path you enter is correct and fully qualified (i.e. /home/pi is not the same as home/Pi).

                  1 Reply Last reply Reply Quote 1
                  • T
                    Turrican2k
                    last edited by Turrican2k

                    Thanks, it starts :)
                    Unfortunately, the keyboard doesn't work over it and I can't say whether it's going well. How can i fix it?

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @Turrican2k
                      last edited by

                      @Turrican2k said in Error: no opengl libraries given:

                      How can i fix it?

                      Start the game in a desktop session then.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Turrican2k
                        last edited by Turrican2k

                        ok, the keyboard works with a little trick. Thanks for your help.

                        Unfortunately, AVP is still running very slowly. I read somewhere that someone got AVP to work on a Raspberry 2 (?). He had used other files to install. Maybe someone still knows a possibility?

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          retropi19 @Turrican2k
                          last edited by retropi19

                          @turrican2k i run it in no desktop enviroment with the -f switch but it shows in a small screen in the middle,how you make it run in fullscreen?

                          Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

                          Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

                          1 Reply Last reply Reply Quote 0
                          • 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.