UE5.1Compilation can not find header file:ModuleManager.h

1>Building 43 actions with 12 processes…
1>[1/43] Resource Default.rc2
1>[2/43] Resource Default.rc2
1>[3/43] Resource Default.rc2
1>[4/43] Resource Default.rc2
1>[5/43] Resource Default.rc2
1>[6/43] Resource Default.rc2
1>[7/43] Resource Default.rc2
1>[8/43] Compile PCH.EnvironmentalLighting.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\EnvironmentalLighting\Public\EnvironmentalLighting.h(5): fatal error C1083: 无法打开包括文件: “ModuleManager.h”: No such file or directory
1>[9/43] Compile Module.EnvironmentalLighting.cpp cancelled
1>[10/43] Link UnrealEditor-EnvironmentalLighting.lib cancelled
1>[11/43] Compile PCH.SpatialMapping.cpp
1>[12/43] Compile PCH.ZED.cpp
1>[13/43] Compile PCH.ZEDEditor.cpp
1>[14/43] Compile PCH.SpatialMappingEditor.cpp
1>[15/43] Compile PCH.Stereolabs.cpp
1>[16/43] Compile Module.ZEDEditor.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZEDEditor\Public\AnimGraphNode_ZEDPose.h(6): fatal error C1083: 无法打开包括文件: “AnimNode_ZEDPose.h”: No such file or directory
1>[17/43] Link UnrealEditor-ZEDEditor.lib cancelled
1>[18/43] Compile Module.Stereolabs.2_of_4.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(87): warning C4996: ‘std::unary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(270): note: 参见“std::unary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(91): warning C4996: ‘std::binary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(291): note: 参见“std::binary_negate”的声明
1>[19/43] Compile Module.Stereolabs.1_of_4.cpp
1>[20/43] Compile SharedPCH.Engine.ShadowErrors.cpp
1>[21/43] Compile ZED_Test1010.init.gen.cpp
1>[22/43] Compile ZED_Test1010.cpp
1>[23/43] Compile ZED_Test1010GameModeBase.gen.cpp
1>[24/43] Compile ZED_Test1010GameModeBase.cpp
1>[25/43] Link UnrealEditor-ZED_Test1010.lib
1> 正在创建库 E:\TestDemo\ZED_Test1010\Intermediate\Build\Win64\UnrealEditor\Development\ZED_Test1010\UnrealEditor-ZED_Test1010.lib 和对象 E:\TestDemo\ZED_Test1010\Intermediate\Build\Win64\UnrealEditor\Development\ZED_Test1010\UnrealEditor-ZED_Test1010.exp
1>[26/43] Link UnrealEditor-ZED_Test1010.dll
1> 正在创建库 E:\TestDemo\ZED_Test1010\Intermediate\Build\Win64\UnrealEditor\Development\ZED_Test1010\UnrealEditor-ZED_Test1010.suppressed.lib 和对象 E:\TestDemo\ZED_Test1010\Intermediate\Build\Win64\UnrealEditor\Development\ZED_Test1010\UnrealEditor-ZED_Test1010.suppressed.exp
1>[27/43] Compile Module.ZED.2_of_2.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(87): warning C4996: ‘std::unary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(270): note: 参见“std::unary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(91): warning C4996: ‘std::binary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(291): note: 参见“std::binary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Public\Core\ZEDCamera.h(356): error C2143: 语法错误: 缺少“;”(在“*”的前面)
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Public\Core\ZEDCamera.h(356): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Public\Core\ZEDCamera.h(356): error C2238: 意外的标记位于“;”之前
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(48): error C2614: “AZEDCamera”: 非法的成员初始化:“LeftCamera”不是基或成员
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(60): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(67): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(68): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(69): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(88): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(89): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(90): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(91): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(92): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(94): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(95): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(96): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(97): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(593): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(603): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(604): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(607): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(617): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(618): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDCamera.cpp(639): error C2065: “LeftCamera”: 未声明的标识符
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ZED\Private\HUD\ZEDWidgetComponent.cpp(30): warning C4996: ‘UTextBlock::Font’: Direct access to Font is deprecated. Please use the getter or setter. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>[28/43] Compile Module.Stereolabs.3_of_4.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(87): warning C4996: ‘std::unary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(270): note: 参见“std::unary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(91): warning C4996: ‘std::binary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(291): note: 参见“std::binary_negate”的声明
1>[29/43] Compile Module.SpatialMapping.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(87): warning C4996: ‘std::unary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(270): note: 参见“std::unary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(91): warning C4996: ‘std::binary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(291): note: 参见“std::binary_negate”的声明
1>[30/43] Link UnrealEditor-SpatialMapping.lib
1> 正在创建库 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\SpatialMapping\UnrealEditor-SpatialMapping.lib 和对象 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\SpatialMapping\UnrealEditor-SpatialMapping.exp
1>[31/43] Compile Module.ZED.1_of_2.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(87): warning C4996: ‘std::unary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(270): note: 参见“std::unary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(91): warning C4996: ‘std::binary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(291): note: 参见“std::binary_negate”的声明
1>[32/43] Link UnrealEditor-ZED.lib cancelled
1>[33/43] Compile Module.Stereolabs.4_of_4.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(87): warning C4996: ‘std::unary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(270): note: 参见“std::unary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(91): warning C4996: ‘std::binary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(291): note: 参见“std::binary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\Stereolabs\Private\Core\StereolabsTexture.cpp(398): warning C4996: ‘UTexture::Resource’: Use GetResource() / SetResource() accessors instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>[34/43] Link UnrealEditor-Stereolabs.lib
1> 正在创建库 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\Stereolabs\UnrealEditor-Stereolabs.lib 和对象 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\Stereolabs\UnrealEditor-Stereolabs.exp
1>[35/43] Link UnrealEditor-ZED.dll cancelled
1>[36/43] Link UnrealEditor-ZEDEditor.dll cancelled
1>[37/43] Link UnrealEditor-SpatialMapping.dll cancelled
1>[38/43] Link UnrealEditor-EnvironmentalLighting.dll cancelled
1>[39/43] Link UnrealEditor-Stereolabs.dll
1> 正在创建库 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\Stereolabs\UnrealEditor-Stereolabs.suppressed.lib 和对象 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\Stereolabs\UnrealEditor-Stereolabs.suppressed.exp
1>[40/43] Compile Module.SpatialMappingEditor.cpp
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(87): warning C4996: ‘std::unary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(270): note: 参见“std::unary_negate”的声明
1>E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Source\ThirdParty\MixedReality\include\Eigen\src\Core\functors\StlFunctors.h(91): warning C4996: ‘std::binary_negate<_Fn>’: warning STL4008: std::not1(), std::not2(), std::unary_negate, and std::binary_negate are deprecated in C++17. They are superseded by std::not_fn(). You can define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\INCLUDE\functional(291): note: 参见“std::binary_negate”的声明
1>[41/43] Link UnrealEditor-SpatialMappingEditor.lib
1> 正在创建库 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\SpatialMappingEditor\UnrealEditor-SpatialMappingEditor.lib 和对象 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\SpatialMappingEditor\UnrealEditor-SpatialMappingEditor.exp
1>[42/43] Link UnrealEditor-SpatialMappingEditor.dll
1> 正在创建库 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\SpatialMappingEditor\UnrealEditor-SpatialMappingEditor.suppressed.lib 和对象 E:\TestDemo\ZED_Test1010\Plugins\Stereolabs\Intermediate\Build\Win64\UnrealEditor\Development\SpatialMappingEditor\UnrealEditor-SpatialMappingEditor.suppressed.exp
1>[43/43] WriteMetadata ZED_Test1010Editor.target cancelled
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Micr

Hi @Huke668899

  • What version of Unreal Engine 5 are you using?
  • Are you trying to compile a custom project or directly our sample?
  • What version of the ZED SDK are you using?
  • What version of the ZED UE5 plugin are you using?