samr7 / vanitygen

GNU Affero General Public License v3.0
1.23k stars 631 forks source link

Undefined struct 'bignum_st' #116

Open withoutuniverse opened 6 years ago

withoutuniverse commented 6 years ago

I faced this error:

vanitygen.c pattern.h(54) : error C2079: '_vg_exec_context_s::vxc_bntarg' uses undefined struct 'bignum_st' ... vanitygen.c(92) : error C2664: 'BN_set_word' : cannot convert parameter 1 from 'int ' to 'BIGNUM ' ... vanitygen.c(134) : error C2065: 'BN_MASK2' : undeclared identifier

Could you please explain why it happened?

DesWurstes commented 6 years ago

It's caused by Openssl 1.1 incompatiblity. Try it with Openssl 1.0.X.

Wikinaut commented 6 years ago

See https://github.com/samr7/vanitygen/issues/106#issuecomment-342441203

ilovelinux commented 6 years ago

Use Vanitygen Plus, it supports OpenSSL 1.1