Compiling Tetgen-plugin for ElmerGUI

From Elmer Wiki
Jump to: navigation, search

Prerequisites

  • Valid license for Tetgen
  • Qt4 installed and functional
  • Environment variable ELMER_HOME must be defined
  • ELMER_HOME/lib must be in LD_LIBRARY_PATH (Unix/Linux) or in PATH (Windows)

Platform independent compilation

Update your source code by typing "svn update" within elmerfem/trunk.

Go to the directory elmerfem/trunk/misc/tetgen_plugin.

Compile and install the plugin as (on Windows, use nmake instead of make):

qmake
make
make install

The plugin (libtetplugin.so or tetplugin.dll) is installed in ELMER_HOME/lib.

See tetgen_plugin/README for more details.