How can I setup nvcc to use Visual C++ Express 2010 x64 from Windows SDK 7.1?

前端 未结 1 1197
长情又很酷
长情又很酷 2021-01-21 02:37

I\'m building 64-bit apps with Visual C++ Express 2010 extended with Windows SDK 7.1 (to add 64 bit compiler). When I use nvcc in 32-bits mode it works well. When I use it in 64

相关标签:
1条回答
  • 2021-01-21 03:05

    Ok, I've found solution. Nvcc is looking for vcvars64.bat file to be in Program Files\Microsoft Visual Studio 10.0\VC\bin\amd64, but it exists only in professional version of VS. You have to create it manually putting inside:
    CALL setenv /x64

    0 讨论(0)
提交回复
热议问题