I have run setup.bat, and GenerateProjectFiles.bat -2017 but now i cannot build the engine,
The error is as follows
14>------ Rebuild All started: Project: TestPAL, Configuration: Development_Program x64 ------
14>Object reference not set to an instance of an object.
14>Error: Object reference not set to an instance of an object.
15>------ Rebuild All started: Project: UnrealCEFSubProcess, Configuration: Development_Program x64 ------
15>Object reference not set to an instance of an object.
15>Error: Object reference not set to an instance of an object.
16>------ Rebuild All started: Project: UnrealFileServer, Configuration: Development_Program x64 ------
16>Object reference not set to an instance of an object.
16>Error: Object reference not set to an instance of an object.
17>------ Rebuild All started: Project: UnrealFrontend, Configuration: Development_Program x64 ------
17>Object reference not set to an instance of an object.
17>Error: Object reference not set to an instance of an object.
18>------ Rebuild All started: Project: UnrealHeaderTool, Configuration: Development_Program x64 ------
18>Object reference not set to an instance of an object.
18>Error: Object reference not set to an instance of an object.
19>------ Rebuild All started: Project: UnrealPak, Configuration: Development_Program x64 ------
19>Object reference not set to an instance of an object.
19>Error: Object reference not set to an instance of an object.
20>------ Rebuild All started: Project: UnrealVersionSelector, Configuration: Development_Program x64 ------
20>Object reference not set to an instance of an object.
20>Error: Object reference not set to an instance of an object.
21>------ Rebuild All started: Project: UnrealWatchdog, Configuration: Development_Program x64 ------
21>Object reference not set to an instance of an object.
21>Error: Object reference not set to an instance of an object.
22>------ Rebuild All started: Project: BootstrapPackagedGame, Configuration: Development_Program x64 ------
22>Object reference not set to an instance of an object.
22>Error: Object reference not set to an instance of an object.
23>------ Rebuild All started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
23>Object reference not set to an instance of an object.
23>Error: Object reference not set to an instance of an object.
24>------ Skipped Rebuild All: Project: DsymExporter, Configuration: Invalid Win32 ------
24>Project not selected to build for this solution configuration
25>------ Rebuild All started: Project: BlankProgram, Configuration: Development_Program x64 ------
25>Object reference not set to an instance of an object.
25>Error: Object reference not set to an instance of an object.
26>------ Rebuild All started: Project: BuildPatchTool, Configuration: Development_Program x64 ------
26>Object reference not set to an instance of an object.
26>Error: Object reference not set to an instance of an object.
27>------ Rebuild All started: Project: CrashReportClient, Configuration: Development_Program x64 ------
27>Object reference not set to an instance of an object.
27>Error: Object reference not set to an instance of an object.
28>------ Skipped Rebuild All: Project: UnrealLaunchDaemon, Configuration: Invalid Win32 ------
28>Project not selected to build for this solution configuration
29>------ Skipped Rebuild All: Project: UE4EditorServices, Configuration: Invalid Win32 ------
29>Project not selected to build for this solution configuration
30>------ Skipped Rebuild All: Project: UnrealAtoS, Configuration: Invalid Win32 ------
30>Project not selected to build for this solution configuration
31>------ Skipped Rebuild All: Project: MayaLiveLinkPlugin2016, Configuration: Development_Program x64 ------
31>Project not selected to build for this solution configuration
32>------ Skipped Rebuild All: Project: MayaLiveLinkPlugin2017, Configuration: Development_Program x64 ------
32>Project not selected to build for this solution configuration
33>------ Skipped Rebuild All: Project: MayaLiveLinkPlugin2018, Configuration: Development_Program x64 ------
33>Project not selected to build for this solution configuration
34>------ Rebuild All started: Project: MinidumpDiagnostics, Configuration: Development_Program x64 ------
34>Object reference not set to an instance of an object.
34>Error: Object reference not set to an instance of an object.
35>------ Rebuild All started: Project: SlateViewer, Configuration: Development_Program x64 ------
35>Object reference not set to an instance of an object.
35>Error: Object reference not set to an instance of an object.
36>------ Rebuild All started: Project: UnrealLightmass, Configuration: Development_Program x64 ------
36>Object reference not set to an instance of an object.
36>Error: Object reference not set to an instance of an object.
37>------ Rebuild All started: Project: SymbolDebugger, Configuration: Development_Program x64 ------
37>Object reference not set to an instance of an object.
37>Error: Object reference not set to an instance of an object.
========== Rebuild All: 29 succeeded, 17 failed, 7 skipped ==========
Any ideas what the error actually is.