OpenSees 2.2.2 compile
Moderators: silvia, selimgunay, Moderators
-
- Posts: 11
- Joined: Tue Sep 14, 2010 7:16 pm
- Location: Lehigh University
Re: OpenSees 2.2.2 compile
Hi Frank,
I am getting kind of the same linking error. I downloaded .zip source code and tried to compile it in VC++ 2010 and 2008 and got the same error in both versions. Here's the error:
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function _ops_getintinput_
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function _ops_getdoubleinput_
24>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_
24>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)
24>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)
24>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)
24>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)
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDF(void)const " (?getNDF@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndf__
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDM(void)const " (?getNDM@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndm_
24>.\..\..\bin/quickMain.exe : fatal error LNK1120: 9 unresolved externals
.
.
.
========== Build: 25 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
would you please help me on this?
Thanks
I am getting kind of the same linking error. I downloaded .zip source code and tried to compile it in VC++ 2010 and 2008 and got the same error in both versions. Here's the error:
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function _ops_getintinput_
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function _ops_getdoubleinput_
24>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_
24>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)
24>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)
24>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)
24>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)
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDF(void)const " (?getNDF@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndf__
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDM(void)const " (?getNDM@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndm_
24>.\..\..\bin/quickMain.exe : fatal error LNK1120: 9 unresolved externals
.
.
.
========== Build: 25 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
would you please help me on this?
Thanks
Re: OpenSees 2.2.2 compile
use svn to download the latest code
[url]
http://opensees.berkeley.edu/OpenSees/developer/svn.php
[/url]
[url]
http://opensees.berkeley.edu/OpenSees/developer/svn.php
[/url]
-
- Posts: 11
- Joined: Tue Sep 14, 2010 7:16 pm
- Location: Lehigh University
Re: OpenSees 2.2.2 compile
fmk wrote:
> use svn to download the latest code
>
> [url]
> http://opensees.berkeley.edu/OpenSees/developer/svn.php
> [/url]
Thank you very much for your reply Frank. I downloaded the source code from svn but still getting the same errors! What I'm doing is opening opensees2005.sln by VC++ 2010, setting OpenSees as start-up project and building the solution. Am I doing something wrong or missing a step?
Thanks,
.
.
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function _ops_getintinput_
24>material.lib(TclNewTemplate3Dep.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function _ops_getdoubleinput_
24>material.lib(TclNewTemplate3Dep.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
24>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_
24>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)
24>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)
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDF(void)const " (?getNDF@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndf__
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDM(void)const " (?getNDM@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndm_
24>material.lib(TclNewTemplate3Dep.obj) : error LNK2019: unresolved external symbol __imp__Tcl_SplitList referenced in function "class MaterialParameter * __cdecl EvaluateMaterialParameter(void *,struct Tcl_Interp *,char const *)" (?EvaluateMaterialParameter@@YAPAVMaterialParameter@@PAXPAUTcl_Interp@@PBD@Z)
24>material.lib(TclNewTemplate3Dep.obj) : error LNK2019: unresolved external symbol __imp__Tcl_Free referenced in function "void __cdecl cleanup(char const * *)" (?cleanup@@YAXPAPBD@Z)
24>.\..\..\bin/quickMain.exe : fatal error LNK1120: 9 unresolved externals
.
.
.
========== Rebuild All: 25 succeeded, 1 failed, 0 skipped ==========
> use svn to download the latest code
>
> [url]
> http://opensees.berkeley.edu/OpenSees/developer/svn.php
> [/url]
Thank you very much for your reply Frank. I downloaded the source code from svn but still getting the same errors! What I'm doing is opening opensees2005.sln by VC++ 2010, setting OpenSees as start-up project and building the solution. Am I doing something wrong or missing a step?
Thanks,
.
.
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function _ops_getintinput_
24>material.lib(TclNewTemplate3Dep.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function _ops_getdoubleinput_
24>material.lib(TclNewTemplate3Dep.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
24>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_
24>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)
24>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)
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDF(void)const " (?getNDF@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndf__
24>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDM(void)const " (?getNDM@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndm_
24>material.lib(TclNewTemplate3Dep.obj) : error LNK2019: unresolved external symbol __imp__Tcl_SplitList referenced in function "class MaterialParameter * __cdecl EvaluateMaterialParameter(void *,struct Tcl_Interp *,char const *)" (?EvaluateMaterialParameter@@YAPAVMaterialParameter@@PAXPAUTcl_Interp@@PBD@Z)
24>material.lib(TclNewTemplate3Dep.obj) : error LNK2019: unresolved external symbol __imp__Tcl_Free referenced in function "void __cdecl cleanup(char const * *)" (?cleanup@@YAXPAPBD@Z)
24>.\..\..\bin/quickMain.exe : fatal error LNK1120: 9 unresolved externals
.
.
.
========== Rebuild All: 25 succeeded, 1 failed, 0 skipped ==========
Re: OpenSees 2.2.2 compile
did you solve your problems with compiling 2.2.2 with VC++2010express on windows 7-x64?
I included handler.lib in the linker of the project, I got an opensees.exe which runs fine but at the same time I am getting the following erros :
1>------ Build started: Project: quickMain, Configuration: Release Win32 ------
2>------ Build started: Project: OpenSees, Configuration: Release Win32 ------
1>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function _ops_getintinput_
1>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function _ops_getdoubleinput_
1>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_
1>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)
1>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)
1>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)
1>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)
1>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDF(void)const " (?getNDF@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndf__
1>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDM(void)const " (?getNDM@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndm_
1>.\..\..\bin/quickMain.exe : fatal error LNK1120: 9 unresolved externals
2> OpenSees2005.vcxproj -> C:\KARAVASILIS\OPENSEES\OPENSEES2.2.2\OpenSees\Win32\proj\openSees\.\..\..\bin\OpenSees.exe
========== Build: 1 succeeded, 1 failed, 24 up-to-date, 0 skipped ==========
Frank, any help with the above and how thet can affect my executions?
Thanks
T.
I included handler.lib in the linker of the project, I got an opensees.exe which runs fine but at the same time I am getting the following erros :
1>------ Build started: Project: quickMain, Configuration: Release Win32 ------
2>------ Build started: Project: OpenSees, Configuration: Release Win32 ------
1>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function _ops_getintinput_
1>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function _ops_getdoubleinput_
1>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_
1>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)
1>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)
1>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)
1>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)
1>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDF(void)const " (?getNDF@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndf__
1>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDM(void)const " (?getNDM@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndm_
1>.\..\..\bin/quickMain.exe : fatal error LNK1120: 9 unresolved externals
2> OpenSees2005.vcxproj -> C:\KARAVASILIS\OPENSEES\OPENSEES2.2.2\OpenSees\Win32\proj\openSees\.\..\..\bin\OpenSees.exe
========== Build: 1 succeeded, 1 failed, 24 up-to-date, 0 skipped ==========
Frank, any help with the above and how thet can affect my executions?
Thanks
T.
Re: OpenSees 2.2.2 compile
ignore these errors .. the application quickMain failed to compile, OpenSees and OpenSeesTk should have compiled .. i will remove quickMain from the VC2005 solution.
-
- Posts: 26
- Joined: Sat Aug 15, 2009 6:42 am
- Location: Bangkok
- Contact:
OpenSees 2.2.2 compile
Hi fmk..
i am having the sam problem as akis and I have included handler.lib in the linker of the project, but i am not getting opensees.exe file. There are still same linking error as got by akis. Can you please help me on this issue.
i am having the sam problem as akis and I have included handler.lib in the linker of the project, but i am not getting opensees.exe file. There are still same linking error as got by akis. Can you please help me on this issue.