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

    libretro does not build on Ubuntu 18.04 x64

    Scheduled Pinned Locked Moved Help and Support
    ubuntu18.04libretro
    6 Posts 5 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.
    • V
      volpeandrew
      last edited by

      On Ubuntu 18.04 (currently in beta) on x64, libretro fails to build with the following error:

      "./libretro-common/include/glsym/rglgen_headers.h:27:10: fatal error EGL/egl.h: No such file or directory"

      egl.h is provided by the libegl1-mesa-dev package. Once that package is installed it succeeds in building. I know 18.04 won't be released for a month but this should be a quick fix so that RetroPie can be installed when 18.04 is released.

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

        Same error here after the Stable Ubuntu 18.04 LTS release

        1 Reply Last reply Reply Quote 0
        • markwkiddM
          markwkidd
          last edited by

          I'd suggest reporting this in the retroarch discord channel or the github issue tracker.

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators
            last edited by

            This should be fixed but I need more info about versions (eg RetroPie). Install the egl headers and see if that helps. apt-get install libegl1-mesa-dev or similar. On phone so from memory.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • B
              blakesha
              last edited by

              Had the compile error. Went to update the libraries - LOADS of issues around dependencies because the setup script includes their own version (?!?!?!) of the SDL2 headers and libraries. Got Synaptic Package Manager to fix the broken dependencies and got the rest of the required components installed and then rerun the Basic Install from the retropie-setup program.. busily compiling away now - will update with results (btw - it still installs its own version of the SDL2 headers and libraries - ?!?!?)

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @blakesha
                last edited by BuZz

                @blakesha Start a new topic and post details / link to log.

                I am not aware of any dependency problems.

                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

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                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.