Can't install lr-vice?
-
Hi I've been trying to add C64 to my RetroPie for a few weeks now but can never seem to get it to install without receiving an error message which ends with "vice_x64_libretro.so not found". I have searched for solutions and can install lr-vice no problem on RetroArch for Windows but would love to be able to do it on my RetroPie. Apologies if this is not enough information, I am relatively savvy with RetroPie but stumped as to how to overcome this one! I'm using a 4.2 image if that helps (haven't upgraded/updated to 4.4). Cheers
-
@VultureStreet did you update retropie setup first?
-
@edmaul69 Yeah I always update the setup script before installing/updating any packages but it makes no difference to lr-vice, it always hits that error.
-
@VultureStreet You'll have to find the actual error - the one you posted is a generic 'something went wrong and I can't find the file'. You'll find in the
~/RetroPie-Setup/logs
the logfile created during installation, this is where the detailed error will be saved. Post the contents of the log file to pastebin.com to see how this can be solved. -
@mitu Hopefully this is what you mean: https://pastebin.com/ZAfiC5w3
Please let me know if not and thanks for your help! -
@VultureStreet Yes, the error is quite clear
libretro/libretro-core.o libretro/libretro-core.c: In function ‘retro_load_game’: libretro/libretro-core.c:1287:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode for(unsigned i = 0; i < dc->count; i++)
The compiler from your system cannot compile this version of
lr-vice
without extra parameters. You can either update to the latest RetroPie image, based on Raspbian Stretch, or modify the scriptmodule to add the extra-std=c11
to the compilation flags. -
@mitu Thank you for your help looking into this! I have no idea how to add compilation flags and had hoped to avoid needing to use a fresh image of 4.4 (I know its not that big a chore or anything) but if that's the only option I'll just leave lr-vice off the pi for now. Thanks again mate, much appreciated.
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.