|
|
6 hours ago | |
|---|---|---|
| .. | ||
| examples | 7 hours ago | |
| README.md | 6 hours ago | |
| helper.def | 7 hours ago | |
| helper.mod | 7 hours ago | |
| helper.o | 7 hours ago | |
| tigr.def | 7 hours ago | |
| tigr.h | 7 hours ago | |
| tigr.o | 7 hours ago | |
I did this because I needed a graphic library to follow the UI tutorial here :
https://nakst.gitlab.io/tutorial/ui-part-1.html
The tigr library repository is here:
https://github.com/erkkah/tigr/tree/master
I used also the h2d utility found in the XDS distribution, to check my choices when I tralslated the C headers into Modula-2 ones.
To compile the examples, use this command :
gcc -c tigr.c
gm2 -c helper.mod
gm2 -fiso ../../tigr.o ../../helper.o program.mod -o program -s -lGLU -lGL -lX1