Failed to Build Kernel

Problem

If you experience the error below:

Error

Connecting to camera

Error: Failed to build kernel:

ptxas application ptx input, line 9; fatal : Unsupported .version 6.0; current version is '5.0'

ptxas fatal : Ptx assembly aborted due to errors

Solution

You need to install the latest Nvidia OpenCL driver.