Could not successfully build retroarch ubuntu 18.04
-
Hello,
I'm running into an error when trying to set up retropie on ubuntu 18.04. I get a error message stating
Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/pat/Documents/retropi/RetroPie-Setup/tmp/build/retroarch/retroarch not found).
Here is the full log
Note emulation-station and a bunch of emulators also fail to install but all seemingly from the same reason. This log file is just from trying to build retorarch from the manage core package menu in the retropie setup script. I get the same error here as the basic install. I posted what the errors from the log as best as I could tell.It looks like I am running into the same or simular issue as this poster. However I was not able to get enough information out of the post to fully troubleshoot my issue.
It seems the poster and I are having issues with our Nvidia drivers. My graphics card is the GeForce GTX 750 Ti and the driver I installed was the NVIDIA-Linux-x86_64-440.59
I used this guide to install my drivers.
As far as I can tell these are the errors in the log file:
Checking existence of -lGL ... no Notice: OpenGL is disabled, Cg support will also be disabled. Notice: OpenGL is disabled, OpenGL1 support will also be disabled. Notice: OpenGL and OpenGLES3 are disabled. Disabling OpenGL core. Notice: OpenGL and OpenGLES are disabled, GLSL support will also be disabled.
CC input/drivers_joypad/udev_joypad.c gfx/drivers_context/x_ctx.c:179:12: warning: ‘x_log_error_handler’ defined but not used [-Wunused-function] static int x_log_error_handler(Display *dpy, XErrorEvent *event)
LD retroarch /usr/bin/ld: cannot find -lEGL collect2: error: ld returned 1 exit status Makefile:207: recipe for target 'retroarch' failed make: *** [retroarch] Error 1 /home/pat/Documents/retropi/RetroPie-Setup Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/pat/Documents/retropi/RetroPie-Setup/tmp/build/retroarch/retroarch not found).
Thank you for your help. I think i have it narrowed down to an issue with the graphics card driver but I don't know where to go from here.
-
Can you try to install the NVIDIA GPU driver via the Ubuntu software center and not manually installing it ? This might set-up the proper files and links so that the OpenGL libraries (and headers) are correctly installed.
-
Thank you for the reply. Before I saw you replied I tried reinstalling the drivers using the method you so happened to post in the thread I linked at the top. That worked for me. I will say I installed drivers 340 instead of 440 so that could of been my issue.
For anyone that runs into this problem in the future here is a guide to install Nvidia drivers the way mitu recommended in this thread.
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.