C++ setup for OpenGL and GLFW

How do I setup the environment to actually get an option to run anything with C++ as I am not very familiar with Nix or setting up MakeFiles.

Similar to other request for GUI application, OpenGL and GLFW cannot be used on Project IDX as there are no way to stream native application.
There are chances it might be implimented