monsieurgustav / UE-OSC

OSC plugin for Unreal Engine 4 Blueprints
MIT License
323 stars 95 forks source link

Unable to build plugin with 4.17.2 #49

Closed michela closed 7 years ago

michela commented 7 years ago
Running D:/Program Files/Epic Games/UE_4.17/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Users/michela/Downloads/UE4-OSC-master/UE4-OSC-master/Examples/OscDemo/OscDemo.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
Messages while compiling C:\Users\michela\Downloads\UE4-OSC-master\UE4-OSC-master\Examples\OscDemo\Intermediate\Build\BuildRules\OscDemoModuleRules.dll:
c:\Users\michela\Downloads\UE4-OSC-master\UE4-OSC-master\Examples\OscDemo\Source\OscDemo\OscDemo.Build.cs(7,9) : warning CS0618: 'UnrealBuildTool.ModuleRules.ModuleRules()' is obsolete: 'Please change your module constructor to take a ReadOnlyTargetRules parameter, and pass it to the base class constructor (eg. "MyModuleRules(ReadOnlyTargetRules Target) : base(Target)").'
c:\Users\michela\Downloads\UE4-OSC-master\UE4-OSC-master\Examples\OscDemo\Plugins\OSC\Source\OSC\OSC.Build.cs(5,10) : warning CS0618: 'UnrealBuildTool.ModuleRules.ModuleRules()' is obsolete: 'Please change your module constructor to take a ReadOnlyTargetRules parameter, and pass it to the base class constructor (eg. "MyModuleRules(ReadOnlyTargetRules Target) : base(Target)").'
c:\Users\michela\Downloads\UE4-OSC-master\UE4-OSC-master\Examples\OscDemo\Plugins\OSC\Source\OSC\OSC.Build.cs(41,53) : error CS0117: 'UnrealBuildTool.TargetRules' does not contain a definition for 'IsEditorType'
c:\Users\michela\Downloads\UE4-OSC-master\UE4-OSC-master\Examples\OscDemo\Source\OscDemo.Target.cs(8,9) : warning CS0618: 'UnrealBuildTool.TargetRules.TargetRules()' is obsolete: 'Please pass the TargetInfo parameter to the base class constructor (eg. "MyTargetRules(TargetInfo Target) : base(Target)").'
c:\Users\michela\Downloads\UE4-OSC-master\UE4-OSC-master\Examples\OscDemo\Source\OscDemoEditor.Target.cs(8,9) : warning CS0618: 'UnrealBuildTool.TargetRules.TargetRules()' is obsolete: 'Please pass the TargetInfo parameter to the base class constructor (eg. "MyTargetRules(TargetInfo Target) : base(Target)").'
UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files
Kaizien commented 7 years ago

Having the same issue with both 4.17.1 and 4.17.2

monsieurgustav commented 7 years ago

Did you take the latest commits on "master", including "fix 4.17" ? I fixed the build on 4.17, and IIRC it was working on 4.17.1.

michela commented 7 years ago

Yes confirming pulled master branch beyond that - commit 3c8a3d0127db18b9ef2b345dff343530115dd34b

Double click on OscDemo.uproject Msg: <dll built for another version, rebuild?> Msg: OscDemo could not be compiled. Try rebuilding from source manually

Kaizien commented 7 years ago

can confirm as well, not working on build 4.17

monsieurgustav commented 7 years ago

Oh, OK. I've been lazy: the demo was out of date. It is updated now.