I have been using crypto++ 5.6.0 with Visual Studio 2008 for some time and am now trying to build my code with g++ 4.4.3 under Linux. Everything works pretty well, until I try to build code which uses the password derivation functionality. If I try to include pwdbased.h then I get the following errors: In file included from SecurityInterface.cpp:19: /home/adminuser/Desktop/dev/cryptopp560/pwdbased.h: In member function ‘unsigned int CryptoPP::PKCS12_PBKDF<T>::DeriveKey(byte*, size_t, byte, const byte*, size_t, const byte*, size_t, unsigned int, double) const’: /home/adminuser/Desktop/dev/cryptopp560/pwdbased.h:198: error: no match for ‘operator++’ in ‘++B1’ /home/adminuser/Desktop/dev/cryptopp560/pwdbased.h:200: error: no match for ‘operator+’ in ‘CryptoPP::Integer((I + i), v) + B1’ /usr/include/c++/4.4/bits/stl_bvector.h:264: note: candidates are: std::_Bit_iterator std::operator+(ptrdiff_t, const std::_Bit_iterator&) /usr/include/c++/4.4/bits/stl_bvector.h:350: note: std::_Bit_const_iterator std::operator+(ptrdiff_t, const std::_Bit_const_iterator&)
The code works fine with Visual Studio. Does anyone know why I am having this problem? -- 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.
