Hello, for the past 2 days I have been trying to build ue4 from source because I want to experiment with Nvidia’s (seemingly abandoned) vxgi lighting system. I found 2 branches on github to build from but both give me build errors. the latest one I tried was this branch:
link to branch
(you might have to connect your epic acc with github to view the page)
Any info on how to fix these/ how to build ue4 from source would be helpful!
I get no errors when running setup.bat and generatprojectfiles.bat, but when I build solution in vs 2017, I get these errors:
Severity | Code | Description | Project | File | Line | Suppression State |
---|---|---|---|---|---|---|
Error | MSB3075 | The command …\Build\BatchFiles\Build.bat UE4Editor Win64 Development -WaitMutex -FromMsBuild exited with code 5. Please verify that you have sufficient rights to run this command. | UE4 | C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets | 44 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 7 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 13 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 19 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 25 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 31 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 37 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 43 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 49 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 55 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 61 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 67 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 73 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 79 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 7 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 13 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 19 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 25 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 31 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 37 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 43 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 49 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 55 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 61 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 67 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 73 | |
Error | C4668 | ‘NDIS_MINIPORT_MAJOR_VERSION’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\ndis\version.h | 79 | |
Warning | C5205 | delete of an abstract class ‘IFlexEditorPluginBridge’ that has a non-virtual destructor results in undefined behavior | UE4 | D:\UnrealEngine-4.21-GameWorks\Engine\Plugins\GameWorks\Flex\Source\FlexEditor\Private\FlexEditorModule.cpp | 98 | |
Error | UBT ERROR: Failed to produce item: D:\UnrealEngine-4.21-GameWorks\Engine\Intermediate\Build\Win64\UE4Editor\Development\Sockets\UE4Editor-Sockets.lib | UE4 | D:\UnrealEngine-4.21-GameWorks\Engine\Intermediate\ProjectFiles\UnrealBuildTool | 1 |