Download

Probelm with plugin ( New engine version )

Hi i want change my version engine (4.15 -> 4.19).jak usunąć te błędy
How to remove these errors:

SQLite3UE4Plugin\Source\SQLite3UE4Plugin\SQLite3UE4Plugin.Build.cs(6,50) : error CS1502
SQLite3UE4Plugin\Source\SQLite3UE4Plugin\SQLite3UE4Plugin.Build.cs(6,56) : error CS1503

My File SQLite3UE4Plugin.Build.cs :

using UnrealBuildTool;
using System.IO;

public class SQLite3UE4Plugin : ModuleRules
{
public SQLite3UE4Plugin(TargetInfo Target) : base(Target)
{

string ModulePath = ModuleDirectory;
string PlatformString = (Target.Platform == UnrealTargetPlatform.Win64) ? “x64” : “x86”;
string ThirdPartyPath = Path.GetFullPath( Path.Combine( ModulePath, “…/…/ThirdParty/” ) );
string LibrariesPath = Path.Combine(ThirdPartyPath, “SQLite3”, “Lib”);
string IncludesPath = Path.Combine(ThirdPartyPath, “SQLite3”, “Include”);
string LibraryName = Path.Combine(LibrariesPath, “SQLite3.” + PlatformString + “.lib”);

PrivateIncludePaths.AddRange(new string] { “SQLite3UE4Plugin/Private” });
PublicIncludePaths.AddRange(new string] { “SQLite3UE4Plugin/Public” });
PublicAdditionalLibraries.Add(LibraryName);
PublicIncludePaths.Add(IncludesPath);

PublicDependencyModuleNames.AddRange(new string] { “Engine”, “Core”, “CoreUObject” });
}
}

#EOF
Please help me:)

You should give us more information like error messages (not only error codes).

Also, try changing this line:



public SQLite3UE4Plugin(TargetInfo Target) : base(Target)


to this:



public SQLite3UE4Plugin(ReadOnlyTargetRules Target) : base(Target)