Skip to content

[4.4] Need update create_instance_func because godot gdextension_interface.h upgrade #1567

Closed

Description

@pupil1337

Godot version

godot master branch

godot-cpp version

godot-cpp master branch

System information

windows 10, msvc, i7-9700

Issue description

Use deprecated=no build godot will has this problem, because gdextension_classdb_construct_object be marked deprecated.
Please update the new function.
(I didn't submit a PR because this upgrade maybe need modify memnew's postinitialize i can`t handle it.)

Steps to reproduce

  1. Build godot custom args use deprecated=no. (godot: scons target=editor dev_build=yes... deprecated=no)
  2. compile godot-cpp will successed.
  3. open godot editor will error because cant find gdextension_classdb_construct_object.

Minimal reproduction project

N/A

Activity

  1. dsnopek commented on Aug 29, 2024

    @dsnopek
    Collaborator

    Yep, it's on my TODO list!

    Use deprecated=no build godot will has this problem, because gdextension_classdb_construct_object be marked deprecated.

    If you're keeping up with Godot master and using deprecated=no, I suspect you will encounter this problem a few more times before Godot 4.4 is released. We can't always synchronize godot-cpp updates with Godot updates, even when we have a PR prepared in advance.

  2. added
    enhancement
    on Aug 29, 2024
  3. pupil1337 commented on Aug 29, 2024

    @pupil1337
    ContributorAuthor

    Yes, I switched to version 4.3 and everything is perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions