UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    Clickable build of Godot

    已排程 已置頂 已鎖定 已移動 App Development
    4 貼文 2 Posters 741 瀏覽 2 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • D 離線
        duncancragg
        最後由 duncancragg 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • joniusJ 離線
          jonius
          最後由 編輯

          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 條回覆 最後回覆 回覆 引用 0
          • D 離線
            duncancragg @jonius
            最後由 編輯

            @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 條回覆 最後回覆 回覆 引用 0
            • joniusJ 離線
              jonius
              最後由 jonius 編輯

              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 條回覆 最後回覆 回覆 引用 0
              • 第一個貼文
                最後的貼文