Errors when compiling in VS 2012

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

Moderators: silvia, selimgunay, Moderators

Post Reply
brag006
Posts: 173
Joined: Wed Feb 15, 2012 1:26 pm
Location: University of Auckland

Errors when compiling in VS 2012

Post by brag006 »

Hi,

A few small errors I faced when compiling opensees in VS2012 and here's how I solved them:

1. tetgen.h and triangle.h
For some reason the linker can't find these files. You can find them in the 'OTHER' directory. Just copy all the associated files and paste them into the PFEM Element. The PFEMMesher2D and PFEMMesher3D requires both these files.

2. SAFESEH error
For the opensees, openseesTk and quickMain projects you need to change this property to NO. For each of these projects go to Property Pages > Configuration Properties > Linker > Advanced and then look for 'Image Has Safe Exception Handlers' and change that to NO.

3. unresolved external symbol
The BWBN material source files have not been added to the material project. Just add an 'Existing Item' to the material project and browse through to the source files (SRC > material > uniaxial ). Add both the .cpp and .h files.

Hope that is of help.
Post Reply