我在编译UE4插件的时候出现错误。

我下载了github上的AgoraIO-Community/Agora-Unreal-SDK-CPP工程,但是在编译的时候vs报如下错误:

1>------ 已启动生成: 项目: AgoraVideoCall, 配置: Development_Editor x64 ------
1>Creating makefile for AgoraVideoCallEditor (no existing makefile)
1>While compiling E:\Unreal Plugins\Agora-Unreal-SDK-CPP-master\Intermediate\Build\BuildRules\AgoraVideoCallModuleRules.dll:
1>e:\Unreal Plugins\Agora-Unreal-SDK-CPP-master\Plugins\AgoraPlugin\Source\ThirdParty\Agora\Agora.Build.cs(15,13): warning CS0618: “UnrealBuildTool.ModuleRules.PublicLibraryPaths”已过时:“For external libraries use the full path in PublicAdditionalLibraries, if its a system library then use PublicSystemLibraries/PublicSystemLibraryPaths”
1>UnrealBuildTool : warning : Library 'agora_rtc_sdk.lib' was not resolvable to a file when used in Module 'Agora', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
1>Parsing headers for AgoraVideoCallEditor
1>  Running UnrealHeaderTool "E:\Unreal Plugins\Agora-Unreal-SDK-CPP-master\AgoraVideoCall.uproject" "E:\Unreal Plugins\Agora-Unreal-SDK-CPP-master\Intermediate\Build\Win64\AgoraVideoCallEditor\Development\AgoraVideoCallEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\kyleh\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(173) : LogCompile: Error: 'EFRAME_RATE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(197) : LogCompile: Error: 'EORIENTATION_MODE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(209) : LogCompile: Error: 'EDEGRADATION_PREFERENCE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(333) : LogCompile: Error: 'ECAPTURER_OUTPUT_PREFERENCE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(373) : LogCompile: Error: 'EAUDIO_PROFILE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(394) : LogCompile: Error: 'EAUDIO_SCENARIO_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(420) : LogCompile: Error: 'EAUDIO_EQUALIZATION_BAND_FREQUENCY' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(436) : LogCompile: Error: 'EAUDIO_REVERB_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(466) : LogCompile: Error: 'EAUDIO_REVERB_PRESET' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(476) : LogCompile: Error: 'ECLIENT_ROLE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(488) : LogCompile: Error: 'EPRIORITY_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(506) : LogCompile: Error: 'ERENDER_MODE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(516) : LogCompile: Error: 'EAUDIO_CODEC_PROFILE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(540) : LogCompile: Error: 'ERAW_AUDIO_FRAME_OP_MODE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(554) : LogCompile: Error: 'ESTREAM_FALLBACK_OPTIONS' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(574) : LogCompile: Error: 'EVOICE_CHANGER_PRESET' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(586) : LogCompile: Error: 'EVIDEO_MIRROR_MODE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(604) : LogCompile: Error: 'EAUDIO_RECORDING_QUALITY_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(616) : LogCompile: Error: 'ELIGHTENING_CONTRAST_LEVEL' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(628) : LogCompile: Error: 'EAUDIO_SAMPLE_RATE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(639) : LogCompile: Error: 'EVIDEO_CODEC_PROFILE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1332) : LogCompile: Error: 'EUSER_OFFLINE_REASON_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1374) : LogCompile: Error: 'ECHANNEL_PROFILE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1396) : LogCompile: Error: 'EVIDEO_FRAME_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1435) : LogCompile: Error: 'EVIDEO_CONTENT_HINT' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1447) : LogCompile: Error: 'ELASTMILE_PROBE_RESULT_STATE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1503) : LogCompile: Error: 'EQUALITY_ADAPT_INDICATION' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1517) : LogCompile: Error: 'EVIDEO_CODEC_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1595) : LogCompile: Error: 'EREMOTE_VIDEO_STREAM_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1747) : LogCompile: Error: 'ELOCAL_AUDIO_STREAM_ERROR' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1764) : LogCompile: Error: 'ELOCAL_AUDIO_STREAM_STATE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1793) : LogCompile: Error: 'EREMOTE_AUDIO_STATE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1830) : LogCompile: Error: 'EREMOTE_AUDIO_STATE_REASON' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1853) : LogCompile: Error: 'EMEDIA_DEVICE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1870) : LogCompile: Error: 'EAUDIO_MIXING_STATE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1887) : LogCompile: Error: 'EAUDIO_MIXING_ERROR_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1904) : LogCompile: Error: 'ELOCAL_VIDEO_STREAM_STATE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1927) : LogCompile: Error: 'ELOCAL_VIDEO_STREAM_ERROR' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1952) : LogCompile: Error: 'EREMOTE_VIDEO_STATE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(1987) : LogCompile: Error: 'EREMOTE_VIDEO_STATE_REASON' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2004) : LogCompile: Error: 'ECHANNEL_MEDIA_RELAY_STATE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2051) : LogCompile: Error: 'ECHANNEL_MEDIA_RELAY_ERROR' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2094) : LogCompile: Error: 'ECHANNEL_MEDIA_RELAY_EVENT' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2122) : LogCompile: Error: 'ERTMP_STREAM_PUBLISH_STATE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2160) : LogCompile: Error: 'ERTMP_STREAM_PUBLISH_ERROR' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2186) : LogCompile: Error: 'EAUDIO_ROUTE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2229) : LogCompile: Error: 'ECONNECTION_STATE_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2283) : LogCompile: Error: 'ECONNECTION_CHANGED_REASON_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>E:/Unreal Plugins/Agora-Unreal-SDK-CPP-master/Plugins/AgoraPlugin/Source/AgoraBlueprintable/Public/UECompatibility.h(2309) : LogCompile: Error: 'ENETWORK_TYPE' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073: 命令“chcp 65001 >NUL && "D:\Program Files\UE_4.25\Engine\Build\BatchFiles\Build.bat" AgoraVideoCallEditor Win64 Development -Project="E:\Unreal Plugins\Agora-Unreal-SDK-CPP-master\AgoraVideoCall.uproject" -WaitMutex -FromMsBuild”已退出,代码为 6。
1>已完成生成项目“AgoraVideoCall.vcxproj”的操作 - 失败。
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

我的系统是win10 64位,ue4版本是4.24。不知道有没有遇到相同问题的人,该如何解决。

建议直接在这个 GitHub 工程上提交一个 issue,开发该 Demo 的工程师会跟进这个问题的。

issue交了3天了,没有回复

好的,我们来找同事跟进一下。