i’m trying to execute the example cuda “JCudaVectorAdd” but my issue is cl.exe.
Could not create .ptx file: nvcc fatal : Cannot find compiler ‘cl.exe’ in PATH.
I changed the path and always the message.
Microsoft Visual studio Express 10 is installed, can you help me please.
I’m trying too with mingw and -ccbin pathtogcc but it’s failure.
Hm… When you’re emphasiszing that it is 32bit: Do you have a 64bit System, and maybe a 64bit CUDA Toolkit/SDK? I don’t think that this should cause any problem, I’m just wondering…
There are other threads about this, for example, at the NVIDIA forum … although most of them remain unanswered -_- However, it should be possible to get the cl.exe running:
What happens when you try to call “cl.exe” from the console?
What happens when you manually call
nvcc -ptx inputFile.cu
from the console?
Using MinGW might be possible, but admittedly, I have never tried it. The NVCC is … “picky” concerning the underlying compiler. It supports VS and GCC, but I’m not sure whether it can cope with the latter when trying to launch it via MinGW…