tpl260 发表于 2007-10-23 15:38:23

求助:fortran77编的程序如何在VC++6.0中运行

Compiling Fortran...
D:\workplace\news\def_usr.f
Linking...
dfor.lib(matherr.obj) : error LNK2005: __matherr already defined in MSVCRT.LIB(merr.obj)
libcd.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.LIB(MSVCRT.dll)
libcd.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRT.LIB(MSVCRT.dll)
libcd.lib(ieee87.obj) : error LNK2005: __controlfp already defined in MSVCRT.LIB(MSVCRT.dll)
libcd.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in MSVCRT.LIB(MSVCRT.dll)
libcd.lib(fpinit.obj) : error LNK2005: __ldused already defined in a previous module
libcd.lib(fpinit.obj) : error LNK2005: __fltused already defined in a previous module
libcd.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRT.LIB(cinitexe.obj)
libcd.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRT.LIB(cinitexe.obj)
libcd.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRT.LIB(cinitexe.obj)
libcd.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRT.LIB(cinitexe.obj)
LINK : warning LNK4098: defaultlib "libcd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
def_usr.obj : error LNK2001: unresolved external symbol _DEFSIM3D@0
def_usr.obj : error LNK2001: unresolved external symbol _PRSTAY_MPI@4
def_usr.obj : error LNK2001: unresolved external symbol _INTPOL4@24
MSVCRT.LIB(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/DEF_SIM.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
DEF_SIM.exe - 16 error(s), 1 warning(s)

cems 发表于 2008-3-20 17:29:24

没有人解决这个问题么
页: [1]
查看完整版本: 求助:fortran77编的程序如何在VC++6.0中运行