This is a guide to install libfive. libfive is a very unfinished program that allows you to model volumes. In other words, you can give libfive a functional representation of a solid, and libfive will figure everything else out, and render the resulting mesh. Pretty cool.
Conventions used by this document: #
indicates a command run by root, and $
indicates user.
- Get tools and compiler
- Compile Guile 2.2
- Compile libfive
# apt-get install git build-essential
# apt-get install libgmp-dev libiconv-hook-dev libltdl-dev libunistring-dev libgc-dev libffi-dev libreadline-dev gettext pkg-config texinfo autoconf flex
$ git clone https://git.savannah.gnu.org/git/guile.git
$ cd guile
$ git checkout v2.2.2
$ ./autogen.sh
$ ./configure
This next step takes about two hours. Go get some coffee.
$ make
Finally, install it!
# make install
# apt-get install libeigen3-dev libpng-dev qt5-default
$ cd ~
$ git clone https://github.com/mkeeter/libfive
$ cd libfive
$ mkdir build
$ cd build
$ cmake -DCMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/qt5/ ..
$ make
This will run tests:
$ ./libfive/build/libfive/test/libfive-test
This will run Studio:
$ ./libfive/build/studio/Studio
Problems with this document? Email me at my github username plus "gmail dot com."
Problems with libfive? File an issue at mkeeter/libfive.