Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support all platforms in GitHub Workflows (especially MacOS and iOS) #3

Open
6 of 10 tasks
nathanfranke opened this issue Sep 22, 2022 · 7 comments
Open
6 of 10 tasks
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nathanfranke
Copy link
Owner

nathanfranke commented Sep 22, 2022

  • Linux x86_64 (Debug)
  • Linux x86_64 (Release)
  • Windows x86_64 (Debug)
  • Windows x86_64 (Release)
  • Android arm64v8 (Debug)
  • Android arm64v8 (Release)
  • MacOS (Debug)
  • MacOS (Release)
  • iOS (Debug)
  • iOS (Release)

I rarely use apple products, so I didn't bother going out of my way to support them, but they are still important!

@nathanfranke nathanfranke added enhancement New feature or request help wanted Extra attention is needed labels Sep 22, 2022
@vaporvee
Copy link

vaporvee commented May 9, 2023

How is the progress on a macos workflow?

@MoralCode
Copy link

macos seems to be supported now

@nathanfranke nathanfranke pinned this issue May 11, 2024
@bmolyneaux
Copy link

bmolyneaux commented Jul 9, 2024

Building locally, MacOS (Debug) works for me with godot-cpp on master, but not 4.2. @MoralCode this issue is about the GitHub Workflows though.

@TokisanGames
Copy link

We started Terrain3D build scripts using this repo and are building on macos and ios just fine.
https://github.com/TokisanGames/Terrain3D/blob/main/.github/workflows/ios.yml
https://github.com/TokisanGames/Terrain3D/blob/main/.github/workflows/macos.yml
https://github.com/TokisanGames/Terrain3D/blob/main/.github/workflows/build.yml

@stan220
Copy link

stan220 commented Dec 27, 2024

Hi, this is not working on my local Mac computer.

scons: done building targets.
Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
Vulkan 1.2.283 - Forward+ - Using Device #0: Apple - Apple M3 Pro

SCRIPT ERROR: Parse Error: Identifier "MySingleton" not declared in the current scope.
          at: GDScript::reload (res://demo/test.gd:8)
ERROR: Failed to load script "res://demo/test.gd" with error "Parse error".
   at: load (modules/gdscript/gdscript.cpp:2936)
ERROR: Cannot get class 'MyNode'.
   at: _instantiate_internal (core/object/class_db.cpp:515)
WARNING: Node MyNode of type MyNode cannot be created. A placeholder will be created instead.
image

Do you have any ideas?

@nathanfranke
Copy link
Owner Author

@stan220 Try importing (godot --import) before running. I updated README.md to clarify that step.

godot --path project/ --import
godot --path project/
Alternatively, use the editor: godot --path project/ --editor

@stan220
Copy link

stan220 commented Dec 28, 2024

Tnx, it works! I saw Godot's window with labels, however there is no console output:

Hello GDScript!
Hello GDExtension Node!
Hello GDExtension Singleton!

My output:

 10:33:26 ~/stan/gdextension $ godot --path project/ --import
Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
Vulkan 1.2.283 - Forward+ - Using Device #0: Apple - Apple M3 Pro

SCRIPT ERROR: Compile Error: Identifier not found: MySingleton
          at: GDScript::reload (res://demo/test.gd:8)
ERROR: Failed to load script "res://demo/test.gd" with error "Compilation failed".
   at: load (modules/gdscript/gdscript.cpp:2936)
 10:34:21 ~/stan/gdextension $ godot --path project/         
Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
Vulkan 1.2.283 - Forward+ - Using Device #0: Apple - Apple M3 Pro
image

Btw, this example works okay: https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html

I'll try to see the difference later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants