I’m getting this error “luajit.lib(luajit.exe) : error LNK2005: _vsnprintf already defined in libcurl_a.lib(cryptlib.obj)”
GameName.Build.cs
// Fill out your copyright notice in the Description page of Project Settings.
using System.IO;
using UnrealBuildTool;
public class Re_BricksAlpha : ModuleRules
{
private string ThirdPartyPath
{
get { return Path.GetFullPath(Path.Combine(ModuleDirectory, "../../ThirdParty/")); }
}
public Re_BricksAlpha(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore" });
PrivateDependencyModuleNames.AddRange(new string] { });
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string] { "Slate", "SlateCore" });
// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
bool isLibSupported = true;
string LibrariesPath = Path.Combine(ThirdPartyPath, "LuaJit", "libraries");
PublicAdditionalLibraries.Add(Path.Combine(LibrariesPath, "luajit.lib"));
PublicIncludePaths.Add(Path.Combine(ThirdPartyPath, "LuaJit", "includes"));
Definitions.Add(string.Format("WITH_LUA_BINDING={0}", isLibSupported ? 1 : 0));
}
}
is this CryptPP doing this? I wish to uninstall any libraries which are conflicting with LuaJit if that’s the case,
help would be appreciated, thanks <3 ^-^