SEARCH
TOOLBOX
LANGUAGES
LinuxIssues

LinuxIssues

From SOFAWiki

Jump to: navigation, search

Compilation issues on Linux

Compilation fails with g++-4.6 (Ubuntu 11.10)

  • Install g++-4.4 and its dependencies. You do not need to uninstall g++-4.6
  • Change the settings in sofa-local.prf (or sofa-local.cfg) to use g++-4.4:
# Change to use different version of the compiler
QMAKE_CC         = gcc-4.4
QMAKE_CXX        = g++-4.4
QMAKE_LINK       = g++-4.4
QMAKE_LINK_SHLIB = g++-4.4