package info (click to toggle)
opensurgsim 0.7.0-8
• area: main
• in suites: buster
• size: 23,744 kB
• sloc: cpp: 135,363; ansic: 4,206; python: 3,934; makefile: 38
 file content (154 lines) | stat: -rw-r--r-- 5,201 bytes parent folder | download | duplicates (3)
 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 Welcome to the OpenSurgSim Project OpenSurgSim is an open-source project dedicated to real-time surgical simulation. It offers an open framework that includes the necessary building blocks for surgical simulations, such as native device support, haptic feedback, graphics, discrete collision detection and physics simulation. OpenSurgSim is flexible. Developers can refactor the physics engine, swap models, ODE solvers, or linear system solvers. For current information and documentation about the project, please visit our website: http://www.opensurgsim.org/ Support can also be found on our public mailing list at opensurgsim@simquest.com. An archive of the mailing list is at: http://groups.google.com/a/simquest.com/group/opensurgsim/ To help get started using OpenSurgSim, use the following quick start guide: 1. Getting OpenSurgSim 2. Compiling on GNU/Linux 3. Compiling on Microsoft Windows Appendix: Dependencies 1. Getting OpenSurgSim ====================== OpenSurgSim uses Git for source control, and this is the easiest way to obtain the most up to date version. Resources for installing and using Git can be found on Git's website (See Appendix). To obtain OpenSurgSim, run the following command: git clone git://git.assembla.com/OpenSurgSim.git This will download the source code for OpenSurgSim and place it in the OpenSurgSim directory. 2. Compiling on GNU/Linux ========================= OpenSurgSim has been tested extensively on Debian Unstable (Sid). If you are using another GNU/Linux distribution, please check your package management system for the dependencies (see Appendix). For Debian/Ubuntu based systems, the dependencies are easily installed through apt-get: sudo apt-get install libboost-all-dev cmake doxygen libeigen3-dev sudo apt-get install google-mock libjs-mathjax libopenscenegraph-dev sudo apt-get install libyaml-cpp-dev To build OpenSurgSim, issue the following commands from the same directory used to obtain OpenSurgSim (see Section 1) mkdir OpenSurgSim/Build cd OpenSurgSim/Build cmake ../ make That's it! 3. Compiling on Microsoft Windows ================================= OpenSurgSim has been developed and tested on Microsoft Windows 7, however, other versions of Windows are likely to work. At least Microsoft Visual Studio 2012 is required to build OpenSurgSim. First obtain the source code (Section 1), and install the required dependencies (Appendix). In addition, the following environment variables will help CMake automatically find the dependencies, especially if they are not installed to the default locations. BOOST_ROOT EIGEN_DIR OSG_ROOT Also, add %OSG_ROOT%/bin to your PATH environment variable. Generating the Visual Studio solution file is done with the CMake graphical user interface. Open CMake, and enter the OpenSurgSim folder (from Section 1) into the "Where is the source code" field. Then enter a new directory into the "Where to build the binaries" field. This folder is referred to as BUILD folder for the purpose of the following steps. Next, click on the 'Configure' button. This will allow you to select the compiler (Visual Studio 11 for Visual Studio 2012). If CMake reports “library not found”, it is likely that your system variables BOOST_ROOT, EIGEN_DIR or OSG_ROOT are incorrect. Once the configuration is complete without error, click on the 'Generate' button. Finally, go to the BUILD folder, open the OpenSurgSim solution file, and build the ALL_BUILD project. Appendix: Dependencies ====================== To compile OpenSurgSim, you will need the following dependencies. Many GNU/Linux distributions already provide this software in their software repositories. If not, or using Microsoft Windows, please refer to the installation instructions found on each dependency's homepage. When we know of reliable pre-built Windows packages we will refer to them. Required Dependencies --------------------- **Boost**
Homepage: http://www.boost.org/
Modules: chrono, date_time, filesystem, program_options, system, thread
Minimum Version: 1.54
Windows Binaries: http://sourceforge.net/projects/boost/files/boost-binaries/ **CMake**
Homepage: http://www.cmake.org/
Minimum Version: 2.8 **Eigen**
Homepage: http://eigen.tuxfamily.org/
Minimum Version: 3.2.1 (GNU/Linux)
Minimum Version: 3.2.3 (Windows) **Git**
Homepage: http://www.git-scm.com/
Minimum Version: 1.7.9 **OpenSceneGraph**
Homepage: http://www.openscenegraph.org/
Modules: osg, osgViewer, osgText, osgUtil, osgDB, osgGA, osgAnimation
Minimum Version: 3.2.0 **yaml-cpp**
Homepage: https://github.com/jbeder/yaml-cpp
Minimum Version: 0.5.2 Optional Dependencies --------------------- **Doxygen**
Homepage: http://doxygen.org/
Minimum Version: 1.8 **FreeGlut**
Homepage: http://freeglut.sourceforge.net/
Minimum Version: 2.4