CleanedBitCrack
CleanedBitCrack copied to clipboard
Error About Compiling Linux CuBitCrack
done
CudaKeySearchDevice.cpp: In member function ‘void CudaKeySearchDevice::cudaCall(cudaError_t)’:
CudaKeySearchDevice.cpp:11:53: error: no matching function for call to ‘KeySearchException::KeySearchException(std::string&)’
11 | throw KeySearchException(errorString);
| ^
In file included from CudaKeySearchDevice.h:7,
from CudaKeySearchDevice.cpp:1:
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:18:18: note: candidate: ‘KeySearchException::KeySearchException(const string&, const string&)’
18 | explicit KeySearchException(const std::string &_msg, const std::string &_description): msg(_msg), description(_description) {
| ^~~~~~~~~~~~~~~~~~
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:18:18: note: candidate expects 2 arguments, 1 provided
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:15:9: note: candidate: ‘KeySearchException::KeySearchException()’
15 | KeySearchException() {
| ^~~~~~~~~~~~~~~~~~
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:15:9: note: candidate expects 0 arguments, 1 provided
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:10:7: note: candidate: ‘KeySearchException::KeySearchException(const KeySearchException&)’
10 | class KeySearchException {
| ^~~~~~~~~~~~~~~~~~
/content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:10:7: note: no known conversion for argument 1 from ‘std::string’ {aka ‘std::__cxx11::basic_string