CUDA on Netbeans

I pursuance of my my lifelong dream which is to set up Netbeans IDE to compile CUDA C++ code. This time I am trying the scanLargeArray project and I am getting this output

I’m pretty sure it has something to do with including a source file “scan.cu” in the other source file. If anyone know the 5-minute-fix for this, I would greatly appreciate having it passed along.

Bob