graphics interop problem

Hi guys. I compile this code with graphics interop fine, but when i am trying to run it it does not.

My glut libraries and opengl installation is fine as i have run similar examples, but without graphics interop and they work fine. Could somebody help?

You can find the source code in this link :

That applies to any example in the folder chapter 8

Any help would be appreciated…

you can compile the code as nvcc -lglut