how i can run example from vs

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

Moderators: silvia, selimgunay, Moderators

Post Reply
mostafa_fahim2000
Posts: 3
Joined: Mon Jun 04, 2007 3:09 am
Location: Egypt

how i can run example from vs

Post by mostafa_fahim2000 »

hi
i download the source code and tcl program. And by building the solution in visual studio 2005 it give me

Build: 0 succeeded, 0 failed, 25 up-to-date, 0 skipped

Now
i want run some example but i do not know how i tell the code about the path and the name of the example that must solve to watch step by step how the code deal with the problem.

thanks

Mostafa
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

the .exe are in the OpenSees/Win32/bin directory. as to the path, you either start the .exe where it is and cd to the scripts directory, copy the .exe to the scripts directory, or if you are a real windows user set up your PATH variable so you can run opensees from the cmd prompt by just typing opensees and not haveing to cs to where the exe lie.
mostafa_fahim2000
Posts: 3
Joined: Mon Jun 04, 2007 3:09 am
Location: Egypt

Post by mostafa_fahim2000 »

thanks fmk for reply ..

but i want to run the program through visual studio not from exe file . i want to wach the program in step by step mode "debug mode"

the main idea is trying to make the program run with finite element anysis tell reach some point failure point and begin to run with applied element anaylsis method tell reach the failure and collapse..

so i do need to add some objects that translate from FEM to AEM

that is all i want to try...

thanks in advance fmk and waiting your reply
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

the .exe are in the directory OpenSees/Win32/bin .. you use them like it is explained in the manual.
Faisal
Posts: 9
Joined: Fri Nov 23, 2007 9:27 am
Location: University of Engineering & Technology Peshawar Pakistan
Contact:

use set startup project

Post by Faisal »

right click on opensees project in solution explorer and then set as startup project.

press f5 and opensees.exe from bin\.. will start
Engr. Faisal-ur-Rehman [FR]

Assistant Professor
Department of Civil Engineering
University of Engineering & Technology Peshawar Pakistan
Peshawar, Pakistan


email: faisal@uetpeshawar.edu.pk
fslurrehman@hotmail.com
Post Reply