I just tried installing CUDA 7.5 on my laptop. I disabled lightdm
and did sudo sh cuda7.5.run
. The driver installation passed but then I got an error Unsupported compiler ...
and the installation fails. How can I resolve this issue?
The problem was with Ubuntu 15.10
. I installed 14.04
and could install CUDA. However, for my laptop there was a subtle point to mention. I had to install the NVIDIA driver via System Settings --> Software & Updates --> Additional Drivers
and selecting the tested
driver. Then I installed CUDA and answered No
to driver installation bundled with CUDA installation file.