Transfer compiled lr cores from one machine to another?
That's fine, the log shows that the module compilation fails at the last stage
g++ -o ppsspp_libretro.so [....] -fPIC -lpthread -lGL /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status
I think we had a similar topic recently with the someone that installed the nVidia video driver manually, which had exactly the same problem. Did you install he driver manually or via the Ubuntu software center or one of their PPAs ?
I installed it via additional drivers and thought that might be the case so I reverted to nouveau and tried building again last night...no luck. Also thought it could be a permission issue in the build folder and that also is not it either. I could throw an AMD card in there and see what happens I guess.
I found that retroarch and lr-mupen64plus stop compiling at the same stage, but I forgot that when I initially set it up I did have and AMD card in there and swapped in the Nvidia card later.
@Parabolaralus Seems something similar to https://askubuntu.com/questions/485157/cannot-find-lgl-but-ive-installed-the-nvidia-driver. Do you have the
libgl1-mesa-devpackage installed ?
@mitu I think you're right on the money here. What did you google to find that? I looked all over using the keywords -lGL after going through the logs and came up dry BUT i did not combine it with nvidia which it may be. I seem to recall seeing that package when i did an apt autoremove command at one point so i likely do not even need to switch cards and should just be able to apt install it!
I wont know until tonight though...
BTW i also did try copying the core over as well as configs and as you suggested it did not work out...it just kicks you back to ES. It was a bad idea from the getgo so i didnt bother troubleshooting it and just reverted everything back the way it was before.
Aha, so you probably removed the package after installing RetroPie. That package should have been installed by the RetroArch package installation, so try re-installing RetroArch and then installing
lr-ppsspp. No card switching should be needed.
Thats why i think i need to just apt install libgl1-mesa-dev because retroarch also fails to compile at the same spot! Its still installed i just did a couple tests light night doing an update on packages.
Hm, the RA package should install that package anyway, so you're right. Just to check, you have the
nvidia-driver-390package installed, right ?
Seems like you'd be hitting this situation. Try installing the recommended package -
libglvnd-devand see if installation works this time.
Thank you for all the help, but i gave in last night after spending another couple hours install --reinstalling everything i could think of. That particular package wasnt in my list, but good to know in the future.
Obviously i did something that caused this and it seems to be related to the nvidia driver used so theres a pretty good chance ill run into this again at some point since all my workstations (including at work) run linux with some that do have nvidia cards.
I wish i knew exactly how i did it though...I even went as far as setting up another workstation retracing my steps exactly as i thought i did at home and could not reproduce the issue.
I believe i also had a couple ports open running to the machine for when it ran windows, but i dont think theyre open by default in ubuntu (666, 3389) so maybe, but maybe not...
Anyhow thank you for much for the help!