Changelly

Cryptocurrency

ubuntu – oclvanitygen not compiling

1 Mins read


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

How can I compile this correctly? Here is a picture of what happens when I run the command: GCC Command

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!



Source link

Related posts
Cryptocurrency

Expected property "0" of type ECPair, got p

1 Mins read
When I’m trying to create a wallet in react app using the following code: const seed = bip39.mnemonicToSeed(mnemonic); const master = bitcoin.HDNode.fromSeedBuffer(seed,…
Cryptocurrency

binance - Who am i borrowing from when trading BTC derivatives like Inverse Perpetual contracts?

1 Mins read
I’m trying to get my head around how the Inverse Perpetual contacts work. And failing. From a short position point of view…
Cryptocurrency

New Innovative NFT Use Cases that Might Change the World

3 Mins read
The transaction volume of the entire NFT market crossed US$16 billion in November 2021. In 2020, it was only US$355 million, which…

Leave a Reply

Your email address will not be published. Required fields are marked *