linker error

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
jinlu
Posts: 47
Joined: Fri Jul 14, 2006 5:50 pm
Location: UC San Diego

linker error

Post by jinlu »

Latest Opensees 1.7.4, Windows XP, Microsoft Studio 2005


------ Build started: Project: quickMain, Configuration: Release Win32 ------
Linking...
libIEPCF90.lib(2696199.obj) : error LNK2019: unresolved external symbol _errno referenced in function _FileOpen.1
libIEPCF90.lib(269697.obj) : error LNK2001: unresolved external symbol _errno
.\..\..\bin/quickMain.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://j:\OpenSeesAllVersions\OpenSees1.7.4_Aug27_07\OpenSees\Win32\obj\quickMain\release\BuildLog.htm"
quickMain - 3 error(s), 0 warning(s)
------ Build started: Project: OpenSees, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file 'corotational.lib'
Build log was saved at "file://j:\OpenSeesAllVersions\OpenSees1.7.4_Aug27_07\OpenSees\Win32\obj\openSees\release\BuildLog.htm"
OpenSees - 1 error(s), 0 warning(s)
------ Build started: Project: OpenSeesTk, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file 'corotational.lib'
Build log was saved at "file://j:\OpenSeesAllVersions\OpenSees1.7.4_Aug27_07\OpenSees\Win32\obj\openSeesTk\release\BuildLog.htm"
OpenSeesTk - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 3 failed, 22 up-to-date, 0 skipped ==========
jinlu
Posts: 47
Joined: Fri Jul 14, 2006 5:50 pm
Location: UC San Diego

Post by jinlu »

VC2005errno.cpp was added to openSees project. No luck.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

you need to remove the corotational.lib file from the linking process for the OpenSees, OpenSeestK and quickMain projes
jinlu
Posts: 47
Joined: Fri Jul 14, 2006 5:50 pm
Location: UC San Diego

Post by jinlu »

Thanks Frank. It worked though there was still error in building quickMain which I do not need anyway.
Post Reply