Compilation problem with OPS 2.4.6 and element in 2.5.0

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

Moderators: silvia, selimgunay, Moderators

Post Reply
gst
Posts: 8
Joined: Thu Oct 23, 2014 6:48 am
Location: UNCuyo

Compilation problem with OPS 2.4.6 and element in 2.5.0

Post by gst »

Dear Community members,
I'm tryin to compile Opensees 2.4.6 and I have the following error in linker:
libifcoremt.lib(for_diags_intel.obj) : error LNK2019: unresolved external symbol _vsprintf referenced in function _for__get_msg
1>libirc.lib(irc_msg_support.obj) : error LNK2001: unresolved external symbol _vsprintf
1>libm.lib(libm_error.obj) : error LNK2019: unresolved external symbol __snprintf referenced in function _write_message
1>libirc.lib(tbk_display.obj) : error LNK2001: unresolved external symbol __snprintf
I have the official source code for that version.
Any suggestion?

Also, I have the version 2.5.0 downloaded from the oficial site and when I try to run a model with ForceBeamElement I have all the results zero (0.0), but
if I run the model with version 2.4.6 or 2.4.4 downloaded from the site the results are ok. It also has problems with transient analysis, it does not converge for version 2.5.0 but it goes well for version 2.4.4 and 2.4.6

Do you know how to solve the problem?
Thanks in advance
GST
BijanSeif
Posts: 2
Joined: Tue Jan 28, 2020 9:17 pm

Re: Compilation problem with OPS 2.4.6 and element in 2.5.0

Post by BijanSeif »

Hi dear GST

you you search on internet (I think you can find them) and find these files and copy them in \Win64\lib directory.

Then try to compile it.

Also strongly I recommend you to watch this video from Prof. Scott:
https://www.youtube.com/watch?v=BLcY1w7a5Ec

With Best,
Bijan
mostlypen
Posts: 7
Joined: Sun Jun 04, 2023 11:11 pm

Re: Compilation problem with OPS 2.4.6 and element in 2.5.0

Post by mostlypen »

I believe I've located the problem. While libOpenSees.a was the sole library for OpenSees in version 2.4.2, version 3.4.0 adds libOpenSeesclCommands.a, which I did not include in my C++ makefile. The code was then compiled after I added it.
However, I'm grateful. geometry dash world
PerryEmslie
Posts: 2
Joined: Thu Mar 02, 2023 4:16 am

Re: Compilation problem with OPS 2.4.6 and element in 2.5.0

Post by PerryEmslie »

mostlypen wrote: Wed Oct 04, 2023 7:20 pm I believe I've located the problem. While libOpenSees.a was the sole library for OpenSees in version 2.4.2, version 3.4.0 adds libOpenSeesclCommands.a, which I did not include in my C++ makefile. The code was then compiled after I added it.
However, I'm grateful. rice purity test
Thank you, mine is also working now!!
evawillms
Posts: 1
Joined: Mon Feb 26, 2024 9:32 pm

Re: Compilation problem with OPS 2.4.6 and element in 2.5.0

Post by evawillms »

BijanSeif wrote: Wed Jan 26, 2022 11:05 am Hi dear GST

you you search on internet (I think you can find them) and find these files and copy them in \Win64\lib directory.

Then try to compile it.

Also strongly I recommend you to watch this video from Prof. Scott:
https://www.youtube.com/watch?v=BLcY1w7a5Ec

With Best,
Bijan
The best! Run 3
Post Reply