Open GoogleCodeExporter opened 9 years ago
I got the same issue, did you succeed ?
Original comment by fabrizio...@gmail.com
on 2 Apr 2014 at 5:13
nvcc compiler not found for me, although xcode/nvidia driver installed.
mbp-de-le:truecrack LEHoangTung$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
cat Cuda/Core.cu > Cuda.cu
cat Cuda/Pkcs5.cu >> Cuda.cu
cat Cuda/Aes.cu >> Cuda.cu
cat Cuda/Serpent.cu >> Cuda.cu
cat Cuda/Twofish.cu >> Cuda.cu
cat Cuda/Crypto.cu >> Cuda.cu
cat Cuda/Xts.cu >> Cuda.cu
cat Cuda/Rmd160.alternative.cu >> Cuda.cu
cat Cuda/Sha2.cu >> Cuda.cu
cat Cuda/Whirlpool.cu >> Cuda.cu
nvcc -c Cuda.cu -g -I./Common/ -I./Crypto/ -I./Cuda/ -I./Main/ -I./
-I/usr/local/cuda/include/ -DTC_MACOSX -D_GPU_ -gencode
arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode
arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -ftz=true
-use_fast_math --opencc-options -OPT:Olimit=0 -o Cuda.o
make[2]: nvcc: No such file or directory
make[2]: *** [Cuda.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Original comment by lhtung.e...@gmail.com
on 24 Apr 2014 at 8:46
Add the directory to your path and the compilation will be ok...
At the end of building process you should see... Finished building all...
Add this paths using command line
export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
good luck !
Original comment by lhtung.e...@gmail.com
on 24 Apr 2014 at 9:49
I had the same error and solved with the path variable.
But now there is another error:
nvcc -c Cuda.cu -g -I./Common/ -I./Crypto/ -I./Cuda/ -I./Main/ -I./ -I/usr/local/cuda/include/ -DTC_MACOSX -DGPU -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -ftz=true -use_fast_math --opencc-options -OPT:Olimit=0 -o Cuda.o
nvcc fatal : Unknown option '-opencc-options'
make[2]: * [Cuda.o] Error 1
make[1]: * [all-recursive] Error 1
system config: OS X 10.11.1 cuda_7.5.20_mac
there is not much information about this parameter. Can I remove this parameter?
I have the same problem.. please help (cpu-only encryption sucks).
Original issue reported on code.google.com by
platinum...@gmail.com
on 6 Mar 2014 at 11:25