The instructions provided on the Sofa website are for Ubuntu 12.04. They mostly apply to Ubuntu 14.04 as well, except:
- You do not need cmake binaries from other repositories.
libopencascade-dev no longer exists, it has been replaced by many packages. I am not sure which ones are necessary, so, in doubt, I just installed them all:
- liboce-caf-dev
- liboce-modeling-dev
- liboce-visualization-dev
- liboce-foundation-dev
Before building, you might want to enable other features/plugins. From the build-release folder, run:
cmake-gui ..
and pick what you need. If you happen to be installing Sofa to use in conjunction with OpenAlea/VirtualPlants through the sofameca module (developed by the VirtualPlants team, not open source yet), pick these:- SOFA-LIB_GUI_QGLVIEWER
- SOFA-PLUGIN_FLEXIBLE
- SOFA-PLUGIN_IMAGE
- SOFA-PLUGIN_SOFAPYTHON
Banner photo by Scott Allen