I managed to get the PLC meshing program SVR (an alternative to tetgen). It was a little difficult to get compiled on Mac OS X so here are my notes.
The first weird thing is that the make configuration for SVR tries to download and compile the boost libraries. To get rid of this and just use boost as installed from macports I commented out the following line in boost/Makefile.in
from:
all: stamp-boost
to
all:
Then I ran:
./configure --prefix=/usr/local/svr CPPFLAGS='-Wno-deprecated -fno-strict-aliasing'
Before making there are a few files that need to be altered. In utilities/details/hash.h
add the following include:
#include <boost/cstdint.hpp>
In feature-refine/GenericMesh.h
, feature-refine/RefineVertex.h
, and utilities/FastHash.h
remove the following
: public boost::noncopyable
In feature-refine/SVR.cpp
, front-end/SVR.cpp
, and point-refine/svr.cpp
add the following after the definition of valgrind_hack
:
((void)valgrind_hack);