Adding New Material

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
Sudan
Posts: 8
Joined: Wed Aug 10, 2016 9:14 am

Adding New Material

Post by Sudan »

Dear fmk,

I am trying to add new material in OpenSees platform. But there is some error in the build process. I tried to do the same as given in your presentation from OpenSeesDays 2012. But even the building of ElasticPPcpp has shown error.
The error shown is: Cannot open include file: 'bool.h': no such file or directory
Sudan
Posts: 8
Joined: Wed Aug 10, 2016 9:14 am

Re: Adding New Material

Post by Sudan »

Dear Sir,

Finally i am able to build it. During the process there was this error related to bool.h, i removed include of bool.h from the header file EigenSOE.h and it did work.
Also my pc is x64 bit version so i change the build platform to x64 and build again and it worked.
Is removing of bool_h from EigenSOE.h file is correct?
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Adding New Material

Post by fmk »

if it works for you then do not worry about it .. the compiler would complain in the compilation if there were problems .. different compilers and versions of compilers deal with bool.h differently ..
liuxing08
Posts: 14
Joined: Tue Sep 04, 2012 6:37 pm
Location: Tsinghua University

Re: Adding New Material

Post by liuxing08 »

Sudan wrote:
> Dear Sir,
>
> Finally i am able to build it. During the process there was this error
> related to bool.h, i removed include of bool.h from the header file
> EigenSOE.h and it did work.
> Also my pc is x64 bit version so i change the build platform to x64 and
> build again and it worked.
> Is removing of bool_h from EigenSOE.h file is correct?


Dear Sir,

You said you changed the build platform to x64, and that means changing the VS2010 to x64?
Sudan
Posts: 8
Joined: Wed Aug 10, 2016 9:14 am

Re: Adding New Material

Post by Sudan »

Yes, if your pc is x64bit version then you need to build in x64 platform in VS2010.
Post Reply