LuaJit LNK error when integrating into UE4

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 ^-^

Just got this error when building for shipping on UE 4.20, hitting Launch crashes too, (original post I was using UE 4.19.2)

luajit.lib(luajit.exe) : error LNK2005: _vsnprintf already defined in libeay.lib(cryptlib.obj)

I found out I can use /FORCE:MULTIPLE to fix my issue, however, I cannot seem to find Linker Options in UE4 nor VS2017?

;(

Sameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

I’m getting this error “luajit.lib(luajit.exe) : error LNK2005: _vsnprintf already defined in libcurl_a.lib(cryptlib.obj)” http://prntscr.com/jvmb01