Please help with xcode application and download windows on mac

Hello, I am a student and I use a Macbook Air, and I am facing a problem when writing codes in the xcode ‘GL/glut.h’ file not found application. When I change the system of my device to the Windows system, will the program run? Note that when writing the codes, I use the C++ language and 3 libraries opengl glut freeglut

OpenGL is and has been deprecated on iOS for quite some time, and pretty sure that it's deprecated on macOS as well. You could likely locate the required header files for gl and glu at various websites around the web (the OpenGL ES headers are still available with Xcode 14), but speaking from personal experience, the OpenGL drivers you'd be using on the mac would probably not be stable. They certainly are not stable on iOS.

If you want to continue to use the OpenGL API across multiple platforms, at least on the mac you'll need to consider translation layers like ANGLE or MetalANGLE so that your final rendered output is Metal. There are other alternatives but I'd abandon the hope that straight OpenGL is one of them.

If your Macbook Air is an older Intel based Mac, I'd seriously consider installing Bootcamp and your favorite version of Windows and do your OpenGL coding there.

This is likely not the answer you want to hear. Good luck.

Please help with xcode application and download windows on mac
 
 
Q