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)

  1. sudo apt-get install libglui2-dev (I think this is the name of the glui library package.)
  2. ./compile-linux.sh

Compiling for Mac OSX

(Instructions by Erich Kreutzer)

Install GLUI
  1. Download GLUI v2.2
  2. In the Makefile, change the compiler from cc to g++ by commenting out
    CC=CC -g0 -o32
     - and then uncomment -
    #CC=g++ -O3
  3. In the Makefile, change the necessary CPPFLAGS from
    CPPFLAGS=-I${GLUT_INC_LOCATION} #-w
     - to -
    CPPFLAGS=-I/usr/X11R6/include
  4. Change GLLIBS from
    GLLIBS=-L${GLUT_LIB_LOCATION} -lglut -lGL -lGLU
     - to -
    GLLIBS=-L/usr/X11R6/lib -framework GLUT -framework OpenGL
  5. Edit glui.h
    #include <GL/glut.h>
     - to -
    #include <GLUT/glut.h>
  6. Prepare for the library file by creating a lib directory within the glui_v2_2 folder
  7. 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.
  8. Copy lib/libglui.a into /usr/local/lib  This will require an administrator's password
  9. Copy glui.h into /usr/local/include Again this will require an administrator's password
Compile vismatrix
  1. 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
          
  2. Run the new compile-osx.sh