作者blamda (blamda)
看板Fortran
标题[问题] 如何使用f03gl写Opengl
时间Sun Apr 19 18:44:22 2015
目前想用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]
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.113.124.175
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Fortran/M.1429440266.A.A13.html