Instructions anywhere to use OpenGL commands with SilverFrost Fortran? Sid Kraft
OpenGL
Sid, I don't know if you want information on OpenGL itself, or need help with how to build OpenGL code using FTN95. The following is based on assuming that you want the latter.
In %HOMEDRIVE%%HOMEPATH%\Documents\FTN95 Examples\OpenGL, you can find a number of examples and a batch file for building them. Some of the files are over 20 years old, and may need editing to match your set-up.
For example, here is how I built the teapot demo, using FTN95 8.80, on Windows 11-home-64:
ftn95 /64 teapots.for
slink64 teapots.obj c:\Windows\System32\opengl32.dll c:\Windows\System32\glu32.dll