Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`api_version` error

オープン
#2,062 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, godot
領域
build-system

調査の方向性

The reported failure is in tools/godotcpp.py, in _get_api_file around line 557; start by reading how the build obtains api_version and compare with the Git Bash Windows reproduction. Try the reported SCons command with the linked Tree3D project. Done means the extension builds without the missing-api_version error, or the required setup is made clear.

索引モデルが issue の本文から書いたものです。

説明

Godot version

Godot 4.5+

godot-cpp version

507ed9d840c01a3c5b2a39af8bb4000bfac30bf5

System information

Windows 10

Issue description

An error occurs in Git Bash when attempting to build the GDExtension:

$ scons target=template_release platform=windows
scons: Reading SConscript files ...
Auto-detected 4 CPU cores available for build parallelism. Using 4 cores by defa
ult. You can override it with the -j argument.
Building for architecture x86_64 on platform windows

scons: *** 'api_version' must be provided
File "E:\Tree3D\gdTree3D\godot-cpp\tools\godotcpp.py", line 557, in _get_api_fil
e

Steps to reproduce

Try to build the GDExtension.

Minimal reproduction project

Try assembling Tree3D.

主要言語
C++
スター
2.7k
フォーク
818
平均マージ
1日 9時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

godotengine/godot-cpp のほかの issue

godotengine/godot-cpp の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。