Download

Compilation Problem - Couldnt Deduce Template Argument HlslAST.cpp

Hello,

I am trying to compile the engine source code but getting the error below:



Error	1	error C2784: 'char (&CrossCompiler::ArraySizeHelper(T (&)[N]))[N]' : could not deduce template argument for 'T (&)[N]' from 'nullptr'	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Developer\ShaderCompilerCommon\Private\HlslAST.cpp	574	1	UE4
Error	2	error C2351: obsolete C++ constructor initialization syntax	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Developer\ShaderCompilerCommon\Private\HlslAST.cpp	574	1	UE4
Error	3	error C2784: 'char (&CrossCompiler::ArraySizeHelper(T (&)[N]))[N]' : could not deduce template argument for 'T (&)[N]' from 'CrossCompiler::FLinearAllocator *'	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Developer\ShaderCompilerCommon\Private\HlslAST.cpp	711	1	UE4
Error	4	error C2351: obsolete C++ constructor initialization syntax	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Developer\ShaderCompilerCommon\Private\HlslAST.cpp	711	1	UE4
Error	5	error C2512: 'CrossCompiler::TLinearArray<CrossCompiler::AST::FExpression *>' : no appropriate default constructor available	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Developer\ShaderCompilerCommon\Private\HlslAST.cpp	713	1	UE4
Error	6	error C2784: 'char (&CrossCompiler::ArraySizeHelper(T (&)[N]))[N]' : could not deduce template argument for 'T (&)[N]' from 'CrossCompiler::FLinearAllocator *'	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Developer\ShaderCompilerCommon\Private\HlslAST.cpp	822	1	UE4
Error	7	error C2351: obsolete C++ constructor initialization syntax	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Developer\ShaderCompilerCommon\Private\HlslAST.cpp	822	1	UE4
Error	8	error C2512: 'CrossCompiler::TLinearArray<CrossCompiler::AST::FExpression *>' : no appropriate default constructor available	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Developer\ShaderCompilerCommon\Private\HlslAST.cpp	824	1	UE4
Error	9	error C2668: 'TRefCountPtr<FD3D11ConstantBuffer>::IsValidRef' : ambiguous call to overloaded function	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp	859	1	UE4
Error	10	error C2668: 'TRefCountPtr<FD3D11ConstantBuffer>::IsValidRef' : ambiguous call to overloaded function	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp	944	1	UE4
Error	11	error : Failed to produce item: F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Binaries\Win64\UE4Editor-ShaderCompilerCommon.dll	F:\Unreal\UnrealEngine-release\UnrealEngine-release\Engine\Intermediate\ProjectFiles\ERROR	UE4
Error	12	error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets	38	5	UE4


Hardware:

Nvidia Geforce 8800 GTS
Intel i7
16 GB Ram
250 GB HDD (50 GB Free)

and Visual Studio 2013 with Unreal 4.7 is installed.

Did anybody before got the same problem or know the solution?

Best Regards,
Orkun

Hey obalci-

The best way for us investigate the issue you’re having would be to do so through AnswerHub (https://answers.unrealengine.com/index.html). That will allows us to track the issue and respond with information easier. If you could make a post describing the compile issue you’re having as well as any information that could help us investigate or reproduce the problem we can assist there. Make sure to post a link here to your AnswerHub post so that I can locate it and assign it to someone on our support staff.

Cheers
Doug