c++ - Openssl, Invalid arguments ' Candidates are: int BN_set_word(bignum_st *, ?) ' -
i using openssl cuda project.
i imported project win linux (eclipse)
i solved dependencies except annoying error:
invalid arguments ' candidates are: int bn_set_word(bignum_st *, ?) '
for line:
bn_set_word(two, 2); and function says in bn.h
int bn_set_word(bignum *a, bn_ulong w); where bn_ulong defined as:
#define bn_ulong unsigned long neither works if like
unsigned long q = 2; bn_set_word(two, q); because returns
invalid arguments ' candidates are: int bn_set_word(bignum_st *, ?) '
or
bn_ulong q = 2; bn_set_word(two, q); that gives
type 'bn_ulong' not resolved
what problem?
sounds forgot #include <openssl/bn.h>.
Comments
Post a Comment