KhArtNJava / MySQLConnectorUE4Plugin

MySQL Database Connector Plugin for Unreal Engine 4
MIT License
75 stars 71 forks source link

Cant include into project #5

Open Rizzu1 opened 6 years ago

Rizzu1 commented 6 years ago

Hi

I Cant able to include this plugin into unreal project

The errors are

Running E:/UE4 Source/UE_4.18/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="E:/UE_Project/DuroStars/DuroStars.uproject" -game -rocket -progress Discovering modules, targets and source code for project... While compiling E:\UE_Project\DuroStars\Intermediate\Build\BuildRules\DuroStarsModuleRules.dll: WARNING: e:\UE_Project\DuroStars\Plugins\MySQLConnectorUE4Plugin-master\Source\MySQLConnectorUE4Plugin\MySQLConnectorUE4Plugin.Build.cs(6,12) : 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)").' ERROR: e:\UE_Project\DuroStars\Plugins\MySQLConnectorUE4Plugin-master\Source\MySQLConnectorUE4Plugin\MySQLConnectorUE4Plugin.Build.cs(11,9) : error CS0200: Property or indexer 'UnrealBuildTool.ReadOnlyTargetRules.bForceEnableExceptions' cannot be assigned to -- it is read only ERROR: e:\UE_Project\DuroStars\Plugins\MySQLConnectorUE4Plugin-master\Source\MySQLConnectorUE4Plugin\MySQLConnectorUE4Plugin.Build.cs(14,3) : error CS0246: The type or namespace name 'FileReference' could not be found (are you missing a using directive or an assembly reference?) ERROR: e:\UE_Project\DuroStars\Plugins\MySQLConnectorUE4Plugin-master\Source\MySQLConnectorUE4Plugin\MySQLConnectorUE4Plugin.Build.cs(15,3) : error CS1502: The best overloaded method match for 'UnrealBuildTool.UProjectInfo.TryGetProjectForTarget(string, out Tools.DotNETCommon.FileReference)' has some invalid arguments ERROR: e:\UE_Project\DuroStars\Plugins\MySQLConnectorUE4Plugin-master\Source\MySQLConnectorUE4Plugin\MySQLConnectorUE4Plugin.Build.cs(15,56) : error CS1503: Argument 2: cannot convert from 'out FileReference' to 'out Tools.DotNETCommon.FileReference' ERROR: e:\UE_Project\DuroStars\Plugins\MySQLConnectorUE4Plugin-master\Source\MySQLConnectorUE4Plugin\MySQLConnectorUE4Plugin.Build.cs(18,3) : error CS0246: The type or namespace name 'FileReference' could not be found (are you missing a using directive or an assembly reference?) WARNING: e:\UE_Project\DuroStars\Plugins\MySQLConnectorUE4Plugin-master\Source\MySQLConnectorUE4Plugin\MySQLConnectorUE4Plugin.Build.cs(11,9) : warning CS0618: 'UnrealBuildTool.ModuleRules.UEBuildConfiguration' is obsolete: 'The UEBuildConfiguration alias is deprecated in 4.18. Set the same properties on the ReadOnlyTargetRules instance passed into the ModuleRules constructor instead.' ERROR: UnrealBuildTool Exception: Unable to compile source files.

Can u pls help me to solve this pls..

Back2RL commented 6 years ago

Hi, I updated my fork of this plugin, if it helps: https://github.com/Back2RL/MySQLConnectorUE4Plugin

Rizzu1 commented 6 years ago

Thanks a lot, now everything is working fine, while building it gives an error from DemoRoom.umap I just deleted those files alone, then its working fine and connection are stable, thanks..