Skip to content

Cannot build with double precision using version godot-4.5-stable #1850

@rewindturtle

Description

@rewindturtle

Godot version

4.5-stable

godot-cpp version

godot-4.5-stable

System information

Windows 10, Intel i5-11600K

Issue description

The file godot-cpp/gdextension/extension_api.json contains the line ""precision": "single"" in its header. Attempting to build the library with the scons "precision" option set to "double" results in the error:
Exception: Cannot do a precision=double build using 'godot-cpp/gdextension/extension_api.json' which was generated by Godot built with precision=single

Steps to reproduce

  1. Clone the godot-cpp repo and checkout tag godot-4.5-stable.
  2. Enter the godot-cpp repo and run the command "scons precision=double"

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions