Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Recalbox-buildroot compilation error within mupen64

    Recalbox General
    hdmi-cec
    2
    10
    2446
    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.
    • hstampfl
      hstampfl last edited by

      Hi When I compile recalbox with mupen64 enabled I do get an abort during the opengl compilaton.

      ./../src/OpenGL.cpp:1736:48: Fehler: »frameBuffer« wurde in diesem Gültigkeitsbereich nicht definiert
               unsigned char *ptr = (unsigned char *) frameBuffer + (config.framebuffer.width * 4 * y);
                                                      ^
      ../../src/OpenGL.cpp:1737:29: Warnung: Vergleich zwischen vorzeichenbehafteten und vorzeichenlosen Ganzzahlausdrücken [-Wsign-compare]
               for (unsigned x=0; x<config.framebuffer.width; x++)
                                   ^
      ../../src/OpenGL.cpp:1739:13: Fehler: »line« wurde in diesem Gültigkeitsbereich nicht definiert
                   line[x*3]   = ptr[0];  // red
                   ^
      ../../src/OpenGL.cpp:1744:9: Fehler: »line« wurde in diesem Gültigkeitsbereich nicht definiert
               line += config.framebuffer.width * 3;
               ^
      Makefile:457: recipe for target '_obj/OpenGL.o' failed
      make[1]: *** [_obj/OpenGL.o] Error 1
      make[1]: *** Warte auf noch nicht beendete Prozesse...
      make[1]: Leaving directory '/opt/recalbox-buildroot-recalbox-rpi2/output/build/mupen64plus-gles2-ricrpi-master/projects/unix'
      package/pkg-generic.mk:182: recipe for target '/opt/recalbox-buildroot-recalbox-rpi2/output/build/mupen64plus-gles2-ricrpi-master/.stamp_built' failed
      make: *** [/opt/recalbox-buildroot-recalbox-rpi2/output/build/mupen64plus-gles2-ricrpi-master/.stamp_built] Error 2
      ERROR : Unable to build recalbox system
      

      When I disable mupen64 with 'make menuconfig' it compiles fine. is this more related to the mupen64 release or is this related to my linux installation. Have others also this issue? I got the sources from github yesterday evening.

      I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

      1 Reply Last reply Reply Quote 0
      • digitaLumberjack
        digitaLumberjack Staff last edited by

        hi, Yes that is why the gles2-ricrpi has been disabled in the default configuration. Disable it, the configuration in emulation station does not use this core, it uses gles2n64.

        1 Reply Last reply Reply Quote 0
        • hstampfl
          hstampfl last edited by

          Thanks, I got it now 😉 - the show can now begin....

          I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

          1 Reply Last reply Reply Quote 0
          • hstampfl
            hstampfl last edited by

            I can build it manually, when I configure buildroot manually with make menuconfig. When I use the createRecalboxOS script I get the error again. (I need to test with the newest script again ). Is the createRecalboxOS.sh script also on github?

            I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

            1 Reply Last reply Reply Quote 0
            • hstampfl
              hstampfl last edited by

              hi retroboy creating the recalbox-buildroot with createRecalboxOS.sh ends up with this opengl error from mupen64. It seems that in the github the config file has selected this wrong package. As long as this is not corrected I do can't compile it with your provided script.

              I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

              1 Reply Last reply Reply Quote 0
              • hstampfl
                hstampfl last edited by

                when I try to compile recalbox-buildroot with the last version vrom createRecalboxOS.sh I always get the error about the mupen64-plus-gles2-ricrpi-master. In the defconfig there is only a flag "BR2_PACKAGE_LIBRETO_MUPEN64=y" for building the package generally or not. When I do "menu makeconfig" I have see in "Target packages/games/emulators/ following packages: [] mupen 64 plus core [] mupen 64 plus console [

                mupen 64 plus gles2rice plugin [
                ] mupen 64 plus rice plugin [] mupen 64 plus omx [] mupen 64 plus input sdl [] mupen 64 plus audio sdl [] mupen 64 plus rsp-hle [*] mupen 64 plus gles2n64 from ricrpi when I start the createRecalboxOS.sh script I get the .config always resettet to the above value and I get then the "OpenGL compile error" I already posted in the first post. Which of the above packages do I have to disable to get the compilation working manually? (I already tried to disable the last one, but without success.) Am I the only one who get this error?

                I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

                1 Reply Last reply Reply Quote 0
                • digitaLumberjack
                  digitaLumberjack Staff last edited by

                  [*] mupen 64 plus gles2n64 from ricrpi

                  1 Reply Last reply Reply Quote 0
                  • hstampfl
                    hstampfl last edited by

                    I am getting crazy. softley. I desabled this package with sudo make menuconfig When I do execute the command sudo ./createRecalboxOS.sh recalbox-rpi2 I get always this compilation error. Could it be, that this .config file get overwritten with your script? And I always get this wrong selection from github?

                    I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

                    1 Reply Last reply Reply Quote 0
                    • digitaLumberjack
                      digitaLumberjack Staff last edited by

                      Yes sorry, the script overwrite the .config file, you must save it with make savedefconfig. I should have think about that earlier...

                      1 Reply Last reply Reply Quote 0
                      • hstampfl
                        hstampfl last edited by

                        Yes, a comamand to rule them all 😉 thank you again for your support.

                        I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Want to support us ?

                        88
                        Online

                        98.7k
                        Users

                        28.1k
                        Topics

                        187.0k
                        Posts

                        Copyright © 2021 recalbox.com