Error compiling CUDA from Command Prompt

You will need to add the folder containing the “cl.exe” file to your path environment variable. For example:

C:\Program Files\Microsoft Visual Studio 10.0\VC\bin

Edit: Ok, go to My Computer -> Properties -> Advanced System Settings -> Environment Variables. Here look for “PATH” in the list, and add the path above (or whatever is the location of your cl.exe).

Leave a Comment

tech