主题:FORTRAN链接出错,跪求大大帮忙,
我链接时报错如下:
density.obj : error LNK2001: unresolved external symbol _KERNEL@20
direct_find.obj : error LNK2001: unresolved external symbol _KERNEL@20
Debug/my practice.exe : fatal error LNK1120: 1 unresolved externals
检查发现没有添加subroutine kernel ,接我就添加了它,链接又报错如下:
E:\Program Files\sph_test\kernel.f
f90: Error: Illegal character in statement label field [s]
f90: Error: Illegal character in statement label field [u]
f90: Error: Illegal character in statement label field [b]
f90: Error: Illegal character in statement label field [r]
f90: Error: Illegal character in statement label field [o]
f90: Error: First statement in file must not be continued
请问这是什么意思啊,我前面的主程序有的,是主程序调用kernel的
谢谢??
density.obj : error LNK2001: unresolved external symbol _KERNEL@20
direct_find.obj : error LNK2001: unresolved external symbol _KERNEL@20
Debug/my practice.exe : fatal error LNK1120: 1 unresolved externals
检查发现没有添加subroutine kernel ,接我就添加了它,链接又报错如下:
E:\Program Files\sph_test\kernel.f
f90: Error: Illegal character in statement label field [s]
f90: Error: Illegal character in statement label field [u]
f90: Error: Illegal character in statement label field [b]
f90: Error: Illegal character in statement label field [r]
f90: Error: Illegal character in statement label field [o]
f90: Error: First statement in file must not be continued
请问这是什么意思啊,我前面的主程序有的,是主程序调用kernel的
谢谢??