I am trying to compile oclvanitygen because I have an Nvidia GTX 1080 that would most likely be helpful for this. I'm using the Windows Subsystem for Linux with Ubuntu 18.04.

I tried this command: `gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libopencl.so.1`

It basically says that `libopencl.so.1` does not exist. However, I have `libnvidia-opencl.so.1`, so I try this command: `gcc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -L/usr/lib/x86_64-linux-gnu/ -lpcre -lcrypto -lm -lpthread -l:/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1`

Then it says `/usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1`

So I do a list of `x86_64-linux-gnu`, and there it is, clear as day. [list of x86-64-linux-gnu](https://imgur.com/7Mkz6k3)

How can I compile this correctly? Here is a picture of what happens when I run the command: [GCC Command](https://imgur.com/XflXMc1)

I have installed the `ocl-icd-opencl-dev` package, but it does not include `libopencl.so.1`.

Please tell me if I am doing something wrong. Thanks!
['https://bitcoin.stackexchange.com/questions/90738', 'https://bitcoin.stackexchange.com', 'https://bitcoin.stackexchange.com/users/68755/']
You can run it locally in prune mode like @redgrittybrick suggested, or you can look into renting a cloud server.

For example yesterday I created an AWS EC2 instance with extra storage and I played around with geth to deploy some smart contracts to testnet. You can do the same with bitcoind etc.

You will connect to these remote servers with ssh and execute terminal commands without wasting any hard drive of your local pc.
The cheapest configuration consists from RPi3 or its copy Opange Pi equipped with SATA shield for external HDD. I've used my old HDD which left after laptop upgrade with SSD. 

I bought extension shield with metal case so everything is assembled together and the case has a fan.

This hardware is working for almost two years. During first year it had Core + LND, now it serves Core + Elects and fairly stable (for this cheapest configuration).