Godot Version
Godot v4.3
Question
Hello, around one year ago, I was working with GDExtension to add nodes into the engine using C++. I had everything set up correctly, and I had already added several nodes, but I eventually stopped working on the project. Now, I am trying to get back into working on the project, but when I tried to add a new node to see if GDExtension was still working, I got the following error:
The project itself and the nodes I already added are still working, I just can’t add any new ones. In the time I stopped working on the project, I did update my laptop to Windows 11 if that has any effect on anything. But if not, is there any other reason this isn’t working any more?
I feel like I’ve had this problem before, and it had to do with permissions. It couldn’t access some of the generated output files because they belonged to an admin user. I’m not sure if that’s your problem, but it’s worth trying to delete any generated objects from previous builds and doing a clean build if you haven’t already.
1 Like
seems like the godot-cpp files are missing, I know it’s a git submodule which often fail to populate when pulling projects, did you run git submodule update --recursive --init?
I tried making a new project following the “Getting Started” tutorial, but when I got to the section about building the bindings, I got the same error.
Yes, but I got the same error. I should have mentioned this before, but the files that the command window says aren’t there are actually where they’re supposed to be.
That’s the same problem I had and the same error - it says the files aren’t there, but they are. In my case it was due to a permissions issue. The files belonged to Administrator because I was running cmd as Administrator.
Can you check the file mentioned in the build error and make sure you own it?
Are you running cmd as Administrator? If not, can you try running as admin and see if that fixes?
I do own the files and I did try running as administrator, but it still didn’t work.
I see. I’m out of my depth, then.
The only thing I can recommend is carefully going through the tutorial’s build setup steps and make sure you installed and configured all the build tools exactly as they mentioned. Hopefully someone who knows more on the subject can help you.
Alright, thanks for the help though.