Could someone make the GitHub samples work with CUDA 11.18?

I have reinstalled CUDA and GitHub samples. All the samples can be correctly buit. However, almost all the samples requiring graphical output fail.

smokeParticles.exe: The following required OpenGL extensions missing:
GL_VERSION_2_0
GL_VERSION_1_5

boxFilter.exe: This sample requires
OpenGL version 2.0
GL_ARB_vertex_buffer_object
GL_ARB_pixel_buffer_object

These samples load C:\Windows\System32\opengl32.dllwithout a problem.

Could someone make the GitHub samples work with CUDA 11.18? I could make them work with CUDA 11.16 about 6 months ago.

I will appreciate any help.