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

windows.debug.x86_32 vs windows.x86_32 #67

Open
sava41 opened this issue Feb 19, 2024 · 3 comments
Open

windows.debug.x86_32 vs windows.x86_32 #67

sava41 opened this issue Feb 19, 2024 · 3 comments

Comments

@sava41
Copy link

sava41 commented Feb 19, 2024

Maybe this is not the right place to ask this, but seeing as I'm building my GDextension with this template I think its relevant.

The .gdextension template files use <platform>.<target>.<arch> format for the libraries parameters.

The godot edtitor I downloaded Windows - Standard (x86_64) expects <platform>.<arch> and as a result I get the follwing error:
core/extension/gdextension.cpp:911 - No GDExtension library found for current OS and architecture (windows.x86_64) in configuration file

I can easily edit .gdextension and everything works, but I'm wondering why the editor and this template have this discrepency?

@asmaloney
Copy link
Owner

asmaloney commented Feb 19, 2024

(Related to #6)

What version of Godot are you using?

According to the docs, what I have is correct for 4.2?

(Edit: It's quite possible the docs are incorrect or out of date. I don't have Windows to test on.)

@sava41
Copy link
Author

sava41 commented Feb 19, 2024

4.2.1

@LeaderOne
Copy link

I think I found an answer here... if you use <platform>.release.<architecture> in Godot 4.2.1+ then you must ALSO have a <platform>.debug.<architecture> in the gdextension file.

So, if you have linux.release.x86_64 in the gdextension file, for example, you must also put a line in there fore linux.debug.x86_64. Otherwise, godot throws an error because it wants only the target linux.x86_64.

Maybe there's a way to fix that in the template, or make it build both debug and release at the same time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants