This project is read-only.

fatal error : Cannot find compiler 'cl.exe' in PATH

Oct 24, 2013 at 2:26 PM
Hi,

When I am trying to install cudafy the following error appear during setup:-
fatal error : Cannot find compiler 'cl.exe' in PATH

I have the following software in my laptop :-
windows 8 64x
VS 2012 64x
Cuda 5.5 64x
Nvidia Nsight Monitor v3.2 64x

I can compile and run C cuda programs correctly and I have no issue with programming in C.

Any idea how to solve this problem ?
Oct 24, 2013 at 2:41 PM
During installation the error in details :-

Platform=x64
Checking for CUDA SDK at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\bin\nvcc
CUDA SDK Version=5.5
Attempting to cudafy a kernel function.
Successfully translated to CUDA C.
Attempting to compile CUDA C code.
Compilation error: nvcc : fatal error : Cannot find compiler 'cl.exe' in PATH


When I searched my computer for this file I found it only in the following directories :-

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_arm


Any idea?
Oct 24, 2013 at 2:53 PM
Solved :-

Add this :-
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64


to system environmental variables in path.
Marked as answer by agemagician on 10/24/2013 at 6:53 AM