Compile openSees

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

Moderators: silvia, selimgunay, Moderators

Post Reply
sattar
Posts: 8
Joined: Thu Apr 15, 2010 3:11 pm
Location: University of Colorado-Boulder

Compile openSees

Post by sattar »

Hi Frank,
I have two questions and I appreciate your answer.
1) I am trying to compile openSees source code in Visual studio 2010. When I build the solution file (Solution 'OpenSees2005'), it fails for one file and gives the following error messages.

23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function _ops_getintinput_
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function _ops_getdoubleinput_
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class UniaxialMaterial * __thiscall TclModelBuilder::getUniaxialMaterial(int)" (?getUniaxialMaterial@TclModelBuilder@@QAEPAVUniaxialMaterial@@H@Z) referenced in function _ops_getmaterial_
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class NDMaterial * __thiscall TclModelBuilder::getNDMaterial(int)" (?getNDMaterial@TclModelBuilder@@QAEPAVNDMaterial@@H@Z) referenced in function "class NDMaterial * __cdecl OPS_GetNDMaterial(int)" (?OPS_GetNDMaterial@@YAPAVNDMaterial@@H@Z)
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class SectionForceDeformation * __thiscall TclModelBuilder::getSection(int)" (?getSection@TclModelBuilder@@QAEPAVSectionForceDeformation@@H@Z) referenced in function "class SectionForceDeformation * __cdecl OPS_GetSectionForceDeformation(int)" (?OPS_GetSectionForceDeformation@@YAPAVSectionForceDeformation@@H@Z)
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class CrdTransf2d * __thiscall TclModelBuilder::getCrdTransf2d(int)" (?getCrdTransf2d@TclModelBuilder@@QAEPAVCrdTransf2d@@H@Z) referenced in function "class CrdTransf2d * __cdecl OPS_GetGetCrdTransf2d(int)" (?OPS_GetGetCrdTransf2d@@YAPAVCrdTransf2d@@H@Z)
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class CrdTransf3d * __thiscall TclModelBuilder::getCrdTransf3d(int)" (?getCrdTransf3d@TclModelBuilder@@QAEPAVCrdTransf3d@@H@Z) referenced in function "class CrdTransf3d * __cdecl OPS_GetGetCrdTransf3d(int)" (?OPS_GetGetCrdTransf3d@@YAPAVCrdTransf3d@@H@Z)
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDF(void)const " (?getNDF@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndf__
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDM(void)const " (?getNDM@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndm_
23>.\..\..\bin/quickMain.exe : fatal error LNK1120: 9 unresolved externals
25>------ Build started: Project: OpenSeesTk, Configuration: Release Win32 ------



2) To build the executable file, I Rcl on the oepnSees in Solution Explorer window and select build or rebuild and it works. But If I press F5 it gives me the following error message. I appreciate it if you tell me what I need to do in this regard.

"unable to start program 'C:/ ......../lib/release/actor.lib' the specified file is an unrecognized or unsupported binary format. "
Post Reply