-
Notifications
You must be signed in to change notification settings - Fork 8
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
Using it on OSX #2
Comments
Thanks for leaving the error logs. I have only prebuilt Windows in the plugin so far, as that is the only platform I have available to test with my hardware. If you look towards the bottom of the README, I have put directions on how to edit/build the plugin, and at least the general idea should apply to OSX. If they do not, please comment here, I'd be glad to help more. |
If there are any further problems, please let me know. |
Same error happens on Linux as well |
Yes it seems this addon only seems to work with Windows at the moment. I work on my Godot projects on different platforms and due to this I can't work on projects utilizing this addon on MacOS. It is a shame because I LOVE this addon so far as the dev experience has been great, and I lack the skills needed to build this on MacOS- and the knowledge to understand why certain gdextension addons fail to run on different platforms. If anyone else figures it out or creates a successful build I would love to know! |
I am sorry to see that this is still occurring. The way gdextension is set up should allow this to work seamlessly on MacOS and Linux. Has anyone on Mac or Linux tried building the project through command line? Since all I have is a Windows PC, it makes it extremely difficult for me to debug other OSs. |
Hello, I managed to run the plugin on Linux. Note that I'm not sure which of the following steps are necessary:
It's a bit confusing, but I hope it helps. |
This is great progress! Thank you for writing this out. I see how this would be an issue, as I was not aware that the name changed per OS. I will attempt to update the spawner.gdextension file with the new name, but I need somebody on MacOS to try these steps to get the name on MacOS. @Dan-Mizu, would you be willing to try? |
I mean, I can add a PR and add automated actions to this. I recently merged the build and sign actions into godot-cpp-template https://github.com/godotengine/godot-cpp-template?tab=readme-ov-file#usage---actions |
If you think that would fix it, go right ahead! I do not know as much about this aspect of GDExtension. |
Do you have a apple developer account though? As after those steps(in the action I linked), you will still need to sign it. |
I was not aware I needed that, I do not have it. Is there any other way you can think of to debug this? |
If you dont sign it it will work on mac(and other platforms) but on mac it will give error and you have to click bypass security. |
Also, for this i would suggest you do it different. First, you move your code to /src folder. |
Also what I propose is basically actions that would build for all platforms after every commit, eg. similar to this: https://github.com/appsinacup/godot-rapier-2d/actions |
I will be honest with you, I am not very familiar with Github and its actions. Please make a PR for your ideas, as they seem to make sense, just make sure to update the paths on any of the GDExtension files that need a path (this has caused problems in the past). |
On it! |
Hey,
I wanted to try it in a fresh project, so I used the internal AsserLib to get this one but it fails to load.
This is the error output:
I see that there are files missing but I am not sure what to do to fix this. I also read in the readme that this is prebuilt for Windows but I haven't seen a guide to built it for OSX.
Any help appreciated!
The text was updated successfully, but these errors were encountered: