0 votes

When I type: scons -j6 platform=windows target=release_debug

I get this error:

C:\Users\Burak\Desktop\Build Godot\godot>scons -j6 platform=windows target=release_debug
scons: Reading SConscript files ...
Configuring for Windows: target=release_debug, bits=default
Found MSVC compiler: amd64
Compiled program architecture will be a 64 bit executable (forcing bits=64).
Missing environment variable: WindowsSdkDir
Missing environment variable: WindowsSdkDir
YASM is necessary for WebM SIMD optimizations.
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] [94mCompiling [95m==> [93mplatform\windows\godot_windows.cpp[0m
[Initial build] [94mCompiling [95m==> [93mplatform\windows\camera_win.cpp[0m
[Initial build] [94mCompiling [95m==> [93mplatform\windows\context_gl_windows.cpp[0m
godot_windows.cpp
camera_win.cpp
context_gl_windows.cpp
[Initial build] [94mCompiling [95m==> [93mplatform\windows\crash_handler_windows.cpp[0m
crash_handler_windows.cpp
[Initial build] C:\Users\Burak\Desktop\Build Godot\godot\core/typedefs.h(34): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
C:\Users\Burak\Desktop\Build Godot\godot\core/math/random_pcg.h(34): fatal error C1083: Cannot open include file: 'math.h': No such file or directory
[Initial build] [94mCompiling [95m==> [93mplatform\windows\os_windows.cpp[0m
[Initial build] [94mCompiling [95m==> [93mplatform\windows\key_mapping_windows.cpp[0m
os_windows.cpp
key_mapping_windows.cpp
scons: *** [platform\windows\godot_windows.windows.opt.tools.64.obj] Error 2
scons: *** [platform\windows\camera_win.windows.opt.tools.64.obj] Error 2
C:\Users\Burak\Desktop\Build Godot\godot\core/typedefs.h(34): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
C:\Users\Burak\Desktop\Build Godot\godot\core/typedefs.h(34): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
scons: *** [platform\windows\context_gl_windows.windows.opt.tools.64.obj] Error 2
scons: *** [platform\windows\key_mapping_windows.windows.opt.tools.64.obj] Error 2
C:\Users\Burak\Desktop\Build Godot\godot\core/typedefs.h(34): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
scons: *** [platform\windows\os_windows.windows.opt.tools.64.obj] Error 2
C:\Users\Burak\Desktop\Build Godot\godot\platform\windows\crash_handler_windows.h(34): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
scons: *** [platform\windows\crash_handler_windows.windows.opt.tools.64.obj] Error 2
scons: building terminated because of errors.

I installed Windows SDK and created System variable Name: WindowsSdkDir Value: C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt
But I still get this error...

asked Jun 24, 2019 in Engine by Erdo (17 points)

Did you install Visual Studio as specified in these docs?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.