Just wanted to bring up my question again in a new thread to see if I can get more responses:
I could go through the hassle of installing an outdated Linux distro to sort out all the dependencies, but honestly, I'd rather use a regular system.
This is very quick, and very (very) dirty... IIRC, you had docker on your system, right???
paste the following content:
then execute
and once inside the container:
I'm late for a meeting, that's why it's a very quick and very dirty hack... If i have more time tomorrow, i'll clean this up a little bit
I try to avoid docker for most things I want to run on a regular basis and integrate into my system, but it can be convenient in situations like this one:
A docker container is essentially a virtual environment just for the package you want to run. mocacinno's code just builds such an environment with the dependencies needed by VanitySearch, without affecting your system OS. Once you're learn how to execute commands inside the container, it's like working with any other Linux OS and programs.
whoops... I must have remembered wrong. Usually installing docker is pretty straightforward on most linux environments. The official repo's of most distributions usually contain the package.
This being said, podman is an excellent in-place replacement for docker, but it has less dependencies and it can be run as a non privileged user. If you want to try this out, and you don't have docker anyways, maybe you can try the walktrough i posted with podman? At the moment, the Dockerfile probably contains to much packages, i basically copied part of the Dockerfile i created for building older bitcoin core versions, but a lot of those packages are probably not necessary for building VanitySearch. On the other hand, they won't hurt you either, they're just packages inside the container image, as soon as you delete the container image everything is gone...
Also, with minor adaptations, it's possible to just pass the VanitySearch parameters to the 'docker run' command, so you don't actually have to enter the container's shell... But the way i posted works just as well but has a slightly higher learning curve for new users.
The only really important thing to remember is to save any private key you generate... The docker image you built is used to start up a container. When the container is removed, so is everything that was saved inside the container... So copy any private key and make sure it's stored on your actual filesystem (not the container's filesystem).
If anybody has the original repo for oclvanitygen, i'm certainly willing to see if i can get that one running inside the same container aswell... Probably shouldn't be that hard.
Just run VanitySearch.exe from https://github.com/JeanLucPons/VanitySearch/releases/tag/1.19 using Wine. I just tried it on my device and it works, where it can use both CPU and GPU. Although i don't install Wine directly using apt, but rather using this application https://usebottles.com.
Thanks, following your instructions I got it working.
It's on github: github.com/samr7/vanitygen.
This works too.
It's only using CPU, I'm not sure if my Radeon Graphics could handle this. If it can, it lacks drivers at the moment.
Thanks guys, it's working. Wine seems like the easiest solution.
Loyce, I ran into some problems too with VanitySearch recently but I was - after some loss of hair - able to compile a working binary for my Nvidia Quadro M2000 with
The key was the -std=c90 that made it compile and produce a working binary under Devuan Daedalus (systemd-free Debian alternative but otherwise equal to Debian 12 Bookworm).
HTH
Software i mentioned only support GPU by using CUDA, which means it only support Nvidia GPU. You may want to try different software which mention supporting AMD GPU or use OpenCL in order to support GPU.
My +1 for VanitySearch for its speed, ease of usage and efficiency.
Fun fact: I 've developed my own generator in Java here. But I removed the code because it was very slow and therefore inefficient. But I must have it somewhere in case you need it.