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:
Static Versus Dynamic Linking
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
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.
vs2010.zip
. 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
, . 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). ( , ).
/MD
/MDd
:
vs2010-dynamic.zip
cryptopp /MD, vs2013, cryptopp (5.6.2). , .
, , /MT, /MD ( " " ).
, , /MD [] [] . .obj.lib.dll, " ". , , (/verbose: lib).
.
Source: https://habr.com/ru/post/1612547/More articles:How to calculate the center of multiple polygons in the Javascript Google Maps API? - javascriptHow to get Redis to choose an LRU eviction policy for only some keys? - redisHow to define an Android application using a namespace? - namespacesPDFDocument removePageAtIndex: does not work when upgrading to Mac OS X 10.11 - cocoaQT and Crypto ++ c / MTd - c ++Understanding the fitBounds Method on Google Maps - javascriptThe signs of the discrete axis and marks are shifted in comparison with the actual values ββ- rSpring State machine does not accept the same event from multiple users - springUnit-testing FileSystemWatcher: how to programmatically trigger a modified event? - c #What are the 'module' and 'define' in jQuery source code? - javascriptAll Articles