I\'we been writing some simple cuda program (I\'m student so I need to practice), and the thing is I can compile it with nvcc from terminal (using Kubuntu 12.04LTS) and then
The simplest thing to do is to run eclipse with optirun, that will also run your app properly.