Download tr-1.1.tar.gz from www.mesa3d.org, gunzip and untar.
Edit the Makefile CC and CFLAGS lines:
CC= gcc CFLAGS= -c
make
(you get 1 unused variable warning).
Edit the lop level Maverik Makefile:
add
"TRINCL= -DMAV_TR -I/home/keatesm/tr-1.1"\ "TRLIBS= /home/keatesm/tr-1.1/tr.o"\
to the "make libs" section (replace /home/keatesm with the directory where tr-1.1 is installed).
The file Maverik-5.4/src/extras/TR/mav_tr.c needs #include <windows.h> before the #include "mavlib_tr.h"
make
Add -lmav_tr after -lmaverik on the application Makefile link line.
Add #include "mav_tr.h" after #include "maverik.h" in your application and a call to mav_TRModuleInit (); after mav_initialise ();
You should now be able to dump oversampled/oversized images using ctrl-F3.
Download my updated mav_tr.c.gz (and gunzip to src/extras/TR) which allows tiling of arbitrarily sized images and is fixed for cygwin (updated 18/10/00).