![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Erdo |
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] e[94mCompiling e[95m==> e[93mplatform\windows\godot_windows.cppe[0m
[Initial build] e[94mCompiling e[95m==> e[93mplatform\windows\camera_win.cppe[0m
[Initial build] e[94mCompiling e[95m==> e[93mplatform\windows\context_gl_windows.cppe[0m
godot_windows.cpp
camera_win.cpp
context_gl_windows.cpp
[Initial build] e[94mCompiling e[95m==> e[93mplatform\windows\crash_handler_windows.cppe[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] e[94mCompiling e[95m==> e[93mplatform\windows\os_windows.cppe[0m
[Initial build] e[94mCompiling e[95m==> e[93mplatform\windows\key_mapping_windows.cppe[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…
Did you install Visual Studio as specified in these docs?
Kyle Guarco | 2019-06-24 18:41