Error building opensees on windows

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

Moderators: silvia, selimgunay, Moderators

Post Reply
meerarnandan
Posts: 4
Joined: Tue Jun 29, 2010 11:26 am
Location: University of Colorado Boulder

Error building opensees on windows

Post by meerarnandan »

I am getting the following error while I am trying to build OpenSees 2.2.2 on windows computer. I have tcl 8.5.9 installed in C:/Program Files/Tcl and I am using visual C++ in 32 bit version of visual studio 2010. Thanks.

1>------ Build started: Project: openSees, Configuration: Release Win32 ------
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ) referenced in function "int __cdecl eleResponse(void *,struct Tcl_Interp *,int,char const * *)" (?eleResponse@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>material.lib(ShearCurve.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ)
1>material.lib(ThreePointCurve.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ)
1>material.lib(AxialCurve.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ)
1>material.lib(RAFourSteelRCPlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(RAFourSteelPCPlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(FAPrestressedConcretePlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(PrestressedConcretePlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(FAFourSteelRCPlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(AxialCurve.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(ReinforcedConcretePlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(FAReinforcedConcretePlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(FAFourSteelPCPlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ) referenced in function "int __cdecl eleResponse(void *,struct Tcl_Interp *,int,char const * *)" (?eleResponse@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(ShearCurve.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(ThreePointCurve.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall XmlFileStream::~XmlFileStream(void)" (??1XmlFileStream@@UAE@XZ) referenced in function "int __cdecl OpenSeesExit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSeesExit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: int __thiscall XmlFileStream::close(void)" (?close@XmlFileStream@@QAEHXZ) referenced in function "int __cdecl OpenSeesExit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSeesExit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: int __thiscall XmlFileStream::open(void)" (?open@XmlFileStream@@QAEHXZ) referenced in function "int __cdecl OpenSeesExit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSeesExit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual int __thiscall XmlFileStream::setFile(char const *,enum openMode)" (?setFile@XmlFileStream@@UAEHPBDW4openMode@@@Z) referenced in function "int __cdecl OpenSeesExit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSeesExit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: __thiscall XmlFileStream::XmlFileStream(int)" (??0XmlFileStream@@QAE@H@Z) referenced in function "int __cdecl OpenSeesExit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSeesExit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2001: unresolved external symbol "public: __thiscall XmlFileStream::XmlFileStream(int)" (??0XmlFileStream@@QAE@H@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "int __cdecl binaryToText(char const *,char const *)" (?binaryToText@@YAHPBD0@Z) referenced in function "int __cdecl convertBinaryToText(void *,struct Tcl_Interp *,int,char const * *)" (?convertBinaryToText@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "int __cdecl textToBinary(char const *,char const *)" (?textToBinary@@YAHPBD0@Z) referenced in function "int __cdecl convertTextToBinary(void *,struct Tcl_Interp *,int,char const * *)" (?convertTextToBinary@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: int __thiscall FileStream::close(void)" (?close@FileStream@@QAEHXZ) referenced in function "int __cdecl printModel(void *,struct Tcl_Interp *,int,char const * *)" (?printModel@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual int __thiscall FileStream::setFile(char const *,enum openMode)" (?setFile@FileStream@@UAEHPBDW4openMode@@@Z) referenced in function "int __cdecl printModel(void *,struct Tcl_Interp *,int,char const * *)" (?printModel@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall FileStream::~FileStream(void)" (??1FileStream@@UAE@XZ) referenced in function "int __cdecl printModel(void *,struct Tcl_Interp *,int,char const * *)" (?printModel@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: __thiscall FileStream::FileStream(int)" (??0FileStream@@QAE@H@Z) referenced in function "int __cdecl printModel(void *,struct Tcl_Interp *,int,char const * *)" (?printModel@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2001: unresolved external symbol "public: __thiscall FileStream::FileStream(int)" (??0FileStream@@QAE@H@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: __thiscall StandardStream::StandardStream(int)" (??0StandardStream@@QAE@H@Z) referenced in function "void __cdecl `dynamic initializer for 'sserr''(void)" (??__Esserr@@YAXXZ)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2001: unresolved external symbol "public: __thiscall StandardStream::StandardStream(int)" (??0StandardStream@@QAE@H@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol "public: __thiscall StandardStream::StandardStream(int)" (??0StandardStream@@QAE@H@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall StandardStream::~StandardStream(void)" (??1StandardStream@@UAE@XZ) referenced in function "void __cdecl `dynamic atexit destructor for 'sserr''(void)" (??__Fsserr@@YAXXZ)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: unresolved external symbol "public: __thiscall DatabaseStream::DatabaseStream(class FE_Datastore *,char const *)" (??0DatabaseStream@@QAE@PAVFE_Datastore@@PBD@Z) referenced in function "public: virtual class OPS_Stream * __thiscall FEM_ObjectBrokerAllClasses::getPtrNewStream(int)" (?getPtrNewStream@FEM_ObjectBrokerAllClasses@@UAEPAVOPS_Stream@@H@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol "public: __thiscall DatabaseStream::DatabaseStream(class FE_Datastore *,char const *)" (??0DatabaseStream@@QAE@PAVFE_Datastore@@PBD@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: unresolved external symbol "public: __thiscall BinaryFileStream::BinaryFileStream(void)" (??0BinaryFileStream@@QAE@XZ) referenced in function "public: virtual class OPS_Stream * __thiscall FEM_ObjectBrokerAllClasses::getPtrNewStream(int)" (?getPtrNewStream@FEM_ObjectBrokerAllClasses@@UAEPAVOPS_Stream@@H@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: unresolved external symbol "public: __thiscall DataFileStream::DataFileStream(int)" (??0DataFileStream@@QAE@H@Z) referenced in function "public: virtual class OPS_Stream * __thiscall FEM_ObjectBrokerAllClasses::getPtrNewStream(int)" (?getPtrNewStream@FEM_ObjectBrokerAllClasses@@UAEPAVOPS_Stream@@H@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol "public: __thiscall TCP_Stream::TCP_Stream(unsigned int,char const *,bool)" (??0TCP_Stream@@QAE@IPBD_N@Z) referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol "public: __thiscall BinaryFileStream::BinaryFileStream(char const *,enum openMode)" (??0BinaryFileStream@@QAE@PBDW4openMode@@@Z) referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol "public: __thiscall XmlFileStream::XmlFileStream(char const *,enum openMode,int)" (??0XmlFileStream@@QAE@PBDW4openMode@@H@Z) referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol "public: __thiscall DataFileStream::DataFileStream(char const *,enum openMode,int,int)" (??0DataFileStream@@QAE@PBDW4openMode@@HH@Z) referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
1>libm.lib(libm_error.obj) : error LNK2019: unresolved external symbol _errno referenced in function ___libm_error_support
1>LIBIFCORE.lib(for_nt_open_proc.obj) : error LNK2001: unresolved external symbol _errno
1>LIBIFCORE.lib(for_portlib.obj) : error LNK2001: unresolved external symbol _errno
1>LIBIFCORE.lib(for_init.obj) : error LNK2019: unresolved external symbol __pxcptinfoptrs referenced in function _GETEXCEPTIONPTRSQQ
1>.\..\..\bin/OpenSees.exe : fatal error LNK1120: 24 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
foxchameleon
Posts: 8
Joined: Tue Mar 31, 2009 3:46 am
Location: UCSD

Re: Error building opensees on windows

Post by foxchameleon »

Did you try the latest version of 2.4.0? I compiled it 2 days ago, and it is working very well.
Li Yong
Post Reply