Jump to content


LNK2035 error, wrong lib files?

tls ssl unreal engine

  • Please log in to reply
2 replies to this topic

#1 AlexPixelPool

AlexPixelPool

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 05 February 2019 - 02:58 PM

Hi all,

At the moment Unreal Engine 4 uses TLSv1.0 to connect to perforce.
A client of ours requested us to only use TLSv1.2 exclusively.
I think this is because UnrealEngine 4.21 is still using the Perforce API version 2015.2

I decided to download the Unreal Engine source code and see if I can add the latest Perforce API to the engine myself.
I was able to download Perforce 2018.2 from https://www.perforce...ix-core-c/c-api
I added the lib and include files the same way as they are added for the older version and made sure Unreal compiles with the lib files from 2018.2.

Unfortunately when using the lib files I downloaded and try to compile the engine I get an error, specifically:

Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' 

I think this is because the lib files I downloaded from perforce are compiled with MT_StaticRelease as a RuntimeLibrary.
And Unreal Engine is setup to use MD_DynamicRelease...

My best guess is that Unreal uses other .lib files than the ones that you can download from the perforce website, maybe they are even generated specifically for Epic Games on request.

But maybe there is a way to download those too? Or am I maybe totally wrong about this? :huh:

#2 p4bill

p4bill

    Advanced Member

  • Members
  • PipPipPip
  • 167 posts

Posted 05 February 2019 - 04:06 PM

You can access a wider variety of builds from the ftp site:

ftp://ftp.perforce.com/perforce/r18.2/bin.ntx86/

#3 AlexPixelPool

AlexPixelPool

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 06 February 2019 - 08:45 AM

View Postp4bill, on 05 February 2019 - 04:06 PM, said:

You can access a wider variety of builds from the ftp site:

ftp://ftp.perforce.com/perforce/r18.2/bin.ntx86/

Great thanks I am going to take a look at that!





Also tagged with one or more of these keywords: tls, ssl, unreal engine

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users