Rebuild Crypto ++ 5.6.2 for / MD release in Visual Studio 2013

I want to rebuild Crypto ++ through MSVC 2013, so when I use the library to be able to create my project using / MD or / MDd, NOT / MT or / MTd, because I use QT 5.5.1 with the MSVC2013 32bit compiler , and it seems that I want to make a GUI interface - it uses / MD or / MDd! In this article, the section Static Versus Dynamic Linkingmentions the need for recovery (rather than building) and, as you can see from my other question, I did this, but it only works in debug mode. For Release mode, errors are from 117 to 53, but again the same old error occurs:

cryptlib.lib (cryptlib.obj): - 1: error: LNK2038: mismatch found for "RuntimeLibrary": the value of "MT_StaticRelease" does not match the value of 'MD_DynamicRelease' in main.obj

I do what I talked about here

0
source share
2 answers

I want to rebuild Crypto ++ through MSVC 2013 ...

OK, so there are points here Microsoft is switching to MSBuild in 2010 . Even worse, VCUpgrade does a pretty poor job of converting projects .

, Crypto ++ vs2010.zip. , Visual Studio 2010 . 2015 5.6.3 Release Candidate.

. 20 24 IDE. 4 ; 24. /, , . β†’ .

Visual Studio 2010 VCUpgrade. . Visual Studio Crypto ++.


...

. .


, . Release 117 53, :

cryptlib.lib(cryptlib.obj):-1: error: LNK2038: mismatch detected for 'RuntimeLibrary':
value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in main.obj

ZIP . ZIP Visual Studio 2010 , (/MD /MDd). ( , ).

:

+1

cryptopp /MD, vs2013, cryptopp (5.6.2). , .

, , /MT, /MD ( " " ).

, , /MD [] [] . .obj.lib.dll, " ". , , (/verbose: lib).

.

0

Source: https://habr.com/ru/post/1612547/


All Articles