-
Notifications
You must be signed in to change notification settings - Fork 12
Installing TSGL
As of summer 2021, there are two main ways that you can install TSGL:
- directly from source
- via a binary package
In essence, the binary packages depend on a laundry list of dependencies.
The same is true when you install from source.
However, the three main dependencies are:
These, along with the other dependencies (doxygen, development header files, ...), are installed along with TSGL regardless of which method you choose.
When installing TSGL using a binary package on Ubuntu & Fedora, the following is true:
-
Debian/Ubuntu:
-
The Debian packages install
libfreetype6andlibfreetype6-dev. This resolves the FreeType dependency. -
The Debian packages install
libglew-dev. This resolves the GLEW dependency. -
A packaged version of the
GLFWlibrary is installed along with the TSGL Debian packages. This resolves the GLFW dependency. -
Please be sure to have at least OpenGL 3.0 or greater on your machine. You can update your graphics drivers by typing the following command:
sudo ubuntu-drivers autoinstall. If that does not work, there are plenty of online tutorials which should help you.
-
-
Fedora/RPM:
-
The RPM package installs
freetypeandfreetype-devel. This resolves the FreeType dependency. -
The RPM package installs
glewandglew-devel. This resolves the GLEW dependency. -
A packaged version of the
GLFWlibrary (namedglfwTSGL) is also installed along with TSGL. This resolves the GLFW dependency. -
As with the Debian packages, please be sure to have at least OpenGL 3.0 or greater on your machine!
-
Given this, let's take a closer look at the ways you can install TSGL.
Use the appropriate script for your OS:
- Linux
Please see the respective page for you OS:
-
Linux
-
MacOS X
2D
- Using Background
- Using Canvas
- Using Shapes
- Using Text and Images
- Using Colors
- Animation Loops
- Using Functions
- Using Keyboard And Mouse
- Command-line arguments
- Bringing It All Together
3D