[问题] 如何使用f03gl写Opengl

楼主: blamda (blamda)   2015-04-19 18:44:22
目前想用Fortran写Opengl
网络上搜寻到fo3gl这个别人写好的模组
http://www-stone.ch.cam.ac.uk/pub/f03gl/index.xhtml
可将Fortran与Opengl作连结
利用Code::blocks将f03gl加载后编译
却出现以下的错误讯息
There is no specific subroutine for the generic 'glutidlefunc
与Can't open module file 'blender.mod'
从错误讯息判断好像是IDE没有读到blender.mod这个模组
gfortran好像也没有成功连结到GLUT
不知道是不是因为IDE没有完全加载f03gl这个资料夹中的档案
请问要如何解决这个问题
Code::blocks操作流程
(1)Create a new project
(2)选择Fortran aplllication
(3)选择工具列[project] [Add files recursively]
(4)选择f03gl这个资料夹
(5)选择[Build]

Links booklink

Contact Us: admin [ a t ] ucptt.com