CleanedBitCrack icon indicating copy to clipboard operation
CleanedBitCrack copied to clipboard

Error About Compiling Linux CuBitCrack

Open dragonhlf8 opened this issue 2 years ago • 0 comments

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’} to ‘const KeySearchException&’ /content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:10:7: note: candidate: ‘KeySearchException::KeySearchException(KeySearchException&&)’ /content/CleanedBitCrack/KeyFinderLib/KeySearchDevice.h:10:7: note: no known conversion for argument 1 from ‘std::string’ {aka ‘std::__cxx11::basic_string’} to ‘KeySearchException&&’ CudaKeySearchDevice.cpp: In constructor ‘CudaKeySearchDevice::CudaKeySearchDevice(int, int, int, int, int)’: CudaKeySearchDevice.cpp:22:53: error: ‘class cuda::CudaException’ has no member named ‘description’ 22 | throw KeySearchException(ex.msg, ex.description); | ^~~~~~~~~~~ CudaKeySearchDevice.cpp: In member function ‘virtual void CudaKeySearchDevice::doStep()’: CudaKeySearchDevice.cpp:179:53: error: ‘class cuda::CudaException’ has no member named ‘description’ 179 | throw KeySearchException(ex.msg, ex.description); | ^~~~~~~~~~~ make[1]: *** [Makefile:8: cuda] Error 1 make[1]: Leaving directory '/content/CleanedBitCrack/CudaKeySearchDevice' make: *** [Makefile:100: dir_cudaKeySearchDevice] Error 2

dragonhlf8 avatar Aug 22 '23 12:08 dragonhlf8