Closed lowagner closed 1 year ago
You're using the 4.2 version of godot-cpp, you need to use the 4.1.stable version for your godot branch version, they're not compatible, they need to match
See also (duplicate?):
yeah it's probably my fault: https://github.com/godotengine/godot-cpp/blob/5834e16a221fde8dc0b6ca4b7a6721cc4b258037/gdextension/gdextension_interface.h#L1531
i'll checkout the 4.1 branch.
I had the same problem. It would be nice if this were reflected in the README. Right now it says:
Warning
This repository's master branch is only usable with the latest version of Godot's ([GDExtension](https://godotengine.org/article/introducing-gd-extensions)) API (Godot 4.1 and later).
For users of Godot 4.0.x, switch to the [4.0](https://github.com/godotengine/godot-cpp/tree/4.0) branch.
For GDNative users (Godot 3.x), switch to the [3.x](https://github.com/godotengine/godot-cpp/tree/3.x) or the [3.5](https://github.com/godotengine/godot-cpp/tree/3.5) branch.
Which makes it sound like I'm good to go to use the master
branch with 4.1
.
Godot version
4.1.stable.official.970459615
godot-cpp version
5834e16a221fde8dc0b6ca4b7a6721cc4b258037
System information
ubuntu 22.04 linux 5.19
Issue description
tried to build godot-cpp with scons, but get this error when trying to open the test project:
Steps to reproduce
make linux64
in the root directorythen
scons
in thetest
directorythen
godot project.godot
in thetest/project
directory.Minimal reproduction project
N/A