I am trying to compile a program on MacOSX that I originally wrote on Windows. The program is a large C ++ program with the OpenGL API, including many directories and files.
The compilation process first had a problem with OpenGL for Mac, so I downloaded all the OpenGL command-line utilities for it to work. But, as you could imagine, there were many preprocessors in each C file in the OpenGL download, each of which, in turn, had to load dependencies.
However, I have one important step: I get a fatal error stating that the windows.h file was not found. This seems like something inherent to Windows (the windows.h file is nowhere to be found in my huge list of directories for the program), and the Mac does not seem to have the equivalent for windows.h ( http://cboard.cprogramming.com/c- programming / 96087-windows-h-mac.html ).
Am I fortunate to try to compile this program for Mac or can I save something?
source share