dr-bonez / tor-v3-vanity

A TOR v3 vanity url generator designed to run on an NVIDIA GPU.
https://crates.io/crates/tor-v3-vanity
MIT License
140 stars 24 forks source link

I cannot get it to compile on Fedora 33 #7

Closed kintarowonders closed 3 years ago

kintarowonders commented 3 years ago

I followed the directions and installed Rust with Rustup and installed Cuda for my operating system. I am stuck when it gets to building its dependency rustacuda_core and nvptx64-nvidia-cuda

Here is the error output...

error: failed to compile `tor-v3-vanity v0.1.0 (/home/john/build/tor-v3-vanity)`, intermediate artifacts can be found at `/home/john/build/tor-v3-vanity/target`

Caused by:
  failed to run custom build command for `tor-v3-vanity v0.1.0 (/home/john/build/tor-v3-vanity)`

Caused by:
  process didn't exit successfully: `/home/john/build/tor-v3-vanity/target/release/build/tor-v3-vanity-1459d19b8c28c32a/build-script-build` (exit code: 1)
  --- stdout
  cargo:rustc-link-search=native=/usr/local/cuda/lib64/

  [PTX] error[E0463]: can't find crate for `core`
  [PTX]   |
  [PTX]   = note: the `nvptx64-nvidia-cuda` target may not be installed
  [PTX] 
  [PTX] error: aborting due to previous error
  [PTX] 
  [PTX] For more information about this error, try `rustc --explain E0463`.
  [PTX] error: could not compile `rustacuda_core`
  [PTX] 
  [PTX] warning: build failed, waiting for other jobs to finish...
  [PTX] error[E0463]: can't find crate for `core`
  [PTX]   |
  [PTX]   = note: the `nvptx64-nvidia-cuda` target may not be installed
  [PTX] 
  [PTX] error: aborting due to previous error
  [PTX] 
  [PTX] For more information about this error, try `rustc --explain E0463`.
  [PTX] error: build failed
kintarowonders commented 3 years ago

I forgot to cargo install ptx-linker