• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Clickable build of Godot

Scheduled Pinned Locked Moved App Development
4 Posts 2 Posters 459 Views 2 Watching
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.
    • D Offline
      duncancragg
      last edited by duncancragg 22 Apr 2022, 21:15

      I see @abmyii has a build for a recent Godot version for UT here:

      https://gitlab.com/abmyii/ubports-godot/-/tree/v3.4.0-ubports

      .. but I don't know how to cross-compile the exe for UT! There are no Clickable files, like a manifest, and clickable bails pretty quickly.

      I can build it for my x86 laptop (which kinda works but has rendering bugs that don't happen with the pre-built https://gitlab.com/abmyii/ubports-godot/-/jobs version ..??), but how do I Clickable it? I presume it has to be built inside of Docker? There's a .gitlab-ci.yml file which looks promising.

      I'm new to all this, so be kind and assume I don't know anything more than a typical C++ dev!

      Cheers
      Duncan

      1 Reply Last reply Reply Quote 0
      • J Offline
        jonius
        last edited by 24 Apr 2022, 15:41

        To facilitate the process, we have added abmyii's Godot builds to the Clickable build containers. You can directly install it into the click package. Check out the clickable.yaml in the Godot template you get with clickable create.

        D 1 Reply Last reply 26 Apr 2022, 10:26 Reply Quote 0
        • D Offline
          duncancragg @jonius
          last edited by 26 Apr 2022, 10:26

          @jonius Hi, and thanks for that reply. Apologies, but I didn't explain why I was asking what I did! I've started work on a UT app that uses 3D, so I was trying to build Godot - as a large, known project that has UT builds - to get some experience cross-compiling with Clickable, since that's what I'll be doing in my own project. Hope that clarifies! Cheers, Duncan

          1 Reply Last reply Reply Quote 0
          • J Offline
            jonius
            last edited by jonius 5 Jan 2022, 15:22 1 May 2022, 15:19

            I still don't understand why you want to compile Godot instead of just using the one we ship in the build containers. But if you want to do so, see abmyii's build script (https://gitlab.com/abmyii/ubports-godot/-/blob/v3.4.0-ubports/build-ubports.sh) which he runs without Clickable, but within a clickable container (https://gitlab.com/abmyii/ubports-godot/-/blob/v3.4.0-ubports/.gitlab-ci.yml).

            If you are just interested in cross compiling with Clickable in general, that is pretty straight forward. The build containers are set up in a way that you only need to tell Clickable which architecture to build for and Clickable chooses the according prepared build container. If you are interested how they are set up, see the Dockerfile: https://gitlab.com/clickable/clickable-docker-images/-/blob/master/ubuntu-sdk/16.04-cross-build/Dockerfile.

            And finally, if you want to compile dependencies along with you app, see this guide: https://docs.ubports.com/en/latest/appdev/guides/dependencies.html

            1 Reply Last reply Reply Quote 0
            1 out of 4
            • First post
              1/4
              Last post