UE4 compile error MSB3075

Noctxas97
Thu, 07 Apr 2022 06:12:18 +0000
C++

Hi!
I’m trying to compile the engine version 4.17.2 but I get the following error. It seems Intellisense doesn’t recognise Vulkan classes too.

------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
1>  Creating makefile for ShaderCompileWorker (no existing makefile)
1>  Target is up to date
1>  Deploying ShaderCompileWorker Win64 Development...
1>  Total build time: 1,81 seconds (NoActionsToExecute executor: 0,00 seconds)
2>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
2>  Creating makefile for UE4Editor (no existing makefile)
2>  Distributing 1461 actions to XGE
2>  --------------------Project: Default-------------------------------------------
2>  Module.MaterialBaking.gen.cpp (0:06.92 at +0:00)
2>  Module.TranslationEditor.gen.cpp (0:11.42 at +0:00)
2>  Module.MaterialBaking.cpp (0:12.50 at +0:07)
2>  Module.VulkanRHI.cpp (0:21.56 at +0:00)
2>d:\kh3ue4\engine\source\runtime\vulkanrhi\private\VulkanDevice.h(244): error C2229: class 'FVulkanDevice' has an illegal zero-sized array
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(223): error C2059: syntax error: ';'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(223): error C2059: syntax error: ')'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(225): error C2059: syntax error: 'const'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(227): error C2065: 'Format': undeclared identifier
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(233): error C2059: syntax error: 'for'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(233): error C2143: syntax error: missing ')' before ';'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(233): error C2143: syntax error: missing ';' before '<'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(233): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(233): error C2059: syntax error: '++'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(233): error C2059: syntax error: ')'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(234): error C2143: syntax error: missing ';' before '{'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(234): error C2447: '{': missing function header (old-style formal list?)
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(250): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(250): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(250): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(250): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(251): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(251): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(251): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(251): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(253): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(253): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(253): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(253): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(254): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(254): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(254): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(254): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(256): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(256): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(256): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(256): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(257): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(257): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(257): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(257): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(259): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(259): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(259): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(259): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(260): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(260): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(260): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(260): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(262): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(262): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(262): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(262): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(263): error C2059: syntax error: 'if'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(264): error C2143: syntax error: missing ';' before '{'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(264): error C2447: '{': missing function header (old-style formal list?)
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(275): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(275): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(275): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(275): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(277): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(277): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(277): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(277): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(278): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(278): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(278): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(278): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(281): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(281): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(281): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(281): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(282): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(282): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(282): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(282): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(284): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(284): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(284): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(284): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(285): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(285): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(285): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(285): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(287): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(287): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(287): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(287): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(288): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(288): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(288): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(288): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(290): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(290): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(290): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(290): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(291): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(291): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(291): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(291): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(293): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(293): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(293): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(293): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(294): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(294): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(294): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(294): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(296): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(296): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(296): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(296): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(297): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(297): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(297): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(297): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(299): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(299): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(299): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(299): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(300): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(300): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(300): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(300): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(302): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(302): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(302): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(302): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(303): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(303): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(303): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(303): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(305): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(305): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(305): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(305): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(306): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(306): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(306): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(306): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(308): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(308): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(308): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(308): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(309): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(309): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(309): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(309): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(311): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(311): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(311): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(311): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(312): error C2059: syntax error: 'if'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(313): error C2143: syntax error: missing ';' before '{'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(313): error C2447: '{': missing function header (old-style formal list?)
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(333): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(333): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(333): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(333): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(335): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(335): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(335): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(335): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(336): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(336): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(336): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(336): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(338): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(338): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(338): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(338): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(339): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(339): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(339): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(339): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(341): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(341): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(341): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(341): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(342): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(342): error C2374: 'SetComponentMapping': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(248): note: see declaration of 'SetComponentMapping'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(342): error C2440: 'initializing': cannot convert from 'initializer list' to 'int'
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(342): note: The initializer contains too many elements
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(344): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(344): error C2374: 'MapFormatSupport': redefinition; multiple initialization
2>  D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(247): note: see declaration of 'MapFormatSupport'
2>D:\kh3ue4\Engine\Source\Runtime\VulkanRHI\Private\VulkanDevice.cpp(344): fatal error C1003: error count exceeds 100; stopping compilation
2>
2>  Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2)
2>  ---------------------- Done ----------------------
2>
2>      Rebuild All: 0 succeeded, 1 failed, 0 skipped
2>
2>
2>
2>ERROR : UBT error : Failed to produce item: D:\kh3ue4\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-DetailCustomizations.lib
2>  Total build time: 46,43 seconds (XGE executor: 0,00 seconds)
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

I’m using VS 2015 Update 3 14.0.25431.01.

1 post - 1 participant