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

    Could not successfully build lr-reicast - Dremcast emu - reicast port for libretro (/home/mac/RetroPie-Setup/tmp/build/lr-reicast/reicast_libretro.so not found).

    Scheduled Pinned Locked Moved Help and Support
    lr-reicast
    17 Posts 6 Posters 2.7k 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.
    • M
      macsgv
      last edited by macsgv

      Hello, I have a problem when installing the lr-reicast emulator I get this error:

      Could not successfully build lr-reicast - Dremcast emu - reicast port for libretro
      (/home/mac/RetroPie-Setup/tmp/build/lr-reicast/reicast_libretro.so not found).

      Apparently can not find the file: reicast_libretro.so

      The rest of emulators work correctly :-)

      Any suggestions?

      RetroPie Setup v4.4.2 + Linux Mint 19 Tara + NetBook

      Greetings.!!!

      macsgv 3 minutes ago
      @buzz I keep getting the same error I leave the log if there is a solution

      RetroPie-Setup version: 4.4.2 (66a7d020)
      System: Linux mac-Aspire-one 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 17:59:24 UTC 2018 i686 i686 i686 GNU/Linux
      ~/RetroPie-Setup/tmp/build/lr-reicast ~

      = = = = = = = = = = = = = = = = = = = = =
      Getting sources for 'lr-reicast' : Dremcast emu - Reicast port for libretro
      = = = = = = = = = = = = = = = = = = = = =

      git clone --recursive --depth 1 "https://github.com/libretro/reicast-emulator.git" "/home/mac/RetroPie-Setup/tmp/build/lr-reicast"
      Clonando en '/home/mac/RetroPie-Setup/tmp/build/lr-reicast'...
      ~
      ~/RetroPie-Setup/tmp/build/lr-reicast ~

      = = = = = = = = = = = = = = = = = = = = =
      Building 'lr-reicast' : Dremcast emu - Reicast port for libretro

      /usr/include/c++/7/new:122:7: note: in a call to allocation function ‘operator new []’ declared here
      void* operator new _GLIBCXX_THROW (std::bad_alloc)
      ^
      /tmp/ccGf7CVp.ltrans9.ltrans.o: En la función .L871': <artificial>:(.text+0x3e8d): referencia aGetRegPtr(unsigned int)' sin definir
      <artificial>:(.text+0x3eac): referencia a GetRegPtr(unsigned int)' sin definir <artificial>:(.text+0x3ecb): referencia aGetRegPtr(unsigned int)' sin definir
      <artificial>:(.text+0x3eea): referencia a GetRegPtr(unsigned int)' sin definir /tmp/ccGf7CVp.ltrans9.ltrans.o: En la función.L702':
      <artificial>:(.text+0x4f7d): referencia a GetRegPtr(unsigned int)' sin definir /tmp/ccGf7CVp.ltrans9.ltrans.o:<artificial>:(.text+0x5011): más referencias aGetRegPtr(unsigned int)' sin definir a continuación
      /tmp/ccGf7CVp.ltrans4.ltrans.o: En la función retro_unload_game': <artificial>:(.text+0x95ef): referencia angen_terminate()' sin definir
      /tmp/ccGf7CVp.ltrans8.ltrans.o: En la función ngen_CC_Param.constprop.19': <artificial>:(.text+0x97d1): referencia aGetRegPtr(unsigned int)' sin definir
      /tmp/ccGf7CVp.ltrans8.ltrans.o: En la función ngen_CC_Param.constprop.16': <artificial>:(.text+0x9a71): referencia aGetRegPtr(unsigned int)' sin definir
      /tmp/ccGf7CVp.ltrans8.ltrans.o: En la función ngen_CC_Param.constprop.14': <artificial>:(.text+0x9b72): referencia aGetRegPtr(unsigned int)' sin definir
      collect2: error: ld returned 1 exit status
      Makefile:605: recipe for target 'reicast_libretro.so' failed
      make: *** [reicast_libretro.so] Error 1
      ~
      Could not successfully build lr-reicast - Dremcast emu - Reicast port for libretro (/home/mac/RetroPie-Setup/tmp/build/lr-reicast/reicast_libretro.so not found).

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

        Can you update the Retropi-Setup script and then re-try the installation ?

        M 1 Reply Last reply Reply Quote 0
        • M
          macsgv @mitu
          last edited by

          @mitu Hello mitu I am updating how it takes your time then I will tell you.
          Regards :-)

          1 Reply Last reply Reply Quote 0
          • H
            hermit
            last edited by

            I can not find the emulator in the package list
            Retropie 4.4.2 + Raspberry PI 3 Model B

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

              Did you manage to fix this issue? I have the same problem.

              I've updated the Retropi-Setup script and all other packages without any problems. I'm on X86 (elementary-os)

              *"Could not successfully build lr-reicast - Dremcast emu - reicast port for libretro
              (/home/peter/RetroPie-Setup/tmp/build/lr-reicast/reicast_libretro.so not found).

              Apparently can not find the file: reicast_libretro.so"*

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

                @vermope What's the actual error you get during the compilation ? The lr-reicast works for me under Ubuntu x86_64.

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

                  @mitu these are the last lines of the log:

                  Makefile:734: recipe for target 'core/libretro/libretro.o' failed
                  make: *** [core/libretro/libretro.o] Error 1
                  make: *** Waiting for unfinished jobs....
                  ~/RetroPie-Setup
                  Could not successfully build lr-reicast - Dreamcast emu - Reicast port for libretro (/home/peter/RetroPie-Setup/tmp/build/lr-reicast/reicast_libretro.so not found).

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

                    @vermope said in Could not successfully build lr-reicast - Dremcast emu - reicast port for libretro (/home/mac/RetroPie-Setup/tmp/build/lr-reicast/reicast_libretro.so not found).:

                    Makefile:734: recipe for target 'core/libretro/libretro.o' failed
                    make: *** [core/libretro/libretro.o] Error 1
                    make: *** Waiting for unfinished jobs....

                    These are not helpful to diagnose the issue, are just generic 'something failed to compile' messages. Get the full log file and upload it to pastebin.com. The setup script will create log files for each operation in $HOME/RetroPie-Setup/logs, find the latest one (they are timestamped) and put its contents on pastebin.com.

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

                      @mitu Ok tnx! I look into it when I'm @home

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

                        @mitu Here are the logs:
                        https://pastebin.com/RB0vfLbV

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

                          The error is

                          core/libretro/libretro.cpp: In function ‘void UpdateVibration(u32, u32, u32)’:
                          core/libretro/libretro.cpp:2328:123: error: no matching function for call to ‘min(__gnu_cxx::__enable_if<true, double>::__type, int)’
                              vib_stop_time[port] = get_time_ms() + min(1000 * (INC ? abs(INC) * max(POW_POS, POW_NEG) : 1) / FREQ, (int)max_duration);
                                                                                                                                                     ^
                          In file included from /usr/include/c++/6/vector:60:0,
                                           from ./core/types.h:342,
                                           from core/libretro/libretro.cpp:4:
                          /usr/include/c++/6/bits/stl_algobase.h:195:5: note: candidate: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
                               min(const _Tp& __a, const _Tp& __b)
                          

                          There's a compiler error that's not solvable by RetroPie - either update your gcc compiler or use more recent distro. What's the gcc version (g++ --version) ? I tested on Ubuntu 18.04 and 16.04 (+updates) and I don't get this error. Your OS seems to be based on Ubuntu 16.04.01 (while the latest patch version is for 15.04 LTS is 16.04.05), but using a very recent kernel (?), so I'm not sure which version is included.

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

                            Woohoow, thank you @mitu !! I've upgraded the compiler and managed to install "lr-reicast".

                            1 Reply Last reply Reply Quote 0
                            • S
                              saitoh00
                              last edited by

                              This can be compiled under raspberry pi 3b+?

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

                                @saitoh00 No, it's available right now as an experimental package just for the PC.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  saitoh00
                                  last edited by

                                  ok mitu, very thanks, im hope al least we can test in Raspberry in the future, any plans to include it?

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

                                    @saitoh00 It depends on the development of the core, if it supports the Pi hardware.

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      nipeters @mitu
                                      last edited by

                                      @mitu I'm hoping it does make it onto Raspberry pi 3b or 4!

                                      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.