-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
I am using "cryptlib.lib" and libraries such as openssl, curl, etc. in a project developed in Visual Studio 2010.
Probably the "cryptlib.lib" version is 5.6.4.
I tried to build and install 5.6.5, but I got a link error.
However, I want to convert the already developed project to 64-bit.
So, I converted the library provided by other open source to 64-bit and built the already developed project.
I succeeded in building "cryptlib.lib" to 64-bit, but after installing cryptlib.lib in the already developed project, I am having trouble with the error below.
There was no problem in 32bit, and other libraries do not have build errors in 64bit.
Only "cryptlib.lib" has a link error with
"MSVCRT", so I tried changing several options for the
cryptlib.lib project, and also tried to adjust the build options of the existing developed project, but they all failed.
The project also includes openssl curl, etc., for an unknown reason.
I want to solve the problem below without modifying the existing source, i.e. without removing the existing installed library.
Can you tell me how to do it?
"1>Link:
1> cryptlib.lib(filters.obj) : You have an MSIL .netmodule or module compiled with /GL. Restart the link specifying /LTCG. Adding /LTCG to the link command line improves linker performance.
1>LINK : warning LNK4075: '/INCREMENTAL' ignored due to '/LTCG' specification.
1>MSVCRT.lib(MSVCR100.dll) : error LNK2005: calloc already defined in libcmtd.lib(dbgcalloc.obj)
1>MSVCRT.lib(MSVCR100.dll) : error LNK2005: realloc already defined in libcmtd.lib(dbgrealloc.obj)
"