Giter VIP home page Giter VIP logo

Comments (4)

KlausT avatar KlausT commented on July 18, 2024

On my system it looks like this:
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin\nvcc.exe" -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -x cu -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=80 --machine 64 --compile -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FS /Zi /MT /GR-" -o D:\code\ccminer\Release\temp\x64\sia.cpp.obj "D:\code\ccminer\Sia\sia.cpp" -clean

No /Fd option here for some reason.
The /Fd option is the "Program Database Filename".
It's set to $(IntDir)vc$(PlatformToolsetVersion).pdb here (the default)

I wonder if the compiler doesn't use quotes if the path doesn't contain spaces.

from ccminer.

KlausT avatar KlausT commented on July 18, 2024

Oh, sorry, wrong one.
This is the command line here:

"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_60,code=\"sm_60,compute_60\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_37,code=\"sm_37,compute_37\" -gencode=arch=compute_70,code=\"sm_70,compute_70\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -x cu -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=80 --machine 64 --compile -cudart shared -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FdD:\code\ccminer\Release\temp\x64\vc140.pdb /FS /Zi /MT /GR-" -o D:\code\ccminer\Release\temp\x64\x14.cpp.obj "D:\code\ccminer\x15\x14.cpp"

Looks like having spaces in the path is not a good idea.

from ccminer.

mreid2005 avatar mreid2005 commented on July 18, 2024

Oh for heaven's sake! I have tried to compile so many iterations of ccminer over the last year, just for the sake of learning, and it wasn't until this last two weeks. I decided I wasn't going to quit until I figured it out. So for the last two weeks, I've spent at least an hour or two every other night, pouring over log files, and doing my best to not open an "issue" over something that seemed like it was so straightforward for everyone else.

So.. A big hearty Thank you! because sure 'nuff that was the problem!!!!!

from ccminer.

mreid2005 avatar mreid2005 commented on July 18, 2024

compiled, and ran, thanks again!

from ccminer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.