New Material on MAC

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

Moderators: silvia, selimgunay, Moderators

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

New Material on MAC

Post by Gholamreza » Mon Jan 15, 2018 8:59 am

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.

Site Admin
Posts: 5866
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley

Re: New Material on MAC

Post by fmk » Thu Feb 22, 2018 2:40 pm

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