New Material on MAC

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

Moderators: silvia, selimgunay, Moderators

Post Reply
Gholamreza
Posts: 84
Joined: Tue Nov 07, 2017 7:47 am
Location: University of Central Florida

New Material on MAC

Post by Gholamreza »

Hello everyone,
I am trying to add new material in opensees using MAC(Not windows or Linux).
I was able to create .dylib and use the exampe1.tcl for ElasticPPcpp( everything works just fine). When I want to add my own code, I could create .dylib (my new material) successfully but when I use the .dylib (my new material) in my example it gives me the following Error: WARNING could not create uniaxialMaterial Inerter.
Can anyone help me with that ?

Thank you in advance.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: New Material on MAC

Post by fmk »

you messed up .. if the new mat type is name1 then the lib and OPS_ function inside the .cpp file must have the exact same spelling, e.g. OPS_name1 and name1.dylib

while mac is not case sensitive w.r.t. filename, the loader is .. as i say it must match exactly.
Post Reply