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.8k 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.
    • 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.