The GLUT DLL file may be obtained from one of the GLUT web sites listed below, or you can use the copy included in the resource\win32 folder under the KnotPlot home.
If you have Windows 95, see the section later in this file for information regarding OpenGL.
KnotPlot download page: http://www.pims.math.ca/knotplot/
GLUT site: http://reality.sgi.com/opengl/glut3/glut3.html
GLUT for Win32 site: http://www.xmission.com/~nate/glut.html This is the place to get the glut32.dll file from.
C:\Program Files\KnotPlotThis folder is the "KnotPlot Home". After you install the distribution, if you look in the KnotPlot home folder, you should see a number of sub-folders, including
basic demos resource special
plus several others.
If you don't install the distribution, KnotPlot will complain about not being able to find its home, and it will exit.
It's possible that you might install KnotPlot to a directory other than C:\Program Files\KnotPlot, and in this case you have to let KnotPlot know where its home is. In Windows NT/2000, this is simple, you can set the environment variable KNOTPLOT_HOME to point to wherever the KnotPlot home actually is. There is a similar mechanism under Windows 95/98.
An alternative to setting the environment variable is to simple put the knotplot.exe into the KnotPlot home folder. When KnotPlot starts up, it tries to find the home folder in the following locations:
KnotPlot uses the first of these that it can find.
If you've installed the KnotPlot home someplace else, say
D:\progs\KnotPlot
and you prefer having the knotplot.exe file in, say
C:\bin
or whatever, then what you might want to do is either:
--- set a KNOTPLOT_HOME env var to D:\progs\KnotPlot
or
--- make a shortcut to the knotplot.exe file, and edit the "Start in" field of the shortcut's properties to read D:\progs\KnotPlot
Some older Windows 95 machines don't have OpenGL installed. If your machine is one of these, you should obtain the DLL files
glu32.dll and opengl32.dll
from Microsoft and install them in the appropriate location. You'll be able to tell that you don't have the DLL files, because you will get an error when running KnotPlot if you don't have them.