Skip to content

compile errors #4

@hazybluedot

Description

@hazybluedot

After I install hashlib++ as a static library, when I run make I get a bunch of error, starting with

RSAcrypt.cpp: In member function ‘void RSAcrypt::genKeys()’:
RSAcrypt.cpp:179:17: error: ‘generatePrime’ was not declared in this scope  
   generatePrime(x);
RSAcrypt.cpp:182:25: error: cannot convert ‘std::string {aka std::basic_string<char>}’ to ‘char*’ for argument ‘1’ to ‘char* __gmpz_get_str(char*, int, mpz_srcptr)’
  mpz_get_str(R, 10, m);

can you confirm that your Makefile works on your own system? What distribution are you running and what version of g++ are you running?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions