2017 February 17,
If your question isn't answered here, try asking me or Mike Tie in CMC 305.
To run the software for the first half of this course, you need OpenGL, a C compiler, and GLFW. The macOS operating system comes with OpenGL preinstalled (because it runs all graphics through OpenGL). To get a C compiler, download Apple's Xcode developer tools. If you are given the option to install command-line tools, then do so. All that remains is GLFW. Here is how I did it (mimicking this page, by the way).
I'm told that you can install cmake, but not GLFW, through Homebrew instead of MacPorts.
Can you use the GUI cmake instead of the command-line version that I just told you to install? I doubt it, but I don't know.
The last two steps above may or may not be necessary.
I'm told that installing GLFW through Homebrew leads to some kind of failure. Instead, follow the instructions above.
Test your GLFW installation against the small sample program offered in the GLFW documentation. Also test your C compiler against 000helloWorld.c, ..., 000functions.c. Once those are working, try to get 000linking.c working. It's possible that you will need to compile your own copy of 000pixel.o. I can help you with that.
Here are instructions for installing GL3W, which we need in the last part of our course, for macOS.
Here are two tests. When working correctly, they both open windows that flash random colors.
Here's a final word of wisdom from Mike: "If the students try this on their home computers and if /usr/local/include isn't on their include path, then they may need to add -I /usr/local/include when compiling the examples."
You will not be able to work on Windows for the first half of our course, because we are using my 000pixel.o library, and rewriting it for Windows would require some redesigning. Once we stop using 000pixel.o and start using raw OpenGL, you should be able to work on Windows.
To run the software for this course, you first need OpenGL, a C compiler, and GLFW. Microsoft does not package OpenGL with Windows, because they prefer their own Direct3D. So download and install OpenGL. I'm told that you get your C compiler from Visual Studio. GLFW should be installable, perhaps even from a binary package, but I don't know the details of that. If you figure them out, then please let me know.
Once you've figured all of that out, test your GLFW installation against the small sample program offered in the GLFW documentation. Also test your C compiler against 000helloWorld.c, ..., 000functions.c.
For the last weeks of the course, you may also need to install GL3W. It might depend on your driver situation.
To run the software for this course, you need OpenGL, a C compiler, and GLFW. Most Linux distributions come with OpenGL preinstalled. If you're a Linux user, then surely you also have a C compiler such as gcc. All that remains is GLFW. I don't know much about that, but I would start by trying the instructions here.
Once you have GLFW installed, test it against the small sample program offered in the GLFW documentation. Also test your C compiler against 000helloWorld.c, ..., 000functions.c. Once those are working, contact me to obtain 000pixel.c, which you will compile to 000pixel.o. Then test 000linking.c.
For the last weeks of the course, you may also need to install GL3W. It might depend on your driver situation.