Error compiling CUDA from Command Prompt

前端 未结 6 1267
面向向阳花
面向向阳花 2020-12-05 06:15

I\'m trying to compile a cuda test program on Windows 7 via Command Prompt, I\'m this command:

nvcc test.cu

But all I get is this error:<

6条回答
  •  有刺的猬
    2020-12-05 07:08

    cl.exe is Microsoft's C/C++ compiler. So the problem is that you don't have that installed where the command line can find it.

提交回复
热议问题