I download the source code from github. And execute setup.bat and generateprojectfiles.bat by following the readme in github.
But it compiled failed. Here is the errors:
1>[1/4054] Link [x64] UnrealEditor-DesktopPlatform.lib
1> Creating library …\Intermediate\Build\Win64\x64\UnrealEditor\Development\DesktopPlatform\UnrealEditor-DesktopPlatform.lib and object …\Intermediate\Build\Win64\x64\UnrealEditor\Development\DesktopPlatform\UnrealEditor-DesktopPlatform.exp
1>[2/4054] Compile [x64] Module.Core.8_of_17.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Windows\MinWindows.h(74): fatal error C1083: Cannot open include file: ‘Windows.h’: No such file or directory
1>[3/4054] Compile [x64] Module.Core.9_of_17.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Misc\LazySingleton.h(5): fatal error C1083: Cannot open include file: ‘new’: No such file or directory
1>[4/4054] Compile [x64] Module.Core.7_of_17.cpp
1>[5/4054] Compile [x64] Module.Engine.16_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Experimental\ChaosCore\Public\Chaos\ArrayCollectionArray.h(9): fatal error C1083: Cannot open include file: ‘algorithm’: No such file or directory
1>[6/4054] Compile [x64] Module.Engine.25_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Async\ParallelFor.h(38): fatal error C1083: Cannot open include file: ‘atomic’: No such file or directory
1>[7/4054] Compile [x64] Module.Engine.27_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\GeometryCore\Public\MathUtil.h(8): fatal error C1083: Cannot open include file: ‘cmath’: No such file or directory
1>[8/4054] Compile [x64] Module.Engine.31_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\ProfilingDebugging\Histogram.h(22): fatal error C1083: Cannot open include file: ‘initializer_list’: No such file or directory
1>[9/4054] Compile [x64] Module.Engine.32_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Experimental\ChaosCore\Public\Chaos\Vector.h(10): fatal error C1083: Cannot open include file: ‘initializer_list’: No such file or directory
1>[10/4054] Compile [x64] Module.Engine.34_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Experimental\ChaosCore\Public\Chaos\Vector.h(10): fatal error C1083: Cannot open include file: ‘initializer_list’: No such file or directory
1>[11/4054] Compile [x64] Module.Engine.37_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\StridedView.h(11): fatal error C1083: Cannot open include file: ‘type_traits’: No such file or directory
1>[12/4054] Compile [x64] Module.Engine.38_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\TypedElementFramework\Public\Elements\Framework\TypedElementHandle.h(5): fatal error C1083: Cannot open include file: ‘type_traits’: No such file or directory
1>[13/4054] Compile [x64] Module.Engine.40_of_67.cpp
1>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\StridedView.h(11): fatal error C1083: Cannot open include file: ‘type_traits’: No such file or directory
I don’t know what’s going on. I used to compile successfully by doing the same operation. And I could jump into the files that are reported as no such file or directory in Visual Studio.