Problem Building V. 2.4.1

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

Moderators: silvia, selimgunay, Moderators

Post Reply
alikmo
Posts: 8
Joined: Wed Oct 27, 2010 11:02 am
Location: Northeastern University

Problem Building V. 2.4.1

Post by alikmo »

Hi,
I have a problem with building OpenSees Source code V 2.4.1.
I used TortoiseSVN with this URL of repository to check out: svn://opensees.berkeley.edu/usr/local/svn/OpenSees

OS: Windows 7
tcl: 8.5.10.1.295062
Microsoft Visual C ++ 2010 Express

Error messages:
1. within PFEMMesher2D.h --> fatal error C1083: Cannot open include file: 'triangle.h': No such file or directory
2. within PFEMMesher3D.h --> fatal error C1083: Cannot open include file: 'tetgen.h': No such file or directory

please advise me how I can fix this issue.

Thanks,
Ali
gaziz
Posts: 16
Joined: Fri Aug 02, 2013 1:44 pm
Location: University of British Columbia

Re: Problem Building V. 2.4.1

Post by gaziz »

I have similar problem!
What I did is checked out a previous tag 5363 (used to generate v 2.4.1); however, I get different kind of error LNK2019/2001: "extern double dbesi0/dbesi1 in KikuchiBearing.cpp/MultipleNormalSpring.cpp/MultipleShearSpring.cpp is unresovled symbol". This is linking error.
To eliminate it, I simply excluded element/HUelements and uncommented anything related to KikuchiBearing.cpp/MultipleNormalSpring.cpp/MultipleShearSpring.cpp inside TclElementCommands.cpp. This works for me since I don't use HUelements; if you don't need anything else included in tags older than 5363, you should be fine with it.
ArdalanNejat
Posts: 19
Joined: Sat Aug 03, 2013 3:56 am
Location: Shiraz University
Contact:

Re: Problem Building V. 2.4.1

Post by ArdalanNejat »

gaziz wrote:
> I have similar problem!
> What I did is checked out a previous tag 5363 (used to generate v 2.4.1);
> however, I get different kind of error LNK2019/2001: "extern double
> dbesi0/dbesi1 in
> KikuchiBearing.cpp/MultipleNormalSpring.cpp/MultipleShearSpring.cpp is
> unresovled symbol". This is linking error.
> To eliminate it, I simply excluded element/HUelements and uncommented
> anything related to
> KikuchiBearing.cpp/MultipleNormalSpring.cpp/MultipleShearSpring.cpp inside
> TclElementCommands.cpp. This works for me since I don't use HUelements; if
> you don't need anything else included in tags older than 5363, you should
> be fine with it.

thank you very much it is a very helpful guidance, actually i'm new to opensees source code and i'm facing your problem too i'm trying to build example1 but numerous linking errors stops me would you please explain a little more?
i'm gratefully thank for your precious time.
ArdalanNejat
Posts: 19
Joined: Sat Aug 03, 2013 3:56 am
Location: Shiraz University
Contact:

Re: Problem Building V. 2.4.1

Post by ArdalanNejat »

thank you so much dear gaziz your instruction worked for me too, THANK YOU
amadeus
Posts: 4
Joined: Fri Mar 08, 2013 6:03 pm
Location: The Hong Kong Polytechnic University

Re: Problem Building V. 2.4.1

Post by amadeus »

Hi,
I had a similar problem. I tried the method of gaziz with version tag 5363. The element error disappeared. However, linking problems appeared as posted. Could someone please give me some hints?

OS: Windows 7 64bit
Microsoft Visual Studio 2013 Professional

Tcl include and lib as well as /SRC/element have been included in VC++ dictionaries. THANK YOU!!

