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.
New Material on MAC
Moderators: silvia, selimgunay, Moderators
-
- Posts: 84
- Joined: Tue Nov 07, 2017 7:47 am
- Location: University of Central Florida
Re: New Material on MAC
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.
while mac is not case sensitive w.r.t. filename, the loader is .. as i say it must match exactly.