error LINK 1181 when buiding r6016

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

Moderators: silvia, selimgunay, Moderators

Post Reply
hanleoleo
Posts: 4
Joined: Wed Feb 26, 2014 11:29 pm
Location: Wuhan University

error LINK 1181 when buiding r6016

Post by hanleoleo » Thu Aug 13, 2015 5:41 am

Hi all,
I failed to build r6016 on VS2010( 32bit) with tcl/tk 8.5.18. My OS is Windows 7 (32bit). I've add "C:\Program Files\Tcl\include" and "C:\Program Files\Tcl\lib" to the include and lib directories of the "Opensees" project .
There was 3 errors and 1556 warnings.
error information:
-----------------------------------
error LNK1181: can't open input file “analysis.lib” E:\svn\6016\Win32\proj\openSees\LINK
error LNK1181: can't open input file “analysis.lib” E:\svn\6016\Win32\proj\openSeesTk\LINK
error LNK1181: can't open input file “analysis.lib” E:\svn\6016\Win32\proj\quickMain\LINK
-----------------------------------
There's no folder or file named "LINK" in those directories.
What' wrong with it and should I deal with the 1556 warnings?
Thanks a lot!

hanleoleo
Posts: 4
Joined: Wed Feb 26, 2014 11:29 pm
Location: Wuhan University

Re: error LINK 1181 when buiding r6016

Post by hanleoleo » Mon Aug 17, 2015 12:56 am

Maybe it's a matter of OpenSees release version. Someone send me another version and it works.

blaiman
Posts: 56
Joined: Wed Jul 11, 2012 11:59 am
Location: RISA Tech, Inc.

Re: error LINK 1181 when buiding r6016

Post by blaiman » Tue Aug 18, 2015 10:05 am

LINK is not a folder or project part of OpenSees or any source code for that matter. This is a compiler error saying that the analysis project/library isn't being built or something went wrong and hence the OpenSees project can't be linked to it. One thing that comes to mind is that you should make sure that the main project selected for the solution is the OpenSees one. Other than that I would probably suggest doing a clean build and re-compile the whole solution.
Brighton Laiman
Development Engineer
RISA Technologies
Foothill Ranch, CA

Post Reply