On Monday, October 31, 2016 at 4:43:15 PM UTC+5:30, Jeffrey Walton wrote:
>
>
> I have built 64 bit crypto library for windows application(64 bit) with 
>> the option "Multi-threaded Debug DLL (/MDd)"
>>
>> How did you build it?
>

After downloaded the source code from the 
https://www.cryptopp.com/release565.html and by going through the url: 
http://www.codeproject.com/Articles/16388/Compiling-and-Integrating-Crypto-into-the-Microsof
 
.

Changed the properties as:

1) Platform Toolset-> Visual Studio 2013 (v120)
2) C/C++->Code Generation -> Runtime Library as Multi-threaded Debug DLL 
(/MDd) (This configuration I used because of Json code expected /MDd)
3) checked the corresponding build from the Build->Batch Build 

I am using MVSC 2015, SP3.  

>  
>
>> When I compiled the code, I am getting many unresolved external symbols 
>> linking errors(LNK2019) as below:
>>
>> How did you set up your projects, and how are you linking to the library?
>

My project is with the Visual Studio 2013 (v120) and Runtime Library is not 
selected any thing. This is a MFC Shared DLL and its using Unicode 
Character Set

I have placed the library in the Dependencies folder and linked with the 
below property in the project properties:
            
<IncludePath>..\..\Dependencies\cryptopp\include;$(IncludePath)</IncludePath>
            
 
<LibraryPath>..\..\Dependencies\cryptopp\lib\$(Platform)\$(Configuration);$(LibraryPath)</LibraryPath>

and also, in the link 
property 
<AdditionalDependencies>cryptopp_$(PlatformToolset).lib;%(AdditionalDependencies)</AdditionalDependencies>
 
Please let me know if you need more information on this?


> Jeff
>

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to