CUDA samples simuation

Hi, I have some problem in setting opengl library environment. I tried to running boxFilter sample provided by CUDA. The terminal prints

boxFilter: …/…/common/inc/helper_gl.h:184: int __HelperGL::isGLVersionSupported(unsigned int, unsigned int): Assertion `dot == ‘.’’ failed.
[1] 22047 abort (core dumped) ./boxFilter

Is this a system error or just a warning message? Any suggestion to fix this problem?