Buildling CUDA SDK on Ubuntu 12.04 Nvidia driver 295.59


I have been trying to get cuda to run on a nvidia gt 650m based laptop without success. I am running Ubuntu 12.04 with the nvidia 295.59 driver.

I posted full details of the issue at:

Basically I have altered to fixed various known linking issues with 12.04 (see However I am still having problems.

Does anyone have any similiar experience, or can anyone point me in the right direction?

Thanks in advance – and apologies for not posting the full issue here, but I had already posted on askubuntu beforehand and thought it better not to duplicate the post. If I get a solution I will post it back here to ensure it is on the forum.