-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Error loading extension: res//DodgeTheCreeps.gdextension #208
Comments
Could you check the contents of the directory Also, try specifically |
Is there only the dynamic library for |
Sorry, I'm not sure what you mean EDIT: |
try to cd into |
Can you do the following, and paste the full command line + output? rm -rf target
cargo update
cargo build
ls -la target/debug |
Thanks! This is very strange, it clearly compiles both Do you get more information about |
Compiling godot-macros v0.1.0 (/Users/mareksubocz/it/gdext/godot-macros) Compiling godot-core v0.1.0 (/Users/mareksubocz/it/gdext/godot-core) Compiling godot-ffi v0.1.0 (/Users/mareksubocz/it/gdext/godot-ffi) Compiling godot v0.1.0 (/Users/mareksubocz/it/gdext/godot) Compiling dodge-the-creeps v0.1.0 (/Users/mareksubocz/it/gdext/examples/dodge-the-creeps/rust) That's it. Regardless if we will manage to resolve it, thank you for your amazing help :) |
Interesting... 🤔 Can you run a ls -la /Users/mareksubocz/it/gdext/target/aarch64-apple-darwin and ls -la /Users/mareksubocz/it/gdext/target/aarch64-apple-darwin/debug ? |
➜ gdext git:(master) ✗ ls -la /Users/mareksubocz/it/gdext/target/aarch64-apple-darwin ➜ gdext git:(master) ✗ ls -la /Users/mareksubocz/it/gdext/target/aarch64-apple-darwin/debug |
Ah, there they are! In your macos.debug.aarch64 = "res://../../../target/aarch64-apple-darwin/debug/libdodge_the_creeps.dylib"
macos.release.aarch64 = "res://../../../target/aarch64-apple-darwin/release/libdodge_the_creeps.dylib" (maybe remove the existing I'm actually 100% unsure about "aarch64" part. Might also be "arm64" or something else. Could you try a few things? It would likely work without any prefix (just |
Which architecture was it? How does your Btw, you should also be able to get the name through
Can you open the editor once, save all scenes and see if anything changes? |
architecture is arm64. DodgeTheCreeps.gdextension:
saving the scenes triggers the same warnings. Do you want me to paste the outputs of godot4 -e? It doesn't fix the warnings. |
Also changing the scenes slightly (in insignificant ways) + saving doesn't update the files? You should see changes in |
From your commit hashes:
What are those? Looks like none of the recent gdext commits has them. Does it also happen with latest |
I am currently using the latest commit. I don't know what those hashes mean, but i reverted all changes and compiled everything again and, despite still seeing some warnings, everything worked and I was able to play the game! Thank you so much :D Love the support of this project! The issue is ready to close. |
Happy to hear it worked 🙂 If you don't mind, I will keep this issue open until I added support for |
I've tried to run DodgeTheCreeps demo on M1 Macbook Pro. The project built and the game started, but nothing happened after clicking the "START" button inside the game and following errors appeared:
The steps I took to set the project up were:
Is there something I overlooked?
The text was updated successfully, but these errors were encountered: