How to build MeshFix on Ubuntu Linux 64bit

Here I documented how I built MeshFix.

# xutils-dev for makedepend
sudo apt-get install build-essential cmake subversion libsuperlu3-dev
# go to your home directory (or use /usr/local/, then prepend every command with sudo)
cd ~
svn checkout http://meshfix.googlecode.com/svn/trunk/ meshfix-read-only
cd meshfix-read-only/contrib/
wget --no-check-certificate https://gforge.inria.fr/frs/download.php/27459/OpenNL3.2.zip
unzip OpenNL3.2.zip
rm OpenNL3.2.zip
cd OpenNL3.2.1/src
chmod +x make_single_file.sh
./make_single_file.sh
cd ../../../
cmake . && make
# make a symlink to have meshfix in your path
meshfix_path=`pwd`
cd /usr/local/bin/
sudo ln -s $meshfix_path/meshfix .
# execute with
meshfix

Using svn up && cmake . && make in the meshfix directory will update meshfix to the newest version from the subversion repository.

Convert read-only to writable working copy

mv meshfix{-read-only,}
cd meshfix
svn switch --relocate --username <your.google.username> \
 http://meshfix.googlecode.com/svn/trunk/ \
 https://meshfix.googlecode.com/svn/trunk/
svn up

Comments

 
 
how_to/build_meshfix_on_ubuntu_linux_64bit.txt ยท Last modified: 16.12.2010 15:04 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki