Hi guys... i had compiled cryptopp with qtcreator

in the .pro file for cryptopp I have added this tow lines

mac{

       QMAKE_CXXFLAGS += -std=c++11 -Wno-c++11-narrowing

       DEFINES += CRYPTOPP_DISABLE_ASM

}


when I try to link against my compiled library, I got this link errors


Undefined symbols for architecture x86_64:

"CryptoPP::RandomPool::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&,
 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&, unsigned long long)", referenced from:

vtable for CryptoPP::AutoSeededRandomPool in RSALicEncoderDecoder.o

"CryptoPP::StringStore::TransferTo2(CryptoPP::BufferedTransformation&, 
unsigned long long&, std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)", 
referenced from:

CryptoPP::SourceTemplate<CryptoPP::StringStore>::Pump2(unsigned long long&, 
bool) in RSALicEncoderDecoder.o

"CryptoPP::StringSinkTemplate<std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > 
>::StringSinkTemplate(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> >&)", referenced 
from:

RSALicEncoderDecoder::encodeLicenseData(QString const&, QString const&, 
bool) in RSALicEncoderDecoder.o

"CryptoPP::BufferedTransformation::ChannelPut2(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned 
char const*, unsigned long, int, bool)", referenced from:

vtable for CryptoPP::Unflushable<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::Bufferless<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::SimpleProxyFilter in RSALicEncoderDecoder.o

vtable for CryptoPP::PK_EncryptorFilter in RSALicEncoderDecoder.o

"CryptoPP::BufferedTransformation::ChannelFlush(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, int, 
bool)", referenced from:

vtable for CryptoPP::StringSource in RSALicEncoderDecoder.o

vtable for CryptoPP::SourceTemplate<CryptoPP::StringStore> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::Filter> in 
RSALicEncoderDecoder.o

vtable for 
CryptoPP::AutoSignaling<CryptoPP::InputRejecting<CryptoPP::BufferedTransformation>
 
> in RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::BufferedTransformation> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::Bufferless<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::SimpleProxyFilter in RSALicEncoderDecoder.o

...

"CryptoPP::BufferedTransformation::TransferAllTo2(CryptoPP::BufferedTransformation&,
 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&, bool)", referenced from:

CryptoPP::SourceTemplate<CryptoPP::StringStore>::PumpAll2(bool) in 
RSALicEncoderDecoder.o

"CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__1::basic_string<char,
 
std::__1::char_traits<char>, std::__1::allocator<char> > const&)", 
referenced from:

vtable for CryptoPP::Unflushable<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::StringSource in RSALicEncoderDecoder.o

vtable for CryptoPP::SourceTemplate<CryptoPP::StringStore> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::Filter> in 
RSALicEncoderDecoder.o

vtable for 
CryptoPP::AutoSignaling<CryptoPP::InputRejecting<CryptoPP::BufferedTransformation>
 
> in RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::BufferedTransformation> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::Bufferless<CryptoPP::Filter> in RSALicEncoderDecoder.o

...

"CryptoPP::BufferedTransformation::TransferMessagesTo2(CryptoPP::BufferedTransformation&,
 
unsigned int&, std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&, bool)", referenced from:

CryptoPP::SourceTemplate<CryptoPP::StringStore>::PumpMessages2(unsigned 
int&, bool) in RSALicEncoderDecoder.o

"CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__1::basic_string<char,
 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned 
long&)", referenced from:

vtable for CryptoPP::Unflushable<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::StringSource in RSALicEncoderDecoder.o

vtable for CryptoPP::SourceTemplate<CryptoPP::StringStore> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::Filter> in 
RSALicEncoderDecoder.o

vtable for 
CryptoPP::AutoSignaling<CryptoPP::InputRejecting<CryptoPP::BufferedTransformation>
 
> in RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::BufferedTransformation> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::Bufferless<CryptoPP::Filter> in RSALicEncoderDecoder.o

...

"CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__1::basic_string<char,
 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned 
char*, unsigned long, int, bool)", referenced from:

vtable for CryptoPP::Unflushable<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::StringSource in RSALicEncoderDecoder.o

vtable for CryptoPP::SourceTemplate<CryptoPP::StringStore> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::Filter> in 
RSALicEncoderDecoder.o

vtable for 
CryptoPP::AutoSignaling<CryptoPP::InputRejecting<CryptoPP::BufferedTransformation>
 
> in RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::BufferedTransformation> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::Bufferless<CryptoPP::Filter> in RSALicEncoderDecoder.o

...

"CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::__1::basic_string<char,
 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, 
bool)", referenced from:

vtable for CryptoPP::Unflushable<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::Bufferless<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::SimpleProxyFilter in RSALicEncoderDecoder.o

vtable for CryptoPP::PK_EncryptorFilter in RSALicEncoderDecoder.o

"CryptoPP::Filter::TransferTo2(CryptoPP::BufferedTransformation&, unsigned 
long long&, std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&, bool)", referenced from:

vtable for CryptoPP::Unflushable<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::StringSource in RSALicEncoderDecoder.o

vtable for CryptoPP::SourceTemplate<CryptoPP::StringStore> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::Filter> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::Bufferless<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::SimpleProxyFilter in RSALicEncoderDecoder.o

vtable for CryptoPP::PK_EncryptorFilter in RSALicEncoderDecoder.o

...

"CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned 
long long&, unsigned long long, std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) 
const", referenced from:

vtable for CryptoPP::Unflushable<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::StringSource in RSALicEncoderDecoder.o

vtable for CryptoPP::SourceTemplate<CryptoPP::StringStore> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::InputRejecting<CryptoPP::Filter> in 
RSALicEncoderDecoder.o

vtable for CryptoPP::Bufferless<CryptoPP::Filter> in RSALicEncoderDecoder.o

vtable for CryptoPP::SimpleProxyFilter in RSALicEncoderDecoder.o

vtable for CryptoPP::PK_EncryptorFilter in RSALicEncoderDecoder.o

...

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

make[1]: *** [../../Nautam/kernel/nautam-server] Error 1

make: *** [sub-nautam-server-make_first-ordered] Error 2

00:25:28: The process "/usr/bin/make" exited with code 2.

Error while building/deploying project nautam-kernel (kit: Desktop Qt 5.5.1 
clang 64bit)

When executing step "Make"


How can I fix it ??


regards

-- 
-- 
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