Asymptote: Difference between revisions

From Micro and Nano Mechanics Group
Jump to navigation Jump to search
(Created page with 'Asymptote is the LaTeX for three dimensional graphics. It creates flat (bidimensional) and live three dimensional graphics that can be inserted in a LaTeX/PDF document. = Instal…')
 
Line 12: Line 12:
cd asymptote/
cd asymptote/


First you need these tools: autoheader (autoconf), zlib, fftw3, freeglut, bison
First you need these tools: autoheader (autoconf), zlib, fftw3 (optional), freeglut, bison, flex. They are installed in most systems
[ubuntu] sudo apt-get install autoconf libz-dev libfftw3-dev freeglut3-dev bison
[in ubuntu] sudo apt-get install autoconf libz-dev libfftw3-dev freeglut3-dev bison
and download
and download
wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz
wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz

Revision as of 22:43, 14 January 2011

Asymptote is the LaTeX for three dimensional graphics. It creates flat (bidimensional) and live three dimensional graphics that can be inserted in a LaTeX/PDF document.

Install

From SVN

Check out from SVN server:

mkdir ~/soft
cd ~/soft
svn co http://asymptote.svn.sourceforge.net/svnroot/asymptote/trunk/asymptote
cd asymptote/

First you need these tools: autoheader (autoconf), zlib, fftw3 (optional), freeglut, bison, flex. They are installed in most systems

[in ubuntu] sudo apt-get install autoconf libz-dev libfftw3-dev freeglut3-dev bison

and download

wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz

Then

./autogen.sh
./configure
make all 
make install

(3 minutes, 46 seconds with 'make all -j 4')