CUDA linking error - Visual Express 2008 - nvcc fatal due to (null) configuration file

后端 未结 4 1538
渐次进展
渐次进展 2020-12-01 15:20

I\'ve been searching extensively for a possible solution to my error for the past 2 weeks. I have successfully installed the Cuda 64-bit compiler (tools) and SDK as well as

4条回答
  •  庸人自扰
    2020-12-01 15:38

    I solved the problem by

    1. installing Windows SDK (don't forget to choose all x64 options for 64 bit OS)
    2. include "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64" in PATH
    3. create file vcvars64.bat inside directory "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64" with following content: call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64

    Note: I did this because:

    1. I am using VC++ Express 2010
    2. I dont have "vcvars64.bat" in any directory ??

提交回复
热议问题