• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • M
    mitu Global Moderator
    last edited by 15 Sept 2020, 05:22

    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 15 Sept 2020, 06:09 Reply Quote 1
    • Z
      zerojay @mitu
      last edited by 15 Sept 2020, 06:09

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

      K 1 Reply Last reply 3 Oct 2020, 18:24 Reply Quote 0
      • K
        kactius @zerojay
        last edited by 3 Oct 2020, 18:24

        @zerojay You pull was accepted

        Z 1 Reply Last reply 4 Oct 2020, 02:06 Reply Quote 0
        • Z
          zerojay @kactius
          last edited by 4 Oct 2020, 02:06

          @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 14 Oct 2020, 11:03

            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 15 Oct 2020, 21:10 Reply Quote 0
            • Z
              zerojay @kactius
              last edited by 15 Oct 2020, 21:10

              @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 17 Oct 2020, 21:51 Reply Quote 0
              • K
                kactius @zerojay
                last edited by 17 Oct 2020, 21:51

                @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 18 Oct 2020, 08:36 Reply Quote 0
                • Z
                  zerojay @kactius
                  last edited by 18 Oct 2020, 08:36

                  @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 25 Mar 2021, 21:36 Reply Quote 0
                  • K
                    kactius @zerojay
                    last edited by kactius 25 Mar 2021, 21:36

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

                    E 1 Reply Last reply 27 Mar 2021, 04:56 Reply Quote 0
                    • E
                      ExarKunIv @kactius
                      last edited by 27 Mar 2021, 04:56

                      @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 29 Mar 2021, 00:51 Reply Quote 0
                      • K
                        kactius @ExarKunIv
                        last edited by kactius 29 Mar 2021, 00:51

                        @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

                        E 1 Reply Last reply 29 Mar 2021, 13:03 Reply Quote 0
                        • E
                          ExarKunIv @kactius
                          last edited by 29 Mar 2021, 13:03

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

                            This community forum collects and processes your personal information.
                            consent.not_received