Download

errors with building UE 4.24 in VS 2017

Severity Code Description Project File Line Suppression State
Error C2061 syntax error: identifier ‘con’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 27
Error C2143 syntax error: missing ‘)’ before ‘;’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 27
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 52
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 59
Error C2888 ‘Chaos::TPBDCollisionConstraintHandle<T,d>::TPBDCollisionConstraintHandle(void)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 61
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 64
Error C2888 ‘Chaos::TPBDCollisionConstraintHandle<T,d>::TPBDCollisionConstraintHandle(Chaos::TPBDCollisionConstraint<T,d> ,int32)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 66
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 70
Error C2888 ‘const Chaos::TRigidBodyContactConstraint<T,d> &Chaos::TPBDCollisionConstraintHandle<T,d>::GetContact(void) const’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 72
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 81
Error C2888 ‘Chaos::TPBDCollisionConstraint<T,d>::TPBDCollisionConstraint(const Chaos::TPBDRigidsSOAs<T,d> &,Chaos::TArrayCollectionArray<bool> &,const Chaos::TArrayCollectionArray<Chaos::TSerializablePtr<Chaos::TChaosPhysicsMaterial<T>>> &,const int32,const T)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 83
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 102
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::Reset(void)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 104
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 120
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::RemoveConstraint(int32)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 122
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 132
Error C2888 'void Chaos::TPBDCollisionConstraint<T,d>::RemoveConstraints(const TSet<Chaos::TGeometryParticleHandleImp<T,d,true>
,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 134
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 151
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::ApplyCollisionModifier(const TFunction<Chaos::ECollisionModifierResult(Chaos::TRigidBodyContactConstraint<T,d> &)> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 153
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 165
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::SetPostComputeCallback(const TFunction<void (void)> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 167
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 171
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::ClearPostComputeCallback(void)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 173
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 177
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::SetPostApplyCallback(const TFunction<void(T,const TArray<Chaos::TPBDCollisionConstraintHandle<T,d>,FDefaultAllocator> &)> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 179
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 183
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::ClearPostApplyCallback(void)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 185
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 189
Error C2888 'void Chaos::TPBDCollisionConstraint<T,d>::SetPostApplyPushOutCallback(const TFunction<void(T,const TArray<Chaos::TPBDCollisionConstraintHandle<T,d>
,FDefaultAllocator> &,bool)> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 191
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 195
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::ClearPostApplyPushOutCallback(void)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 197
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 201
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::UpdatePositionBasedState(const T)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 203
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 229
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 230
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::ComputeConstraints(const Chaos::ISpatialAcceleration<Chaos::TAccelerationStructureHandle<T,d>,T,d> &,T)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 232
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 270
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 271
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::UpdateConstraintsHelper(T,const TSet<Chaos::TGeometryParticleHandleImp<T,d,true>,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator> &,SPATIAL_ACCELERATION &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 273
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 428
Error C2888 'void Chaos::TPBDCollisionConstraint<T,d>::UpdateConstraints(T,const TSet<Chaos::TGeometryParticleHandleImp<T,d,true>
,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 430
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 472
Error C2526 ‘ComputeFactorMatrix3’: C linkage function cannot return C++ class ‘Chaos::PMatrix<T,3,3>’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 474
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 487
Error C4190 ‘GetEnergyClampedImpulse’ has C-linkage specified, but returns UDT ‘Chaos::TVector<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 489
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 521
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::Apply(const T,Chaos::TRigidBodyContactConstraint<T,d> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 523
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 725
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::Apply(const T,const TArray<Chaos::TPBDCollisionConstraintHandle<T,d>,FDefaultAllocator> &,const int32,const int32)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 727
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 744
Error C2888 'void Chaos::TPBDCollisionConstraint<T,d>::ApplyPushOut(const T,Chaos::TRigidBodyContactConstraint<T,d> &,const TSet<Chaos::TGeometryParticleHandleImp<T,d,true>
,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator> &,int32,int32,bool &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 746
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 861
Error C2888 ‘bool Chaos::TPBDCollisionConstraint<T,d>::ApplyPushOut(const T,const TArray<Chaos::TPBDCollisionConstraintHandle<T,d>,FDefaultAllocator> &,const TSet<Chaos::TGeometryParticleHandleImp<T,d,true>,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator> &,int32,int32)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 863
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 886
Error C4190 ‘GetTransform’ has C-linkage specified, but returns UDT ‘Chaos::TRigidTransform<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 888
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 919
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 935
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 949
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 978
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1083
Error C2733 ‘ispc::Chaos::SampleObject2’: second C linkage of overloaded function not allowed UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1084
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1387
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1448
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1464
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1482
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1500
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1521
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1558
Error C2526 ‘FindRelevantShapes2’: C linkage function cannot return C++ class ‘TArray<Chaos::Pair<const Chaos::TImplicitObject<T,d>*,Chaos::TRigidTransform<T,d>>,FDefaultAllocator>’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1560
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1590
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1624
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1648
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1649
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::UpdateLevelsetConstraint(const T,Chaos::TRigidBodyContactConstraint<T,d> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1651
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1678
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1687
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1763
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1811
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1861
Error C4190 ‘ComputeLevelsetConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1863
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1881
Error C4190 ‘ComputeLevelsetConstraintGJK’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1883
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1890
Error C4190 ‘ComputeBoxConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1892
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1899
Error C4190 ‘ComputeBoxPlaneConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1901
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1908
Error C4190 ‘ComputeSphereConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1910
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1917
Error C4190 ‘ComputeSpherePlaneConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1919
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1926
Error C4190 ‘ComputeSphereBoxConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1928
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1935
Error C4190 ‘ComputeCapsuleCapsuleConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1937
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1944
Error C4190 ‘ComputeCapsuleBoxConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1946
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1953
Error C4190 ‘ComputeSingleUnionConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1955
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1962
Error C4190 ‘ComputeUnionUnionConstraint’ has C-linkage specified, but returns UDT ‘Chaos::TRigidBodyContactConstraint<T,d>’ which is incompatible with C UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1964
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1972
Error C2888 ‘Chaos::TRigidBodyContactConstraint<T,d> Chaos::TPBDCollisionConstraint<T,d>::ComputeConstraint(Chaos::TGeometryParticleHandleImp<T,d,true> *,Chaos::TGeometryParticleHandleImp<T,d,true> *,const T)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 1974
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2046
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2052
Error C2733 ‘ispc::Chaos::UpdateLevelsetConstraintImp’: second C linkage of overloaded function not allowed UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2053
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2058
Error C2733 ‘ispc::Chaos::UpdateConstraintImp2’: second C linkage of overloaded function not allowed UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2059
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2161
Error C2894 templates cannot be declared to have ‘C’ linkage UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2162
Error C2888 ‘void Chaos::TPBDCollisionConstraint<T,d>::UpdateConstraint(const T,Chaos::TRigidBodyContactConstraint<T,d> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2164
Error C2888 ‘void Chaos::TPBDCollisionConstraint<float,3>::UpdateConstraint<Chaos::ECollisionUpdateType::Any>(const float,Chaos::TRigidBodyContactConstraint<T,3> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2195
Error C3190 ‘void Chaos::TPBDCollisionConstraint<float,3>::UpdateConstraint<Chaos::ECollisionUpdateType::Any>(const float,Chaos::TRigidBodyContactConstraint<T,3> &)’ with the provided template arguments is not the explicit instantiation of any member function of ‘Chaos::TPBDCollisionConstraint<float,3>’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2195
Error C2888 ‘void Chaos::TPBDCollisionConstraint<float,3>::UpdateConstraint<Chaos::ECollisionUpdateType::Deepest>(const float,Chaos::TRigidBodyContactConstraint<T,3> &)’: symbol cannot be defined within namespace ‘Chaos’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2196
Error C3190 ‘void Chaos::TPBDCollisionConstraint<float,3>::UpdateConstraint<Chaos::ECollisionUpdateType::Deepest>(const float,Chaos::TRigidBodyContactConstraint<T,3> &)’ with the provided template arguments is not the explicit instantiation of any member function of ‘Chaos::TPBDCollisionConstraint<float,3>’ UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2196
Error C1003 error count exceeds 100; stopping compilation UE4 C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\PBDCollisionConstraint.cpp 2196
Error MSB3075 The command “…\Build\BatchFiles\Build.bat -Target=“UE4Editor Win64 Development” -Target=“ShaderCompileWorker Win64 Development -Quiet” -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

and when i do the debug .i get

‘UnrealBuildTool.exe’ (CLR v4.0.30319: DefaultDomain): Loaded ‘C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll’. Cannot find or open the PDB file.
‘UnrealBuildTool.exe’ (CLR v4.0.30319: DefaultDomain): Loaded ‘C:\Users\Administrator\Desktop\ue4.2\Engine\Binaries\DotNET\UnrealBuildTool.exe’. Symbols loaded.
‘UnrealBuildTool.exe’ (CLR v4.0.30319: UnrealBuildTool.exe): Loaded ‘C:\Users\Administrator\Desktop\ue4.2\Engine\Binaries\DotNET\DotNETUtilities.dll’. Symbols loaded.
‘UnrealBuildTool.exe’ (CLR v4.0.30319: UnrealBuildTool.exe): Loaded ‘C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll’. Cannot find or open the PDB file.
‘UnrealBuildTool.exe’ (CLR v4.0.30319: UnrealBuildTool.exe): Loaded ‘C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll’. Cannot find or open the PDB file.
‘UnrealBuildTool.exe’ (CLR v4.0.30319: UnrealBuildTool.exe): Loaded ‘C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll’. Cannot find or open the PDB file.
‘UnrealBuildTool.exe’ (CLR v4.0.30319: UnrealBuildTool.exe): Loaded ‘C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll’. Cannot find or open the PDB file.
XXXPlatformFactory.RegisterBuildPlatforms: XXXPlatformSDK using manually installed SDK 1.0.0
MacPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.MacPlatformSDK using manually installed SDK
TVOSPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.IOSPlatformSDK has no valid SDK
AndroidPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.AndroidPlatformSDK has no valid SDK
HoloLensPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.HoloLensPlatformSDK using manually installed SDK
IOSPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.IOSPlatformSDK has no valid SDK
LinuxPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.LinuxPlatformSDK has no valid SDK
LuminSDKVersionHelper.HasAnySDK: *** Unable to determine MLSDK location ***
LuminSDKVersionHelper.HasAnySDK: *** Unable to determine MLSDK location ***
LuminPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.LuminPlatformSDK has no valid SDK
WindowsPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.WindowsPlatformSDK using manually installed SDK
BuildMode.Execute: Command line: “C:\Users\Administrator\Desktop\ue4.2\Engine\Binaries\DotNET\UnrealBuildTool.exe”
Exception thrown: ‘UnrealBuildTool.BuildException’ in UnrealBuildTool.exe
UnrealBuildTool.Main: ERROR: No platforms specified for target
UnrealBuildTool.Main: BuildException: No platforms specified for target
UnrealBuildTool.Main: at UnrealBuildTool.TargetDescriptor.ParseSingleCommandLine(CommandLineArguments Arguments, Boolean bUsePrecompiled, Boolean bSkipRulesCompile, List1 TargetDescriptors) in C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Programs\UnrealBuildTool\Configuration\TargetDescriptor.cs:line 272 UnrealBuildTool.Main: at UnrealBuildTool.TargetDescriptor.ParseCommandLine(CommandLineArguments Arguments, Boolean bUsePrecompiled, Boolean bSkipRulesCompile, List1 TargetDescriptors) in C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Programs\UnrealBuildTool\Configuration\TargetDescriptor.cs:line 192
UnrealBuildTool.Main: at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) in C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 135
UnrealBuildTool.Main: at UnrealBuildTool.UnrealBuildTool.Main(String] ArgumentsArray) in C:\Users\Administrator\Desktop\ue4.2\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 517
Timeline.Print: Timeline:
Timeline.Print:
Timeline.Print: 0.000]
Timeline.Print: 0.000](+0.050) <unknown>
Timeline.Print: 0.050](+0.007) FileMetadataPrefetch.QueueEngineDirectory()
Timeline.Print: 0.057](+0.335) XmlConfig.ReadConfigFiles()
Timeline.Print: 0.393](+0.000) SingleInstanceMutex.Acquire()
Timeline.Print: 0.393](+0.456) UEBuildPlatform.RegisterPlatforms()
Timeline.Print: 0.395 0.001](+0.130) Initializing InstalledPlatformInfo
Timeline.Print: 0.525 0.132](+0.000) Querying types
Timeline.Print: 0.529 0.135](+0.182) XXXPlatformFactory
Timeline.Print: 0.712 0.318](+0.004) MacPlatformFactory
Timeline.Print: 0.716 0.323](+0.011) TVOSPlatformFactory
Timeline.Print: 0.728 0.335](+0.019) AndroidPlatformFactory
Timeline.Print: 0.748 0.354](+0.008) HoloLensPlatformFactory
Timeline.Print: 0.756 0.362](+0.007) IOSPlatformFactory
Timeline.Print: 0.764 0.370](+0.008) LinuxPlatformFactory
Timeline.Print: 0.772 0.378](+0.068) LuminPlatformFactory
Timeline.Print: 0.841 0.447](+0.008) WindowsPlatformFactory
Timeline.Print: 0.850](+0.030) <unknown>
Timeline.Print: 0.880](+0.004) DeleteJunk()
Timeline.Print: 0.884](+0.063) TargetDescriptor.ParseCommandLine()
Timeline.Print: 0.947](+0.212) <unknown>
Timeline.Print: 1.160](+0.006) FileMetadataPrefetch.Stop()
Timeline.Print: 1.172]
The program ‘[2496] UnrealBuildTool.exe’ has exited with code 5 (0x5).

how can i fix it?

were u able to fix it?

I know this is late, but wanted to add for posterity. I had this same issue, and I resolved it by updating to Visual Studio 2019.

This error is related to the ‘chaos’ collision feature that’s been added to the engine recently. I thought it was only in beta/experimental, but it looks like it tries to compile it by default. There are lengthy threads that go into how to enable the ‘chaos’ feature, so I won’t recap them here - an easy google search will reveal it. You might find after you do this that it still doesn’t compile with an error related to ‘ispc’. That file ‘PBDCollisionConstraint’ just would not compile for me, and if you look in the source file, there’s a call to something titled ‘ispc’. After much head pounding I found that ispc is an intel compiler item, and I don’t believe that the VS2017 compiler has it, but the 2019 compiler does.

Maybe there’s a way to configure VS2017 to pull in the necessary items needed to compile it, but it might be easier to just upgrade.