Error 32 error LNK2001: unresolved external symbol "int __cdecl TclModelBuilder_addLumpedDamageEle2D(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *,int)" (?TclModelBuilder_addLumpedDamageEle2D@@YAHPAXPAUTcl_Interp@@HPAPBDPAVDomain@@PAVTclModelBuilder@@H@Z) C:\Users\Han\Desktop\opensees source code\Win32\proj\openSeesTk\element.lib(TclElementCommands.obj) OpenSeesTk
Error 3 error LNK2026: module unsafe for SAFESEH image. C:\Users\Han\Desktop\opensees source code\Win32\proj\openSeesTk\fedeas.lib(Bond1.obj) OpenSeesTk
I tried to solve the LNK2026 one with instructions online (with/SAFESEH:NO), but it didn't work.
Could you please help me with that?
> is this your own element??
Dear Professor fmk,
Yes, it's a self-defined element.
I have solved these 2 questions. The 2026 one came from the version of visual studio, and the 2001 one is because of wrong commands in the linker. However, new questions came out. I am using getBasicTrialDisp to get displacement. However, because my stiffness matrix change in every getTangentStiff part, the displacement cannot satisfy with the boundary condition. So I want to use iteration to get the new displacement after every change of tangent stiffness matrix until convergence. Could you please tell me how to do that?