virtualHC
(virtualHC)
September 30, 2019, 2:07pm
9
anonymous_user_7536dec91:
I’m trying to install the FB plugin but on this step:
In Windows Explorer, navigate to the project folder. Right click on the .uproject file and choose the option “Generate Visual Studio project files”.
I get the following error and I’ve been totally stuck there:
Running C:/Program Files/Epic Games/UE_4.23/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users//Desktop/aaa/xxx.uproject” -game -rocket -progress -log=“C:\Users\Desktop\aaa/Saved/Logs/UnrealVersionSelector-2019.09.28-22.47.17.log”
Discovering modules, targets and source code for project…
WARNING: Trying to build an enterprise target but the enterprise directory is missing. Falling back on engine components only.
While compiling C:\Users\Desktop\aaa\Intermediate\Build\BuildRules\xxxModuleRules.dll:
c:\Users\Desktop\aaa\Plugins\fb-audio360-ue4\Source\Audio360\Audio360.Build.cs(47,17) : error CS0151: A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type
c:\Users\Desktop\aaa\Plugins\fb-audio360-ue4\Source\Audio360\Audio360.Build.cs(73,17) : error CS0151: A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type
ERROR: Unable to compile source files.
Ah! Yes. That’s an API change in 4.23. I fixed that by replacing the switch occurrences with chains of if-else-if statements in Audio360.Build.cs. I’ll share that if needed.