Updating to latest version

This page describes how to update the MeshGenC++ code to the latest version. The updating process will only work if you already have MeshGenC++ properly installed (see installation page). If you encounter any difficulties in the update process, please send e-mail to the discussion group.

Updating via Git

Move into the main MeshGenC++ directory:


Pull the latest revisions from the MeshGenC++ git repository:

$ git pull

Safely recompiling code

If the update has significant changes, especially those that affect the library files, the best course of action is to recompile the entire MeshGenC++ code. Do this by first moving into the desired application directory, e.g.:

$ cd $MESHGENCPP/apps/2d/star

Then do a full removal of all obect files through the following command:

$ make cleanallo

Finally, recompile the code:

$ make