Doesn't compile on win32

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
jjeon34
Posts: 10
Joined: Fri Nov 12, 2010 1:52 pm
Location: Georgia Tech

Doesn't compile on win32

Post by jjeon34 »

Hello,

What is the problem below when I have compiled an executable opensees file and how can I fix it? Its version is 5397 (latest).

27>_PrepareForClean:
27> Deleting file ".\..\..\obj\openSees\release\OpenSees.lastbuildstate".
26>Build started 7/19/2013 2:35:50 AM.
25>Build started 7/19/2013 2:35:50 AM.
26>_PrepareForClean:
26> Deleting file ".\..\..\obj\openSeesTk\release\OpenSeesTk.lastbuildstate".
25>_PrepareForClean:
25> Deleting file ".\..\..\obj\quickMain\release\quickMain.lastbuildstate".
26>InitializeBuildStatus:
26> Touching ".\..\..\obj\openSeesTk\release\OpenSeesTk.unsuccessfulbuild".
27>InitializeBuildStatus:
27> Touching ".\..\..\obj\openSees\release\OpenSees.unsuccessfulbuild".
25>InitializeBuildStatus:
25> Touching ".\..\..\obj\quickMain\release\quickMain.unsuccessfulbuild".
25>ClCompile:
25> elementAPI_Dummy.cpp
27>ClCompile:
27> tclAppInit.cpp
26>ClCompile:
26> tkMain.cpp
27> tclMain.cpp
27>..\..\..\SRC\tcl\tclMain.cpp(277): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
27> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
27> VC2005errno.cpp
27> Generating Code...
26>..\..\..\SRC\tcl\tkMain.cpp(254): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
26> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
26> VC2005errno.cpp
26> winMain.cpp
25>..\..\..\SRC\api\elementAPI_Dummy.cpp(87): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
25>..\..\..\SRC\api\elementAPI_Dummy.cpp(289): warning C4101: 'libHandle' : unreferenced local variable
25>..\..\..\SRC\api\elementAPI_Dummy.cpp(288): warning C4101: 'eleFunctPtr' : unreferenced local variable
25>..\..\..\SRC\api\elementAPI_Dummy.cpp(315): warning C4101: 'matFunctPtr' : unreferenced local variable
25>..\..\..\SRC\api\elementAPI_Dummy.cpp(316): warning C4101: 'libHandle' : unreferenced local variable
27>LINK : fatal error LNK1181: cannot open input file 'element.lib'
25> main.cpp
27>
27>Build FAILED.
27>
27>Time Elapsed 00:01:30.68
26>..\..\..\SRC\tcl\winMain.cpp(286): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
26> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'vsprintf'
26> Generating Code...
26>LINK : fatal error LNK1181: cannot open input file 'element.lib'
26>
26>Build FAILED.
26>
26>Time Elapsed 00:01:32.13
25> VC2005errno.cpp
25> Generating Code...
25>LINK : fatal error LNK1181: cannot open input file 'element.lib'
25>
25>Build FAILED.
25>
25>Time Elapsed 00:01:33.77
========== Rebuild All: 23 succeeded, 4 failed, 0 skipped ==========


Best Regards
Jong-Su
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Doesn't compile on win32

Post by fmk »

use 5363. my developers all use linux and don't bother updating the windows projects. 5363 was the last release and should compile.
Post Reply