>
> I got several unresolved external linker errors.
>

Usually, you just build the library, and then add the entire library to the 
project.
 

> So far by trial-and-error, by adding the correct *.cpp modules to the 
> project, I narrowed downed the errors to 4.
>
> [ilink32 Error] Error: Unresolved external 
> 'CryptoPP::CFB_CipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::CFB_CipherAbstractPolicy,
>  
> CryptoPP::CFB_ModePolicy> >::Resynchronize(const unsigned char *, int)'
>
> [ilink32 Error] Error: Unresolved external 
> 'CryptoPP::CFB_CipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::CFB_CipherAbstractPolicy,
>  
> CryptoPP::CFB_ModePolicy> >::UncheckedSetKey(const unsigned char *, 
> unsigned int, CryptoPP::NameValuePairs&)'
>
> [ilink32 Error] Error: Unresolved external 
> 'CryptoPP::CFB_CipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::CFB_CipherAbstractPolicy,
>  
> CryptoPP::CFB_ModePolicy> >::ProcessData(unsigned char *, const unsigned 
> char *, unsigned int)'
>
> [ilink32 Error] Error: Unresolved external 
> 'CryptoPP::CFB_EncryptionTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::CFB_CipherAbstractPolicy,
>  
> CryptoPP::CFB_ModePolicy> >::CombineMessageAndShiftRegister(unsigned char 
> *, unsigned char *, const unsigned char *, unsigned int)'
>
> Could you perhaps tell me the correct cpp module to add to the project so 
> that it will link fine ?
>

Since you are adding source files piecemeal, I *think* the following 
command will print dependencies. You usually use the command to generate 
dependencies for Makefiles, but it should work for your purposes, too.

     $(CXX) -MM <sourcefile>

Anywhere you see a *.H file, include the *.CPP file (if it exists).

In you case, I think CXX will be Intel's icpc. Its usually located in 
/opt/intel or similar.

And perhaps could you tell me the correct way to setup Crypto++ in C++ 
> Builder XE8 compiler, so that in the future I won't have to add all those 
> "*.cpp" files to the project in order to get rid of linker errors ?
>

You build the library, and then you include the entire library in you 
Builder XE project. The linker will exclude symbols not needed. 

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to