Adding new material on Win 7

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

Moderators: silvia, selimgunay, Moderators

Post Reply
hjxiang
Posts: 16
Joined: Sun Mar 29, 2009 5:29 am
Location: Beijing Jiaotong University

Adding new material on Win 7

Post by hjxiang »

Hi, everyone,

I download the source file from http://opensees.berkeley.edu/OpenSees/c ... per.tar.gz

and followed the 24 steps at http://opensees.berkeley.edu/wiki/index ... L_Creation

I have made the ElasticPPcpp.dll successfully.

However, when I run Opensees using the example example1.tcl, I got the following error message:

"WARNING could not create uniaxialmaterial ElasticPPcpp"

The system is Win 7+ Opensees 2.2.2 + VS C++2010 express

Thanks for any help.


H.J. Xiang
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Adding new material on Win 7

Post by fmk »

is the .dll in the same directory as the script.
hjxiang
Posts: 16
Joined: Sun Mar 29, 2009 5:29 am
Location: Beijing Jiaotong University

Re: Adding new material on Win 7

Post by hjxiang »

fmk wrote:
> is the .dll in the same directory as the script.

Thank you fmk.

I put the .dll in the same directory as the script.

I also try to put it in the folder "material".
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Adding new material on Win 7

Post by fmk »

when you run OpenSees what version number appears?
hjxiang
Posts: 16
Joined: Sun Mar 29, 2009 5:29 am
Location: Beijing Jiaotong University

Re: Adding new material on Win 7

Post by hjxiang »

fmk wrote:
> when you run OpenSees what version number appears?


It is 2.2.2. Thank you very much.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Adding new material on Win 7

Post by fmk »

can you download the .exe again .. i am currently at minor version 2.2.2.d .. if this fails, download the OpenSeesDeveloper code again and replace your current code in /core with that in the newly downloaded files.
hjxiang
Posts: 16
Joined: Sun Mar 29, 2009 5:29 am
Location: Beijing Jiaotong University

Re: Adding new material on Win 7

Post by hjxiang »

fmk wrote:
> can you download the .exe again .. i am currently at minor version 2.2.2.d
> .. if this fails, download the OpenSeesDeveloper code again and replace
> your current code in /core with that in the newly downloaded files.


Thank you Dr. fmk.

I built the dll in Win XP using VS 2005. It works well.

So I think it is due to the OS Win7. Anyway, thank you very much.
Post Reply