forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OpenGL

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
stfark1



Joined: 02 Sep 2008
Posts: 210

PostPosted: Tue Aug 30, 2022 7:04 pm    Post subject: OpenGL Reply with quote

Instructions anywhere to use OpenGL commands with SilverFrost Fortran? Sid Kraft
Back to top
View user's profile Send private message
mecej4



Joined: 31 Oct 2006
Posts: 1885

PostPosted: Tue Aug 30, 2022 8:56 pm    Post subject: Reply with quote

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:

Code:
ftn95 /64 teapots.for
slink64 teapots.obj c:\Windows\System32\opengl32.dll c:\Windows\System32\glu32.dll
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group