Install your system for C++/OpenGL
This tutorial present the steps that you should follow to set up your system in order to compile for the first
time and run the C++ code with OpenGL.
For any system there is two steps:
- 1. Setup your system in installing the software and libraries - this step has only to be done once on your computer.
- 2. Compilation - This step has to be followed for each different program.
Note: Desktop computers at school on Linux are already set up and do not need any installation - if you are using them
you can skip the system setup and go directly to the compilation procedures.
Sample code
>
Download the following sample code:
sample_code.zip or
sample_code.tar.gz.
- This archive contains an example C++ using OpenGL. It can be used to test if your system is correctly set up (a window with a simple 3D frame
should appear).
> Next follow the process to set up your system and compile the code that depends on your system: