Skip to content

Unable to use godot-cpp 4.4 for godot 4.4.1 #1837

@Commandement

Description

@Commandement

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions