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

    Can't install lr-vice?

    Scheduled Pinned Locked Moved Help and Support
    lr-viceinstall errorcommodore 64
    7 Posts 3 Posters 760 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
      VultureStreet
      last edited by

      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

      edmaul69E 1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @VultureStreet
        last edited by

        @VultureStreet did you update retropie setup first?

        V 1 Reply Last reply Reply Quote 1
        • V
          VultureStreet @edmaul69
          last edited by

          @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.

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

            @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.

            1 Reply Last reply Reply Quote 0
            • V
              VultureStreet
              last edited by VultureStreet

              @mitu Hopefully this is what you mean: https://pastebin.com/ZAfiC5w3
              Please let me know if not and thanks for your help!

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

                @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.

                V 1 Reply Last reply Reply Quote 0
                • V
                  VultureStreet @mitu
                  last edited by

                  @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.

                  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.