godotengine / godotengine/godot-cpp
Unable to use godot-cpp 4.4 for godot 4.4.1
- Dominant language
- C++
- Stars
- 2.7k
- Forks
- 809
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 8
Description
### Godot version
4.4.1
### godot-cpp version
4.4
### System information
Windows 10; AMD Ryzen 9 7950x; Nvidia RTX 4080 Super
### Issue description
I'm trying to use godot-cpp ver 4.4 with godot 4.4.1. I followed the documentation tutorial from https://docs.godotengine.org/en/4.4/tutorials/scripting/gdextension/gdextension_cpp_example.html.
However, I got errors in the godot console:
ERROR: Attempt to get non-existent interface function: 'get_godot_version2'.
ERROR: godot-cpp\src\godot.cpp:311 - Unable to load GDExtension interface function get_godot_version2()
ERROR: core/extension/gdextension_library_loader.cpp:233 - GDExtension initialization function 'example_library_init' returned an error.
I searched for related errors, but the answers on the internet suggested that I was using the wrong version. However, I am certain that I downloaded the correct godot-cpp version (4.4) and godot version 4.4.1.
### Steps to reproduce
Follow the documentation tutorial from https://docs.godotengine.org/en/4.4/tutorials/scripting/gdextension/gdextension_cpp_example.html.
### Minimal reproduction project
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.