You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is it appropriate to build this repository under MACOS 10.13, 10.14, Xcode 10.1, I tried on different computers while the build always failed, I strictly followed your instructions and had to modified -Wno-unused-lambda-capture skip the build error of ShaderCompileWorker, and I cannot figure out how to fix the errors building UE4, there's no similar error from google search.
Am I missing some NV sdk or something?
Thank you very much!
Please Help Me!
the errors like:
[71/1877] Compile Module.UnrealEd.10_of_21.cpp
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.16_of_21.cpp:3:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Lightmass/LightmassRender.cpp:22:
Runtime/Engine/Public/MaterialCompiler.h:125:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
Runtime/Engine/Public/MaterialCompiler.h:383:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.16_of_21.cpp:3:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Lightmass/LightmassRender.cpp:25:
In file included from Runtime/Landscape/Classes/LandscapeMaterialInstanceConstant.h:7:
In file included from Runtime/Engine/Classes/Materials/MaterialInstanceConstant.h:8:
Runtime/Engine/Classes/Materials/MaterialInstance.h:228:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
Runtime/Engine/Classes/Materials/MaterialInstance.h:321:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.16_of_21.cpp:3:
/Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Lightmass/LightmassRender.cpp:130:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_21.cpp:13:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxLightImport.cpp:11:
Runtime/Engine/Classes/Components/PointLightComponent.h:157:5: warning: 'WITH_NVVOLUMETRICLIGHTING' is not defined, evaluates to 0 [-Wundef]
#if WITH_NVVOLUMETRICLIGHTING
^
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_21.cpp:13:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxLightImport.cpp:12:
Runtime/Engine/Classes/Components/SpotLightComponent.h:84:5: warning: 'WITH_NVVOLUMETRICLIGHTING' is not defined, evaluates to 0 [-Wundef]
#if WITH_NVVOLUMETRICLIGHTING
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_21.cpp:14:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxMainExport.cpp:87:
In file included from Runtime/Engine/Public/PhysXPublic.h:17:
In file included from Runtime/Engine/Public/PhysXIncludes.h:92:
ThirdParty/PhysX/FLEX-1.1.0/include/NvFlex.h:32:5: warning: '_WIN32' is not defined, evaluates to 0 [-Wundef]
#if _WIN32
ThirdParty/PhysX/FLEX-1.1.0/include/NvFlex.h:195:129: error: implicit conversion from 'NvFlexPhase' to 'int' changes value from 4278190080 to -16777216 [-Werror,-Wconstant-conversion]
NV_FLEX_API inline int NvFlexMakePhase(int group, int particleFlags) { return NvFlexMakePhaseWithChannels(group, particleFlags, eNvFlexPhaseShapeChannelMask); }
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ThirdParty/PhysX/FLEX-1.1.0/include/NvFlex.h:938:147: error: implicit conversion from 'NvFlexPhase' to 'int' changes value from 4278190080 to -16777216 [-Werror,-Wconstant-conversion]
NV_FLEX_API inline int NvFlexMakeShapeFlags(NvFlexCollisionShapeType type, bool dynamic) { return NvFlexMakeShapeFlagsWithChannels(type, dynamic, eNvFlexPhaseShapeChannelMask); }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_21.cpp:16:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxMaterialImport.cpp:19:
In file included from Runtime/Engine/Classes/Materials/MaterialInstanceConstant.h:8:
Runtime/Engine/Classes/Materials/MaterialInstance.h:228:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
Runtime/Engine/Classes/Materials/MaterialInstance.h:321:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
3 warnings generated.
[72/1877] Compile Module.UnrealEd.4_of_21.cpp
5 warnings and 2 errors generated.
[73/1877] Compile Module.UnrealEd.17_of_21.cpp
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.4_of_21.cpp:5:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/ComponentAssetBroker.cpp:17:
In file included from ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:125:
In file included from ThirdParty/HairWorks/Nv/HairWorks/NvHairCommon.h:11:
In file included from ThirdParty/HairWorks/Nv/Common/NvCoCommon.h:31:
ThirdParty/HairWorks/Nv/Core/1.0/NvAssert.h:15:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
#if NV_ENABLE_ASSERTS
ThirdParty/HairWorks/Nv/Core/1.0/NvAssert.h:12:42: note: expanded from macro 'NV_ENABLE_ASSERTS'
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.4_of_21.cpp:5:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/ComponentAssetBroker.cpp:17:
In file included from ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:125:
In file included from ThirdParty/HairWorks/Nv/HairWorks/NvHairCommon.h:12:
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:76:1: error: expected unqualified-id
{
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:82:1: error: expected unqualified-id
{
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:90:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 rows[3];
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:96:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 rows[4];
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:100:1: error: expected unqualified-id
{
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:109:1: error: expected unqualified-id
{
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:116:25: error: field has incomplete type 'NvCo_AlignedQuaternion'
NvCo_AlignedQuaternion q;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:108:21: note: forward declaration of 'NvCo_AlignedQuaternion'
NV_ALIGN(16, struct NvCo_AlignedQuaternion)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:117:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 p;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:123:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 minimum;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:124:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 maximum;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:130:25: error: field has incomplete type 'NvCo_AlignedQuaternion'
NvCo_AlignedQuaternion q0, q1;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:108:21: note: forward declaration of 'NvCo_AlignedQuaternion'
NV_ALIGN(16, struct NvCo_AlignedQuaternion)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:130:29: error: field has incomplete type 'NvCo_AlignedQuaternion'
NvCo_AlignedQuaternion q0, q1;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:108:21: note: forward declaration of 'NvCo_AlignedQuaternion'
NV_ALIGN(16, struct NvCo_AlignedQuaternion)
^
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.4_of_21.cpp:5:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/ComponentAssetBroker.cpp:17:
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:455:3: warning: field 'm_copyAll' will be initialized after field 'm_copyGroom' [-Wreorder]
m_copyAll(true),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:726:3: warning: field 'm_lengthScale' will be initialized after field 'm_usePixelDensity' [-Wreorder]
m_lengthScale(1.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:731:3: warning: field 'm_waveScaleStrand' will be initialized after field 'm_waveScaleNoise' [-Wreorder]
m_waveScaleStrand(1.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:744:3: warning: field 'm_glintExponent' will be initialized after field 'm_rootTipColorWeight' [-Wreorder]
m_glintExponent(2.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:753:3: warning: field 'm_specularSecondaryOffset' will be initialized after field 'm_specularPowerPrimary' [-Wreorder]
m_specularSecondaryOffset(0.1f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:755:3: warning: field 'm_specularPowerSecondary' will be initialized after field 'm_rootAlphaFalloff' [-Wreorder]
m_specularPowerSecondary(20.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:759:3: warning: field 'm_shadowSigma' will be initialized after field 'm_castShadows' [-Wreorder]
m_shadowSigma(0.2f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:767:3: warning: field 'm_simulate' will be initialized after field 'm_backStopRadius' [-Wreorder]
m_simulate(true),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:774:3: warning: field 'm_interactionStiffness' will be initialized after field 'm_massScale' [-Wreorder]
m_interactionStiffness(0.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:776:3: warning: field 'm_windNoise' will be initialized after field 'm_stiffness' [-Wreorder]
m_windNoise(0.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:779:3: warning: field 'm_stiffnessDamping' will be initialized after field 'm_rootStiffness' [-Wreorder]
m_stiffnessDamping(0.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:818:3: warning: field 'm_visualizePinConstraints' will be initialized after field 'm_visualizeCapsules' [-Wreorder]
m_visualizePinConstraints(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:821:3: warning: field 'm_visualizeGuideHairs' will be initialized after field 'm_visualizeControlVertices' [-Wreorder]
m_visualizeGuideHairs(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:822:3: warning: field 'm_visualizeControlVertices' will be initialized after field 'm_visualizeBoundingBox' [-Wreorder]
m_visualizeControlVertices(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:825:3: warning: field 'm_visualizeShadingNormalBone' will be initialized after field 'm_visualizeHairInteractions' [-Wreorder]
m_visualizeShadingNormalBone(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:827:3: warning: field 'm_visualizeSkinnedGuideHairs' will be initialized after field 'm_visualizeFrames' [-Wreorder]
m_visualizeSkinnedGuideHairs(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:830:3: warning: field 'm_visualizeShadingNormals' will be initialized after field 'm_visualizeHairSkips' [-Wreorder]
m_visualizeShadingNormals(false),
^
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.17_of_21.cpp:12:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/PreviewMaterial.cpp:16:
In file included from Runtime/Engine/Classes/Materials/MaterialInstanceConstant.h:8:
Runtime/Engine/Classes/Materials/MaterialInstance.h:228:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
^
Runtime/Engine/Classes/Materials/MaterialInstance.h:321:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
^
17 warnings and 14 errors generated.
These are not all the errors, 不一而足。
The text was updated successfully, but these errors were encountered:
Hi, is it appropriate to build this repository under MACOS 10.13, 10.14, Xcode 10.1, I tried on different computers while the build always failed, I strictly followed your instructions and had to modified -Wno-unused-lambda-capture skip the build error of ShaderCompileWorker, and I cannot figure out how to fix the errors building UE4, there's no similar error from google search.
Am I missing some NV sdk or something?
Thank you very much!
Please Help Me!
the errors like:
[71/1877] Compile Module.UnrealEd.10_of_21.cpp
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.16_of_21.cpp:3:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Lightmass/LightmassRender.cpp:22:
Runtime/Engine/Public/MaterialCompiler.h:125:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
Runtime/Engine/Public/MaterialCompiler.h:383:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.16_of_21.cpp:3:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Lightmass/LightmassRender.cpp:25:
In file included from Runtime/Landscape/Classes/LandscapeMaterialInstanceConstant.h:7:
In file included from Runtime/Engine/Classes/Materials/MaterialInstanceConstant.h:8:
Runtime/Engine/Classes/Materials/MaterialInstance.h:228:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
Runtime/Engine/Classes/Materials/MaterialInstance.h:321:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.16_of_21.cpp:3:
/Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Lightmass/LightmassRender.cpp:130:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_21.cpp:13:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxLightImport.cpp:11:
Runtime/Engine/Classes/Components/PointLightComponent.h:157:5: warning: 'WITH_NVVOLUMETRICLIGHTING' is not defined, evaluates to 0 [-Wundef]
#if WITH_NVVOLUMETRICLIGHTING
^
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_21.cpp:13:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxLightImport.cpp:12:
Runtime/Engine/Classes/Components/SpotLightComponent.h:84:5: warning: 'WITH_NVVOLUMETRICLIGHTING' is not defined, evaluates to 0 [-Wundef]
#if WITH_NVVOLUMETRICLIGHTING
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_21.cpp:14:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxMainExport.cpp:87:
In file included from Runtime/Engine/Public/PhysXPublic.h:17:
In file included from Runtime/Engine/Public/PhysXIncludes.h:92:
ThirdParty/PhysX/FLEX-1.1.0/include/NvFlex.h:32:5: warning: '_WIN32' is not defined, evaluates to 0 [-Wundef]
#if _WIN32
ThirdParty/PhysX/FLEX-1.1.0/include/NvFlex.h:195:129: error: implicit conversion from 'NvFlexPhase' to 'int' changes value from 4278190080 to -16777216 [-Werror,-Wconstant-conversion]
NV_FLEX_API inline int NvFlexMakePhase(int group, int particleFlags) { return NvFlexMakePhaseWithChannels(group, particleFlags, eNvFlexPhaseShapeChannelMask); }
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ThirdParty/PhysX/FLEX-1.1.0/include/NvFlex.h:938:147: error: implicit conversion from 'NvFlexPhase' to 'int' changes value from 4278190080 to -16777216 [-Werror,-Wconstant-conversion]
NV_FLEX_API inline int NvFlexMakeShapeFlags(NvFlexCollisionShapeType type, bool dynamic) { return NvFlexMakeShapeFlagsWithChannels(type, dynamic, eNvFlexPhaseShapeChannelMask); }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_21.cpp:16:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxMaterialImport.cpp:19:
In file included from Runtime/Engine/Classes/Materials/MaterialInstanceConstant.h:8:
Runtime/Engine/Classes/Materials/MaterialInstance.h:228:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
Runtime/Engine/Classes/Materials/MaterialInstance.h:321:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
3 warnings generated.
[72/1877] Compile Module.UnrealEd.4_of_21.cpp
5 warnings and 2 errors generated.
[73/1877] Compile Module.UnrealEd.17_of_21.cpp
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.4_of_21.cpp:5:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/ComponentAssetBroker.cpp:17:
In file included from ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:125:
In file included from ThirdParty/HairWorks/Nv/HairWorks/NvHairCommon.h:11:
In file included from ThirdParty/HairWorks/Nv/Common/NvCoCommon.h:31:
ThirdParty/HairWorks/Nv/Core/1.0/NvAssert.h:15:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
#if NV_ENABLE_ASSERTS
ThirdParty/HairWorks/Nv/Core/1.0/NvAssert.h:12:42: note: expanded from macro 'NV_ENABLE_ASSERTS'
define NV_ENABLE_ASSERTS (NV_DEBUG && !defined(CUDACC))
ThirdParty/HairWorks/Nv/Core/1.0/NvAssert.h:32:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
if NV_ENABLE_ASSERTS
ThirdParty/HairWorks/Nv/Core/1.0/NvAssert.h:12:42: note: expanded from macro 'NV_ENABLE_ASSERTS'
define NV_ENABLE_ASSERTS (NV_DEBUG && !defined(CUDACC))
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.4_of_21.cpp:5:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/ComponentAssetBroker.cpp:17:
In file included from ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:125:
In file included from ThirdParty/HairWorks/Nv/HairWorks/NvHairCommon.h:12:
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:76:1: error: expected unqualified-id
{
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:82:1: error: expected unqualified-id
{
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:90:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 rows[3];
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:96:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 rows[4];
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:100:1: error: expected unqualified-id
{
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:109:1: error: expected unqualified-id
{
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:116:25: error: field has incomplete type 'NvCo_AlignedQuaternion'
NvCo_AlignedQuaternion q;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:108:21: note: forward declaration of 'NvCo_AlignedQuaternion'
NV_ALIGN(16, struct NvCo_AlignedQuaternion)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:117:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 p;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:123:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 minimum;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:124:19: error: field has incomplete type 'NvCo_AlignedVec4'
NvCo_AlignedVec4 maximum;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:81:21: note: forward declaration of 'NvCo_AlignedVec4'
NV_ALIGN(16, struct NvCo_AlignedVec4)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:130:25: error: field has incomplete type 'NvCo_AlignedQuaternion'
NvCo_AlignedQuaternion q0, q1;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:108:21: note: forward declaration of 'NvCo_AlignedQuaternion'
NV_ALIGN(16, struct NvCo_AlignedQuaternion)
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:130:29: error: field has incomplete type 'NvCo_AlignedQuaternion'
NvCo_AlignedQuaternion q0, q1;
^
ThirdParty/HairWorks/Nv/Common/Math/NvCoMathTypes.h:108:21: note: forward declaration of 'NvCo_AlignedQuaternion'
NV_ALIGN(16, struct NvCo_AlignedQuaternion)
^
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.4_of_21.cpp:5:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/ComponentAssetBroker.cpp:17:
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:455:3: warning: field 'm_copyAll' will be initialized after field 'm_copyGroom' [-Wreorder]
m_copyAll(true),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:726:3: warning: field 'm_lengthScale' will be initialized after field 'm_usePixelDensity' [-Wreorder]
m_lengthScale(1.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:731:3: warning: field 'm_waveScaleStrand' will be initialized after field 'm_waveScaleNoise' [-Wreorder]
m_waveScaleStrand(1.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:744:3: warning: field 'm_glintExponent' will be initialized after field 'm_rootTipColorWeight' [-Wreorder]
m_glintExponent(2.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:753:3: warning: field 'm_specularSecondaryOffset' will be initialized after field 'm_specularPowerPrimary' [-Wreorder]
m_specularSecondaryOffset(0.1f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:755:3: warning: field 'm_specularPowerSecondary' will be initialized after field 'm_rootAlphaFalloff' [-Wreorder]
m_specularPowerSecondary(20.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:759:3: warning: field 'm_shadowSigma' will be initialized after field 'm_castShadows' [-Wreorder]
m_shadowSigma(0.2f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:767:3: warning: field 'm_simulate' will be initialized after field 'm_backStopRadius' [-Wreorder]
m_simulate(true),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:774:3: warning: field 'm_interactionStiffness' will be initialized after field 'm_massScale' [-Wreorder]
m_interactionStiffness(0.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:776:3: warning: field 'm_windNoise' will be initialized after field 'm_stiffness' [-Wreorder]
m_windNoise(0.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:779:3: warning: field 'm_stiffnessDamping' will be initialized after field 'm_rootStiffness' [-Wreorder]
m_stiffnessDamping(0.0f),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:818:3: warning: field 'm_visualizePinConstraints' will be initialized after field 'm_visualizeCapsules' [-Wreorder]
m_visualizePinConstraints(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:821:3: warning: field 'm_visualizeGuideHairs' will be initialized after field 'm_visualizeControlVertices' [-Wreorder]
m_visualizeGuideHairs(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:822:3: warning: field 'm_visualizeControlVertices' will be initialized after field 'm_visualizeBoundingBox' [-Wreorder]
m_visualizeControlVertices(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:825:3: warning: field 'm_visualizeShadingNormalBone' will be initialized after field 'm_visualizeHairInteractions' [-Wreorder]
m_visualizeShadingNormalBone(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:827:3: warning: field 'm_visualizeSkinnedGuideHairs' will be initialized after field 'm_visualizeFrames' [-Wreorder]
m_visualizeSkinnedGuideHairs(false),
^
ThirdParty/HairWorks/Nv/HairWorks/NvHairSdk.h:830:3: warning: field 'm_visualizeShadingNormals' will be initialized after field 'm_visualizeHairSkips' [-Wreorder]
m_visualizeShadingNormals(false),
^
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Intermediate/Build/Mac/UE4Editor/Development/UnrealEd/Module.UnrealEd.17_of_21.cpp:12:
In file included from /Users/JUN/work/UnrealEngine_NVIDIAGameWorks-4.18-GameWorks/Engine/Source/Editor/UnrealEd/Private/PreviewMaterial.cpp:16:
In file included from Runtime/Engine/Classes/Materials/MaterialInstanceConstant.h:8:
Runtime/Engine/Classes/Materials/MaterialInstance.h:228:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
^
Runtime/Engine/Classes/Materials/MaterialInstance.h:321:5: warning: 'WITH_GFSDK_VXGI' is not defined, evaluates to 0 [-Wundef]
#if WITH_GFSDK_VXGI
^
17 warnings and 14 errors generated.
These are not all the errors, 不一而足。
The text was updated successfully, but these errors were encountered: