Compiling issues on Opensees 2.3.2

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

Moderators: silvia, selimgunay, Moderators

Post Reply
carlos
Posts: 23
Joined: Fri May 05, 2006 8:30 am
Location: Universidad Pais Vasco

Compiling issues on Opensees 2.3.2

Post by carlos »

Hi,

I have experienced some issues during downloading and compiling Opensees V2.3.2.

1. The link in the developers area os for the 2.3.0 version. At least this is the name of the zip file.
2. Then I have downloaded the 2.3.2 version frm SVN. It works OK.
3. Using Visual C++ express I tried to open the Opensees2010.sln but it says that projects . vcxproj are missing.
4. It is possible to open Opensees2005.sln and compile all projects without any problem, excepting Quicmain.
5. As it was reported in the forum, some errors related with _ops_getdoubleinput appeared.
6. Adding win32functions.cpp to the project and the related references to header files from ..\OpenSees\DEVELOPER\core the project compiles successfully.
7. Running the quickmain project an error appears during the execution. After some analysis it seems that the problem is caused due to an obsolete definition of the SP_Constraints in main.cpp. So modifying the following lines the project can be compiled and used OK
// create the single-point constraint objects using constructor:
// SP_Constraint(tag, nodeTag, dofID, value)
// and then add them to the domain

//NEW constructor
//SP_Constraint::SP_Constraint(int node, int ndof, double value, bool ISconstant)
/*
SP_Constraint *sp1 = new SP_Constraint(1, 1, 0, 0.0);
SP_Constraint *sp2 = new SP_Constraint(2, 1, 1, 0.0);
SP_Constraint *sp3 = new SP_Constraint(3, 2, 0, 0.0);
SP_Constraint *sp4 = new SP_Constraint(4, 2, 1, 0.0);
SP_Constraint *sp5 = new SP_Constraint(5, 3, 0, 0.0);
SP_Constraint *sp6 = new SP_Constraint(6, 3, 1, 0.0);
*/
SP_Constraint *sp1 = new SP_Constraint( 1, 0, 0.0,false);
SP_Constraint *sp2 = new SP_Constraint( 1, 1, 0.0,false);
SP_Constraint *sp3 = new SP_Constraint( 2, 0, 0.0,false);
SP_Constraint *sp4 = new SP_Constraint( 2, 1, 0.0,false);
SP_Constraint *sp5 = new SP_Constraint( 3, 0, 0.0,false);
SP_Constraint *sp6 = new SP_Constraint( 3, 1, 0.0,false);
Post Reply