mordentral
(mordentral)
June 4, 2017, 11:40pm
1192
Hey I asked a question about including FLEX a while back, and it worked great.
Now I was trying to incorporate your plugin into a 4.15.3 engine build that includes FLEX, Hairworks, Flow, and VolumLight …
I’ve followed your steps … included the relevant folders in the Plugins folder of my Engine && My Project/Plugins folder… when I try to build the project.sln I get the following
Errors
Severity Code Description Project File Line Suppression State
Error CS1729 ‘UnrealBuildTool.ModuleRules’ does not contain a constructor that takes 1 arguments FlexProject c:\Users\jjjreisss\UnrealEngine\FlexProject\Plugins\OpenVRExpansionPlugin\Source\OpenVRExpansionPlugin\OpenVRExpansionPlugin.Build.cs 12
Error CS1061 ‘UnrealBuildTool.ReadOnlyTargetRules’ does not contain a definition for ‘Platform’ and no extension method ‘Platform’ accepting a first argument of type ‘UnrealBuildTool.ReadOnlyTargetRules’ could be found (are you missing a using directive or an assembly reference?) FlexProject c:\Users\jjjreisss\UnrealEngine\FlexProject\Plugins\OpenVRExpansionPlugin\Source\OpenVRExpansionPlugin\OpenVRExpansionPlugin.Build.cs 58
Error CS1061 ‘UnrealBuildTool.ReadOnlyTargetRules’ does not contain a definition for ‘Platform’ and no extension method ‘Platform’ accepting a first argument of type ‘UnrealBuildTool.ReadOnlyTargetRules’ could be found (are you missing a using directive or an assembly reference?) FlexProject c:\Users\jjjreisss\UnrealEngine\FlexProject\Plugins\OpenVRExpansionPlugin\Source\OpenVRExpansionPlugin\OpenVRExpansionPlugin.Build.cs 58
Error CS1729 ‘UnrealBuildTool.ModuleRules’ does not contain a constructor that takes 1 arguments FlexProject c:\Users\jjjreisss\UnrealEngine\FlexProject\Plugins\VRExpansionPlugin\Source\VRExpansionPlugin\VRExpansionPlugin.Build.cs 12
Error CS1061 ‘UnrealBuildTool.ReadOnlyTargetRules’ does not contain a definition for ‘Platform’ and no extension method ‘Platform’ accepting a first argument of type ‘UnrealBuildTool.ReadOnlyTargetRules’ could be found (are you missing a using directive or an assembly reference?) FlexProject c:\Users\jjjreisss\UnrealEngine\FlexProject\Plugins\VRExpansionPlugin\Source\VRExpansionPlugin\VRExpansionPlugin.Build.cs 111
Error CS1061 ‘UnrealBuildTool.ReadOnlyTargetRules’ does not contain a definition for ‘Platform’ and no extension method ‘Platform’ accepting a first argument of type ‘UnrealBuildTool.ReadOnlyTargetRules’ could be found (are you missing a using directive or an assembly reference?) FlexProject c:\Users\jjjreisss\UnrealEngine\FlexProject\Plugins\VRExpansionPlugin\Source\VRExpansionPlugin\VRExpansionPlugin.Build.cs 112
Error CS1061 ‘UnrealBuildTool.ReadOnlyTargetRules’ does not contain a definition for ‘Platform’ and no extension method ‘Platform’ accepting a first argument of type ‘UnrealBuildTool.ReadOnlyTargetRules’ could be found (are you missing a using directive or an assembly reference?) FlexProject c:\Users\jjjreisss\UnrealEngine\FlexProject\Plugins\VRExpansionPlugin\Source\VRExpansionPlugin\VRExpansionPlugin.Build.cs 113
Error CS1061 ‘UnrealBuildTool.ReadOnlyTargetRules’ does not contain a definition for ‘Platform’ and no extension method ‘Platform’ accepting a first argument of type ‘UnrealBuildTool.ReadOnlyTargetRules’ could be found (are you missing a using directive or an assembly reference?) FlexProject c:\Users\jjjreisss\UnrealEngine\FlexProject\Plugins\VRExpansionPlugin\Source\VRExpansionPlugin\VRExpansionPlugin.Build.cs 114
Error UnrealBuildTool encountered an error while compiling source files FlexProject C:\Users\jjjreisss\UnrealEngine\FlexProject\Intermediate\ProjectFiles\EXEC 1
Error MSB3075 The command “C:\Users\jjjreisss\UnrealEngine\Engine\Build\BatchFiles\Build.bat FlexProjectEditor Win64 Development “C:\Users\jjjreisss\UnrealEngine\FlexProject\FlexProject.uproject” -waitmutex” exited with code 5. Please verify that you have sufficient rights to run command. FlexProject C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41
You are using the 4.16 source branch with a 4.15 version of the engine (though modified it is still 4.15). Epic changed how module rules are declared in 4.16 so its not directly compatible.
You can download the locked 4.15 branch instead and use that.