Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Doxygen链接到Fortran中其他模块/文件中的子例程_Fortran_Doxygen_Doxywizard - Fatal编程技术网

Doxygen链接到Fortran中其他模块/文件中的子例程

Doxygen链接到Fortran中其他模块/文件中的子例程,fortran,doxygen,doxywizard,Fortran,Doxygen,Doxywizard,我有一个Fortran子程序proc,它调用Fortran子程序uvuv位于另一个模块中,在Doxygen中有自己的模块页面。我想添加一个链接,以便您可以在Doxygen页面上单击proc的uv,它将带您进入uv页面 我试着做: !> Comments !! call \link uv \endlink !> Comments !! call \ref uv !> Comments !! call \see uv 所有这些都没有链接到uv页面。有更好的方法吗?我使用了HT

我有一个Fortran子程序
proc
,它调用Fortran子程序
uv
uv
位于另一个模块中,在Doxygen中有自己的模块页面。我想添加一个链接,以便您可以在Doxygen页面上单击
proc
uv
,它将带您进入
uv
页面

我试着做:

!> Comments
!! call \link uv \endlink

!> Comments
!! call \ref uv

!> Comments
!! call \see uv

所有这些都没有链接到
uv
页面。有更好的方法吗?我使用了HTML链接,这很有效,但这很麻烦,而且需要很长时间,因为我有很多这样的子例程

对于1.8.12版,您可以使用
\ref module\u name引用其他模块的子例程。子例程名称
,其中
模块名称
对应于模块名称,
子例程名称
对应于子例程名称


如果这不起作用,请确保在
Doxyfile

INPUT
变量中声明您的所有源。如果您的模块名为tst,您是否尝试过tst::uv或tst.uv?我尝试过tst::uv、tst:uv和tst.uv,它们似乎都没有创建指向其他模块页面的链接您使用的是哪个版本的doxygen(当前版本为1.8.11)。显示更多尝试创建链接的代码,以便可以复制链接。