Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
application
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • piper
  • application
  • Wiki
  • external dependencies

Last edited by Tomas Janak Jul 20, 2017
Page history

external dependencies

CMake

Make sure you are using at least CMake version 3.1.2

QT

The entry point is http://www.qt.io - Install QT 5.6, neither higher nor lower, installation packages are found at http://download.qt.io/official_releases/qt

Boost

The entry point is http://www.boost.org - Install boost 1.54 of higher The required boost binary libraries are:

  • system, locale, filesystem, thread, datetime

Python

Install python 2.7 (and numpy for sofa)

Eigen

Compiled within the piper project

sqlite3

http://sqlite.org/ - version 3 is required

Mesquite

It is a package of the Trilinos project. Source are available at: https://trilinos.org/download/ CMake options :

  • Trilinos_ENABLE_Fortran OFF
  • Trilinos_ENABLE_Mesquite ON
  • BUILD_SHARED_LIBS ON

VTK (for devs)

Download source version 7.0.0 from http://www.vtk.org/download/

Change the following build flags (if you are using CMake GUI, you will have to re-configure after each one to have the next one available):

  • VTK_RENDERING_BACKEND is set to OpenGL2 (should be default in VTK 7.0.0)

  • VTK_Group_Qt change to "on"

  • VTK_QT_VERSION change to "5"

  • Qt5_DIR change to the path of your Qt (if you are on windows and using the precompiled package, the path is: C:/Lib/Qt/5.5/msvc2013_64/lib/cmake/Qt5)

  • Module_vtkGUISupportQtOpenGL change to "on"

Generate, Compile, Install (default install path on windows is c:\program files\VTK)

Sofa (for users)

  • sofa compiled libraries are made available on pydio
  • only 64bit version are provided for (linux and) windows Visual Studio 2013 64bits
  • dependencies required by sofa: libpng-dev, libglew-dev, freeglut3, freeglut3-dev

Sofa (for dev's)

The sofa provided by the piper repository is enough to compile and run the piper application. Follow these instructions if you plan to modify sofa itself.

General sofa documentation is available on the [https://www.sofa-framework.org/community/doc/introduction/ SOFA wiki]

  • follow compilation instructions from [https://www.sofa-framework.org/community/doc/introduction/ Building SOFA]

Get the source

  • main sofa: https://www.sofa-framework.org/download/
  • BranchingImage : https://gforge.inria.fr/projects/branchingimage/ main repository - plugin folder name must have correct capital letters ''BranchingImage''
  • Piper specific plugins sofa repository at https://gforge.inria.fr/scm/?group_id=5501

Configure the build (cmake-gui)

  • set CMake Qt5_DIR to /path/to/Qt/5.4/gcc_64/lib/cmake/Qt5/ (your mileage may vary)
  • set SOFA-EXTERNAL_BOOST_PATH to /path/to/include/boost
  • Tell sofa where the extra plugins are using the SOFA-EXTERNAL_PLUGIN_DIRS - not yet 100% working, put symbolic links to the plugin directories into /path/to/sofa/applications-dev/plugins
  • You need to '''deactivate''' the following components (qt5 build, no qt4)
    • LIB_GUI_QT
    • LIB_GUI_QTVIEWER
    • APPICATION_RUNSOFA
    • APPICATION_MODELER
  • You need to '''activate''' the following plugins
    • SofaPython
    • image
    • Compliant
    • Flexible
    • SofaQtQuickGUI
  • BranchingImage
  • ContactMapping
  • SofaPiper: once you have compiled and installed (make install) the piper application, you can activate the SofaPiper plugin and set the PREFIX_PIPER_INSTALL

OCTAVE

Download and install Octave from: https://www.gnu.org/software/octave/download.html

Clone repository
  • FAQ
  • compilation
  • environment_model
  • example 6: pre crash positioning with thums v4.02 (aeb50)
  • example 7: pre crash positioning with thums v4.02 (lane change)
  • external dependencies
  • Home
  • installation
  • parametric environment model
  • tutorials
  • tutorials
    • Creating custom affines for positioning
    • child_AccRec
    • example2
    • position_by_FE_simul