`api_version` error
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp, godot
- Domain
- build-system
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- C++
- Stars
- 2.7k
- Forks
- 818
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 4
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from godotengine/godot-cpp
-
Building gdextensions with lto=full warns about serial compilatonPossibly taken @marcozee03 claimed this 35 days ago. Openenhancement topic:buildsystem
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
godotengine/godot-cpp#2002 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
godotengine/godot-cpp#1969 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
godotengine/godot-cpp#1967 ·
-
enhancement topic:buildsystem tracker
Difficulty 4/5 3-5 days Newbie friendliness 52/100
godotengine/godot-cpp#2064 · 1 reaction ·
-
Hot reload decrements refcounted objects refcount, causing a crash.Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 50/100
godotengine/godot-cpp#2059 · 4 comments ·
All issues in godotengine/godot-cpp
Similar issues
-
Status: Awaiting triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
espressif/arduino-esp32#12984 ·
Maintainers usually reply within 1 day
-
torch_ops/logprob.cu does not compile with the serving container's nvcc (13.3.73); check_torch_ops.py cannot run as shippedPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 Under an hour Newbie friendliness 72/100
ashhart/TensorFold#535 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
agent:Windows bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day