Error messages:
25>LIBCMT.lib(log.obj) : warning LNK4006: _log already defined in libm.lib(log_stub.obj); second definition ignored
25>LIBCMT.lib(cos.obj) : warning LNK4006: _cos already defined in libm.lib(cos_stub.obj); second definition ignored
25>tclAppInit.obj : error LNK2019: unresolved external symbol _Tcl_Init referenced in function _Tcl_AppInit
25>tclAppInit.obj : error LNK2019: unresolved external symbol _Tcl_SetVar referenced in function _Tcl_AppInit
25>tclMain.obj : error LNK2001: unresolved external symbol _Tcl_SetVar
25>tclMain.obj : error LNK2001: unresolved external symbol _Tcl_LinkVar
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_Free referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_AppendToObj referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _TclFreeObj referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_GetStringFromObj referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_NewObj referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_AddErrorInfo referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_CreateInterp referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_DStringFree referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_Eof referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_Eval referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_EvalFile referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_FindExecutable referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_Flush referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_GetObjResult referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_GetsObj referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_GetStdChannel referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_Merge referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_RecordAndEvalObj referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_SourceRCFile referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_EvalObjEx referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_ExternalToUtfDString referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_GetVar2Ex referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_WriteChars referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol _Tcl_WriteObj referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tclMain.obj : error LNK2019: unresolved external symbol __imp__TclObjCommandComplete referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_Free referenced in function "int __cdecl TclCommand_doBlock2D(void *,struct Tcl_Interp *,int,char const * *)" (?TclCommand_doBlock2D@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
25>domain.lib(TclSeriesCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Free
25>domain.lib(TclSeriesIntegratorCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Free
25>element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Free
25>material.lib(TclFeapMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>tcl.lib(TclFeViewer.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclFedeasMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclDrainMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclSnapMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclPyTzQzMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclHyperbolicGapMaterial.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclReinforcingSteel.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(KikuchiAikenHDR.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(AxialSpHD.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclModelBuilderYSPlasticMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclModelBuilderBackboneCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclUpdateMaterialStageCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclModelBuilderYS_SectionCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclLimitState.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclModelBuilderNDMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclModelBuilderYieldSurfaceBCCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclModelBuilderYS_EvolutionCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclElastomericBearingBoucWenCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclTwoNodeLinkCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>material.lib(TclModelBuilderSectionCommand.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function "public: __thiscall std::_Locinfo::_Locinfo(char const *)" (??0_Locinfo@std@@QAE@PBD@Z)
25>material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclAdapterCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclFlatSliderCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclSingleFPCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclElastomericBearingPlasticityCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclFourNodeQuadUPCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclTwenty_Node_BrickCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclActuatorCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclActuatorCorotCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclBeamColumnJointCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclElement2dGNL.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclElement2dYS.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclZeroLength.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclModelBuilder_addPFEMElement.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclDispBeamColumnIntCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclFeapElementCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclElasticBeamCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclBrickCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclFourNodeQuadCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>domain.lib(TclRegionCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclGeomTransfCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclCyclicModelCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>element.lib(TclModelBuilderFrictionModelCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>domain.lib(TclPatternCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>domain.lib(TclSeriesCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>domain.lib(TclGroundMotionCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>domain.lib(TclUpdateMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>optimization.lib(TclOptimizationBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>damage.lib(TclModelBuilderDamageModelCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>reliability.lib(TclReliabilityBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>domain.lib(TclParameterCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>tcl.lib(commands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>tcl.lib(elementAPI_TCL.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>tcl.lib(TclUniaxialMaterialTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>tcl.lib(TclSectionTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetDouble
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetIndexFromObj referenced in function "int __cdecl OPS_SourceCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const *)" (?OPS_SourceCmd@@YAHPAXPAUTcl_Interp@@HPBQAUTcl_Obj@@@Z)
25>tcl.lib(TclFeViewer.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclSnapMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclPyTzQzMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclFeapMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(KikuchiAikenHDR.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(AxialSpHD.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclFedeasMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclDrainMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclUpdateMaterialStageCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclModelBuilderYS_SectionCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclHyperbolicGapMaterial.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclReinforcingSteel.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclModelBuilderYieldSurfaceBCCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclModelBuilderYS_EvolutionCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclModelBuilderYSPlasticMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclModelBuilderBackboneCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclModelBuilderSectionCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclLimitState.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>material.lib(TclModelBuilderNDMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclSingleFPCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclElastomericBearingPlasticityCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclElastomericBearingBoucWenCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclTwoNodeLinkCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclActuatorCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclActuatorCorotCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclAdapterCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclFlatSliderCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclElement2dGNL.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclElement2dYS.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclFourNodeQuadUPCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclTwenty_Node_BrickCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclBeamColumnJointCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclGenericClientCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclGenericCopyCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclZeroLength.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclModelBuilder_addPFEMElement.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclDispBeamColumnIntCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclBrickCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclFourNodeQuadCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclJoint2dCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclJoint3dCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclCyclicModelCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclModelBuilderFrictionModelCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclFeapElementCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclElasticBeamCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>domain.lib(TclGroundMotionCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>domain.lib(TclUpdateMaterialCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>domain.lib(TclRegionCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>element.lib(TclGeomTransfCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>database.lib(TclDatabaseCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>domain.lib(TclParameterCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>domain.lib(TclPatternCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>domain.lib(TclSeriesCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>tcl.lib(TclSectionTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>optimization.lib(TclOptimizationBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>damage.lib(TclModelBuilderDamageModelCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>reliability.lib(TclReliabilityBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function "int __cdecl OpenSeesExit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSeesExit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
25>tcl.lib(elementAPI_TCL.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>tcl.lib(myCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>tcl.lib(TclUniaxialMaterialTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetInt
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_AppendResult referenced in function "int __cdecl basicDeformation(void *,struct Tcl_Interp *,int,char const * *)" (?basicDeformation@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
25>reliability.lib(TclReliabilityBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_AppendResult
25>tcl.lib(TclFeViewer.obj) : error LNK2001: unresolved external symbol __imp__Tcl_CreateCommand
25>tcl.lib(TclSectionTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_CreateCommand
25>optimization.lib(TclOptimizationBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_CreateCommand
25>reliability.lib(TclReliabilityBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_CreateCommand
25>database.lib(TclDatabaseCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_CreateCommand
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_CreateCommand referenced in function "public: __thiscall TclModelBuilder::TclModelBuilder(class Domain &,struct Tcl_Interp *,int,int)" (??0TclModelBuilder@@QAE@AAVDomain@@PAUTcl_Interp@@HH@Z)
25>tcl.lib(TclVideoPlayer.obj) : error LNK2001: unresolved external symbol __imp__Tcl_CreateCommand
25>tcl.lib(myCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_CreateCommand
25>tcl.lib(TclUniaxialMaterialTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_CreateCommand
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_CreateObjCommand referenced in function "int __cdecl OpenSeesAppInit(struct Tcl_Interp *)" (?OpenSeesAppInit@@YAHPAUTcl_Interp@@@Z)
25>reliability.lib(TclReliabilityBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_DeleteCommand
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_DeleteCommand referenced in function "public: virtual __thiscall TclModelBuilder::~TclModelBuilder(void)" (??1TclModelBuilder@@UAE@XZ)
25>tcl.lib(TclUniaxialMaterialTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_DeleteCommand
25>tcl.lib(TclSectionTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_DeleteCommand
25>optimization.lib(TclOptimizationBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_DeleteCommand
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_DStringFree referenced in function "char const * __cdecl getInterpPWD(struct Tcl_Interp *)" (?getInterpPWD@@YAPBDPAUTcl_Interp@@@Z)
25>domain.lib(TclSeriesCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>material.lib(TclModelBuilderSectionCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>material.lib(AxialCurve.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>reliability.lib(DP_RSM_Sim_TimeVariant.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>reliability.lib(RandomVibrationAnalysis.obj) : error LNK2019: unresolved external symbol __imp__Tcl_Eval referenced in function __catch$?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ$0
25>reliability.lib(GFunEachstepEvaluator.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>domain.lib(TclPatternCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>reliability.lib(TclEvaluator.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>reliability.lib(MonteCarloResponseAnalysis.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>reliability.lib(MultiDimVisPrincPlane.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>reliability.lib(DP_RSM_Sim.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>tcl.lib(commands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>optimization.lib(TclOptimizationBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>optimization.lib(DesignVariable.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>reliability.lib(TclReliabilityBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_Eval
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_EvalFile referenced in function _EvalFileWithParameters
25>optimization.lib(ConstraintFunction.obj) : error LNK2001: unresolved external symbol __imp__Tcl_EvalFile
25>optimization.lib(ObjectiveFunction.obj) : error LNK2001: unresolved external symbol __imp__Tcl_EvalFile
25>reliability.lib(MonteCarloResponseAnalysis.obj) : error LNK2001: unresolved external symbol __imp__Tcl_EvalFile
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_Exit referenced in function "int __cdecl OpenSeesExit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSeesExit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_Finalize referenced in function "int __cdecl exit(void *,struct Tcl_Interp *,int,char const * *)" (?exit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetSlave referenced in function "int __cdecl Tcl_InterpOpenSeesObjCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const * const)" (?Tcl_InterpOpenSeesObjCmd@@YAHPAXPAUTcl_Interp@@HQBQAUTcl_Obj@@@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetStringResult referenced in function "int __cdecl Tcl_InterpOpenSeesObjCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const * const)" (?Tcl_InterpOpenSeesObjCmd@@YAHPAXPAUTcl_Interp@@HQBQAUTcl_Obj@@@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_ObjGetVar2 referenced in function "int __cdecl OPS_SetObjCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const *)" (?OPS_SetObjCmd@@YAHPAXPAUTcl_Interp@@HPBQAUTcl_Obj@@@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_ObjSetVar2 referenced in function "int __cdecl OPS_SetObjCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const *)" (?OPS_SetObjCmd@@YAHPAXPAUTcl_Interp@@HPBQAUTcl_Obj@@@Z)
25>reliability.lib(TclReliabilityBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SetResult
25>domain.lib(TclParameterCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SetResult
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_SetResult referenced in function "int __cdecl accelCPU(void *,struct Tcl_Interp *,int,char const * *)" (?accelCPU@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
25>tcl.lib(myCommands.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SetResult
25>tcl.lib(TclUniaxialMaterialTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SetResult
25>tcl.lib(TclSectionTester.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SetResult
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_SetObjResult referenced in function "int __cdecl OPS_SetObjCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const *)" (?OPS_SetObjCmd@@YAHPAXPAUTcl_Interp@@HPBQAUTcl_Obj@@@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_SetVar referenced in function _EvalFileWithParameters
25>element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SplitList
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_SplitList referenced in function "int __cdecl TclCommand_doBlock2D(void *,struct Tcl_Interp *,int,char const * *)" (?TclCommand_doBlock2D@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
25>reliability.lib(TclReliabilityBuilder.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SplitList
25>domain.lib(TclSeriesCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SplitList
25>domain.lib(TclSeriesIntegratorCommand.obj) : error LNK2001: unresolved external symbol __imp__Tcl_SplitList
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_WrongNumArgs referenced in function "int __cdecl OPS_SetObjCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const *)" (?OPS_SetObjCmd@@YAHPAXPAUTcl_Interp@@HPBQAUTcl_Obj@@@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetString referenced in function "int __cdecl OPS_SetObjCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const *)" (?OPS_SetObjCmd@@YAHPAXPAUTcl_Interp@@HPBQAUTcl_Obj@@@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetCwd referenced in function "char const * __cdecl getInterpPWD(struct Tcl_Interp *)" (?getInterpPWD@@YAPBDPAUTcl_Interp@@@Z)
25>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_FSEvalFileEx referenced in function "int __cdecl OPS_SourceCmd(void *,struct Tcl_Interp *,int,struct Tcl_Obj * const *)" (?OPS_SourceCmd@@YAHPAXPAUTcl_Interp@@HPBQAUTcl_Obj@@@Z)
25>optimization.lib(TclOptimizationBuilder.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetVar referenced in function "int __cdecl TclOptimizationModelBuilder_addConstraintFunction(void *,struct Tcl_Interp *,int,char * *)" (?TclOptimizationModelBuilder_addConstraintFunction@@YAHPAXPAUTcl_Interp@@HPAPAD@Z)
25>optimization.lib(DesignVariable.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetVar
25>optimization.lib(ObjectiveFunction.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetVar
25>optimization.lib(TclOptimizationBuilder.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetVar2 referenced in function "int __cdecl TclOptimizationModelBuilder_addConstraintFunction(void *,struct Tcl_Interp *,int,char * *)" (?TclOptimizationModelBuilder_addConstraintFunction@@YAHPAXPAUTcl_Interp@@HPAPAD@Z)
25>optimization.lib(ConstraintFunction.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetVar2
25>optimization.lib(ObjectiveFunction.obj) : error LNK2001: unresolved external symbol __imp__Tcl_GetVar2
25>reliability.lib(TclEvaluator.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDoubleFromObj referenced in function "public: virtual double __thiscall TclEvaluator::getResponseVariable(char const *,int)" (?getResponseVariable@TclEvaluator@@UAENPBDH@Z)
25>reliability.lib(TclEvaluator.obj) : error LNK2019: unresolved external symbol __imp__Tcl_NewDoubleObj referenced in function "public: virtual int __thiscall TclEvaluator::setResponseVariable(char const *,int,int,double)" (?setResponseVariable@TclEvaluator@@UAEHPBDHHN@Z)
25>reliability.lib(TclEvaluator.obj) : error LNK2019: unresolved external symbol __imp__Tcl_ExprDouble referenced in function "public: virtual double __thiscall TclEvaluator::evaluateExpression(void)" (?evaluateExpression@TclEvaluator@@UAENXZ)
25>reliability.lib(RandomVibrationAnalysis.obj) : error LNK2001: unresolved external symbol __imp__Tcl_ExprDouble
25>reliability.lib(GFunEachstepEvaluator.obj) : error LNK2001: unresolved external symbol __imp__Tcl_ExprDouble
25>reliability.lib(TclEvaluator.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetVar2Ex referenced in function "public: virtual double __thiscall TclEvaluator::getResponseVariable(char const *,int)" (?getResponseVariable@TclEvaluator@@UAENPBDH@Z)
25>reliability.lib(TclEvaluator.obj) : error LNK2019: unresolved external symbol __imp__Tcl_SetVar2Ex referenced in function "public: virtual int __thiscall TclEvaluator::setResponseVariable(char const *,int,int,double)" (?setResponseVariable@TclEvaluator@@UAEHPBDHHN@Z)
25>element.lib(TclForceBeamColumnCommand.obj) : error LNK2019: unresolved external symbol __imp__Tcl_Merge referenced in function "int __cdecl TclModelBuilder_addForceBeamColumn(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilder_addForceBeamColumn@@YAHPAXPAUTcl_Interp@@HPAPBDPAVDomain@@PAVTclModelBuilder@@@Z)
25>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol __imp__Tcl_ResetResult referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
25>libm.lib(libm_error.obj) : error LNK2019: unresolved external symbol _errno referenced in function ___libm_error_support
25>LIBIFCORE.lib(for_nt_open_proc.obj) : error LNK2001: unresolved external symbol _errno
25>LIBIFCORE.lib(for_portlib.obj) : error LNK2001: unresolved external symbol _errno
25>LIBIFCORE.lib(for_init.obj) : error LNK2019: unresolved external symbol __pxcptinfoptrs referenced in function _GETEXCEPTIONPTRSQQ
25>.\..\..\bin/OpenSees.exe : fatal error LNK1120: 64 unresolved externals
brag006
Posts: 173
Joined: Wed Feb 15, 2012 1:26 pm
Location: University of Auckland

Re: Problem Building V. 2.4.1

Post by brag006 »

amadeus,

try building just the element project and post the error you get then, i might be able to help.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Problem Building V. 2.4.1

Post by fmk »

look at the error messages .. it's not finding the tcl library or linking with it correctly.
ArdalanNejat
Posts: 19
Joined: Sat Aug 03, 2013 3:56 am
Location: Shiraz University
Contact:

Re: Problem Building V. 2.4.1

Post by ArdalanNejat »

yangdawei
Posts: 7
Joined: Mon Apr 14, 2014 10:18 pm
Location: harbin institute of technology

Re: Problem Building V. 2.4.1

Post by yangdawei »

I got link problems as building project 'quickMain', 'openSeesTk' etc. Errors report as follow:

Error 4 error LNK2019: unresolved external symbol _errno referenced in function _for__open_proc ....\OpenSees\Win32\proj\quickMain\libifcore.lib(for_nt_open_proc.obj) quickMain

And I know there must be somewhere I should correct lib or dll path, but I'm not clear where should I go. Please help me. Thank you!
Last edited by yangdawei on Sun Apr 27, 2014 9:54 pm, edited 1 time in total.
yangdawei
Posts: 7
Joined: Mon Apr 14, 2014 10:18 pm
Location: harbin institute of technology

Re: Problem Building V. 2.4.1

Post by yangdawei »

alikmo wrote:
> Hi,
> I have a problem with building OpenSees Source code V 2.4.1.
> I used TortoiseSVN with this URL of repository to check out:
> svn://opensees.berkeley.edu/usr/local/svn/OpenSees
>
> OS: Windows 7
> tcl: 8.5.10.1.295062
> Microsoft Visual C ++ 2010 Express
>
> Error messages:
> 1. within PFEMMesher2D.h --> fatal error C1083: Cannot open include file:
> 'triangle.h': No such file or directory
> 2. within PFEMMesher3D.h --> fatal error C1083: Cannot open include file:
> 'tetgen.h': No such file or directory
>
> please advise me how I can fix this issue.
>
> Thanks,
> Ali


to Alikmo:

the error msgs you got arise from a writing mistake. You could simply follow these steps to solve this problem:

1. select project 'element' and press Alt+Enter to open dialog of 'element property pages'
2. follow this GUI path: Configuration Properties\ C/C++ \General, to open item 'Additional Include Directories'
3. Edit this item and you will find out '..\.\other\tetgen1.4.3' which you should add a point like this '..\..\other\tetgen1.4.3'. Also this action applied to '..\.\..\other\triangle' which is should be '..\..\..\other\triangle'
4. Press Ok button to save this correction.

Now the errors disappear when you Build this project.
yangdawei
Posts: 7
Joined: Mon Apr 14, 2014 10:18 pm
Location: harbin institute of technology

Re: Problem Building V. 2.4.1

Post by yangdawei »

yangdawei wrote:
> I got link problems as building project 'quickMain', 'openSeesTk' etc.
> Errors report as follow:
>
> Error 4 error LNK2019: unresolved external symbol _errno referenced in
> function _for__open_proc
> ....\OpenSees\Win32\proj\quickMain\libifcore.lib(for_nt_open_proc.obj) quickMain
>
> And I know there must be somewhere I should correct lib or dll path, but
> I'm not clear where should I go. Please help me. Thank you!


I had tried to add path '..\Win32\lib' and '..\Win32\lib\debug' to 'Library Driectories' for the libs needed to be built are all in there, but it does not work.
kolozvari
Posts: 1
Joined: Mon Feb 08, 2010 11:40 am
Location: University of Califorina Loa Angeles

Re: Problem Building V. 2.4.1

Post by kolozvari »

Hello,

I am trying to add uniaxial concrete material to OpenSees (ConcreteCM_01). When I try to build the project, I get the following error:

2>material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2019: unresolved external symbol "void * __cdecl OPS_NewConcreteCM_01(void)" (?OPS_NewConcreteCM_01@@YAPAXXZ) referenced in function "int __cdecl TclModelBuilderUniaxialMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *)" (?TclModelBuilderUniaxialMaterialCommand@@YAHPAXPAUTcl_Interp@@HPAPBDPAVDomain@@@Z)
2>.\..\..\bin/OpenSees.exe : fatal error LNK1120: 1 unresolved externals
1>material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2019: unresolved external symbol "void * __cdecl OPS_NewConcreteCM_01(void)" (?OPS_NewConcreteCM_01@@YAPAXXZ) referenced in function "int __cdecl TclModelBuilderUniaxialMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *)" (?TclModelBuilderUniaxialMaterialCommand@@YAHPAXPAUTcl_Interp@@HPAPBDPAVDomain@@@Z)
1>.\..\..\bin/openSeesTk.exe : fatal error LNK1120: 1 unresolved externals

It appears to be linking error, but I am not sure how to fix it. Please advise.

Thank you,

Kristijan
Kristijan Kolozvari
kolozvari@ucla.edu
Post Reply