Skip to content

Can't load test project: Attempt to get non-existent interface function: string_resize #1201

@lowagner

Description

@lowagner

Godot version

4.1.stable.official.970459615

godot-cpp version

5834e16

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:

ERROR: Attempt to get non-existent interface function: string_resize at: get_interface_function (core/extension/gdextension.cpp:448) ERROR: Unable to load GDExtension interface function string_resize() at: init (/$PARENT_DIRECTORY/godot-cpp/src/godot.cpp:315) ERROR: GDExtension initialization function 'example_library_init' returned an error. at: open_library (core/extension/gdextension.cpp:476) ERROR: Failed loading resource: res://example.gdextension. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:273) 

Steps to reproduce

make linux64 in the root directory

then scons in the test directory

then godot project.godot in the test/project directory.

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions