Spatial mapping cpp sample error


I am facing an error, with the spatial mapping sample code in CPP.
I did not modify the sample code to check it first when I got the error.
I compiled with CMake and I am amusing visual studio 2019. the error is as attached in the picture below.

Hello and thank you for reaching out to us,

The error tells you that freeglut is missing. Can you try to follow this tutorial to install it ? Setting up OpenGL, GLEW, and FreeGLUT in Visual C++ |