10gic / vanitygen-plusplus

A vanity address generator for BTC, ETH, LTC, TRX and 100+ more crypto currencies.
GNU Affero General Public License v3.0
268 stars 94 forks source link

Issues building from ubuntu based distros #31

Closed santaclose closed 2 years ago

santaclose commented 2 years ago

I was not able to compile the source from pop os. Always getting the following error:

cc -ggdb -O3 -Wall   -c -o simplevanitygen.o simplevanitygen.c
simplevanitygen.c:1:10: fatal error: openssl/core_names.h: No such file or directory
    1 | #include <openssl/core_names.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: simplevanitygen.o] Error 1

I'm not sure if it's because I have a different version of OpenSSL. Here is a screenshot with the error and the packages I have installed.

image

I was able to compile vanitygen-plus without this problem.

10gic commented 2 years ago

Which ubuntu version are you using? Ubuntu 18.04 or Ubuntu 20.04 or others?

santaclose commented 2 years ago

I'm using Pop OS 21.04 which seems to be based on Ubuntu 21.04 image

10gic commented 2 years ago

To solve this problem, I make some small changes, see commit 07f6a8c47575fc4c2be60f3b56297b7d5261aa61. Please try again.

santaclose commented 2 years ago

epic, now it works, thanks!