RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Compiles fine manually, fails to compile in RetroPie script

    Scheduled Pinned Locked Moved Ideas and Development
    xash3dscriptmodulescompile
    13 Posts 4 Posters 1.3k 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
      last edited by

      That's because -march=armv8-a+crc switches __ARM_ARCH to 8, while the defaults for the compiler sets __ARM_ARCH to 6. The header you referenced doesn't know about the newer __ARM_ARCH variant.

      # RetroPie flags
      $ echo | gcc -march=armv8-a+crc -dM -E - | grep -i '__ARM_ARCH '
      #define __ARM_ARCH 8
      
      # no flags
      $ echo | gcc -dM -E - | grep -i '__ARM_ARCH '
      #define __ARM_ARCH 6
      
      Z 1 Reply Last reply Reply Quote 1
      • Z
        zerojay @mitu
        last edited by

        @mitu Thank you, I've sent a pull request upstream with the fix.

        K 1 Reply Last reply Reply Quote 0
        • K
          kactius @zerojay
          last edited by

          @zerojay You pull was accepted

          Z 1 Reply Last reply Reply Quote 0
          • Z
            zerojay @kactius
            last edited by

            @kactius said in Compiles fine manually, fails to compile in RetroPie script:

            @zerojay You pull was accepted

            Yep, thanks.

            1 Reply Last reply Reply Quote 0
            • K
              kactius
              last edited by kactius

              Hi
              I update extras script and test xash3d-fwgs
              Could not successfully build xash3d-fwgs - xash3d-fwgs - Half-Life Engine Port (home/pi/RetroPie-Setup/rmp/build/xash3d-fwgs/xash3d-fwgs/build/game_launch/Xash3D not found)...

              Really the folder is empty sftp://retropie/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/game_launch/ empty

              If you need logs, please ask me

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zerojay @kactius
                last edited by

                @kactius said in Compiles fine manually, fails to compile in RetroPie script:

                Hi
                I update extras script and test xash3d-fwgs
                Could not successfully build xash3d-fwgs - xash3d-fwgs - Half-Life Engine Port (home/pi/RetroPie-Setup/rmp/build/xash3d-fwgs/xash3d-fwgs/build/game_launch/Xash3D not found)...

                Really the folder is empty sftp://retropie/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/game_launch/ empty

                If you need logs, please ask me

                Yeah, post the logs please.

                K 1 Reply Last reply Reply Quote 0
                • K
                  kactius @zerojay
                  last edited by

                  @zerojay
                  /home/pi/RetroPie-Setup/logs/rps_2020-10-14_123218.log.gz
                  https://pastebin.com/wAh1AfQr

                  If you need more logs, say me patch to other logs

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    zerojay @kactius
                    last edited by

                    @kactius said in Compiles fine manually, fails to compile in RetroPie script:

                    @zerojay
                    /home/pi/RetroPie-Setup/logs/rps_2020-10-14_123218.log.gz
                    https://pastebin.com/wAh1AfQr

                    If you need more logs, say me patch to other logs

                    Nothing I can do about that, you'll need to ask upstream.

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kactius @zerojay
                      last edited by kactius

                      @zerojay
                      Hi sorry to reflow this threat, pi3b+ now is compile fine.
                      Install source xash3d and next install source xash3d-fwgs
                      link log

                      I still have to put the game files to test.

                      ExarKunIvE 1 Reply Last reply Reply Quote 0
                      • ExarKunIvE
                        ExarKunIv @kactius
                        last edited by

                        @kactius yes it was fixed on Wednesday. I came across it not working so I was working with the dev over there on fwgs and we got it all straightened out. Just hope that it stays that way this time

                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                        Maintainer of RetroPie-Extra .

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          kactius @ExarKunIv
                          last edited by kactius

                          @exarkuniv said in Compiles fine manually, fails to compile in RetroPie script:

                          @kactius yes it was fixed on Wednesday. I came across it not working so I was working with the dev over there on fwgs and we got it all straightened out. Just hope that it stays that way this time

                          Oh! Very thanks.
                          fwgs is working.
                          I paste the game files in this moment some ¿textures? don't look good in pi 3 b+ pi3.
                          Found rendener gl: OpenGL
                          Found renderer soft: Sofitware Loading renderer: gl -> libref_gl.so
                          Trying safe opengl mode O
                          bpp 32
                          Sys Warn Error: Can't initialize libref_gl.so renderer
                          Loading renderer: gl -> libref_gl.so

                          ExarKunIvE 1 Reply Last reply Reply Quote 0
                          • ExarKunIvE
                            ExarKunIv @kactius
                            last edited by

                            @kactius i think that,s happening cuz the pi3 does not support opengl
                            i have the old halflife port on my pi3 so i cant test it on that since i have it working fine.

                            and right now im working with my pi4

                            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                            Maintainer of RetroPie-Extra .

                            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.