vismatrix2
vismatrix2 is a complete reimplementation. At the moment, it is a beta release as I haven't had time to fully test all the features yet.
Download
Download the source-code and supporting libraries: vismatrix2-beta2.zip
Compiling for Ubuntu before 9.04
(Instructions by David Gleich, from memory)
- sudo apt-get install libglui2-dev (I think this is the name of the glui library package.)
- ./compile-linux.sh
Compiling for Mac OSX
(Instructions by Erich Kreutzer)
Install GLUI
- Download GLUI v2.2
- In the Makefile, change the compiler from cc to g++ by commenting out
CC=CC -g0 -o32
- and then uncomment -
#CC=g++ -O3 - In the Makefile, change the necessary CPPFLAGS from
CPPFLAGS=-I${GLUT_INC_LOCATION} #-w
- to -
CPPFLAGS=-I/usr/X11R6/include - Change GLLIBS from
GLLIBS=-L${GLUT_LIB_LOCATION} -lglut -lGL -lGLU
- to -
GLLIBS=-L/usr/X11R6/lib -framework GLUT -framework OpenGL - Edit glui.h
#include <GL/glut.h>
- to -
#include <GLUT/glut.h> - Prepare for the library file by creating a lib directory within the glui_v2_2 folder
- Run make. Note this will fail with an error, but the error comes from compiling one of the examples not the library itself. Warning: Because of this the .o files never get removed.
- Copy lib/libglui.a into /usr/local/lib This will require an administrator's password
- Copy glui.h into /usr/local/include Again this will require an administrator's password
Compile vismatrix
- Change the compile-osx.sh file to the following:
#!/bin/sh BOOST_DIR=../boost_1_33_0/ TCLAP_DIR=../tclap-1.0.5/include YASMIC_DIR=../yasmic CPP_UTIL_DIR=../c++-util g++ -O3 -I${BOOST_DIR} -I${TCLAP_DIR} -I${YASMIC_DIR} -I${CPP_UTIL_DIR} -Isrc src/*.cc -o vismatrix \ -framework OpenGL -framework GLUT -lglui -lz -lSystemStubs - Run the new compile-osx.sh