Nuitrack_gl_sample fails to launch (0xc000007b)

I’ve got a solution for this.
I followed the steps under “When I run nuitrack_ni_gl_sample (on Windows), I get an error: glut.h: No such file or directory” on the Nuitrack Knowledge Base.
But for step 3, “Install dynamic libraries:”, the instructions should be

  • copy \bin\x86\glut32.dll to C:\Windows\SysWOW64
  • copy \bin\x64\glut32.dll to C:\Windows\System32

The x86 dll goes into SysWOW64, not System32. And the x64 dll goes into System32, not SysWOW64.