测试程序可以运行,但是没有图出来  
于是我换了一个简单点的测试程序: 
[Fortran] syntaxhighlighter_viewsource syntaxhighlighter_copycode program main
    use dislin
    real x,y
    dimension X(5),Y(5)
    data x/1.0,2.0,3.0,4.0,5.0/
    y=sin(x)
    call metafl("cons")
    call disini()
    call color("red")
    call graf(0.,6.,-1.,2.,-1.,1.,-1.,0.5)
    call titlin("test",1)
    call title()
    call curve(x,y,5)
    call disfin()
end 
可以编译运行,还是没有图出来,查找原因发现dislin中的一些函数是空函数,比如上面用到的metafl()在dislin.f90中定义见下图。 
这样的空函数很多,这些空函数应该是链接到*.lib函数库的,问题是现在不确定它是链接到哪里的(通过了编译),这个问题有没有人解决过? 
 
 
 |